No More Retake

3DCG屋さん向けTips&Referenceサイト

メニュー

Houdiniレシピ:Fog Ray 解B

Houdini回。
前回に引き続き、Fog Rayを作る方法、別解!

普通にVolume使ってもFog Ray作れるのでは、と思ってやってみた。

FogRay_v005

アルファめちゃ薄いけど、っぽいものは出来たかなと。

以下、手順をStep by Stepで。

1:スポットライトを作成する。

Fog Rayの光源ですね。
基本、この光に照らされた範囲がFog Rayになります。

FogRay_v002a

2:Volume(SOP)でFogを作成する

FogRayを作りたい領域にFogを作成する。
ここでは、安直にVolume(SOP)を使った。

FogRay_v011

普通にBox型でも良いですが、ライトの範囲にVolumeを作成すると、ボクセルに無駄がなくて良い気がします。
Dimensionsの”From Camera”のところでカメラの代わりにライトを指定すると、ライトの照らす範囲にVolumeを作ることができます。

FogRay_v012

あと、Nameをdensityにして、initial Valueを小さな値にしておきます(ここでは0.01にしました)
Volumeのdensityを下げないと濃すぎたので・・・。

3:ライトのIntensityをがっつり上げます

Volumeのdensityを小さな値にしたため、ライトのIntensityを上げないとほとんど見えないので・・・。

FogRay_v013

4:レンダリング

FogRay_v014

ジオメトリで光源を遮ってあげると、筋もできる。

 

要は、ライトの照らす範囲にVolume置いたと、そういうことじゃ!

以上!

サンプルファイル FogRayB_sample.hiplc

関連記事

コメントをお待ちしております

このサイトについて

3DCG Tipsサイト。Houdiniの記事が多めです。

RSS

follow us in feedly

Archives

  • 2024 (1)
  • 2023 (2)
  • 2022 (9)
  • 2021 (14)
  • 2020 (46)
  • 2019 (17)
  • 2018 (33)
  • 2017 (29)
  • 2016 (36)
  • 2015 (64)
  • 2014 (54)
  • 2013 (60)
  • 2012 (55)

スポンサードリンク

言語切り替え

  • English (United States)
  • 日本語

スポンサードリンク

言語切り替え

  • English (United States)
  • 日本語

Houdiniを使えるようになる本


Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(): Failed to enable crypto in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(http://api.facebook.com/restserver.php?method=links.getStats&urls=http%3A%2F%2Fnomoreretake.net%2F2016%2F05%2F19%2Fhoudini_fog-ray_b%2F): failed to open stream: operation failed in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(): Failed to enable crypto in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132

Warning: file_get_contents(http://api.b.st-hatena.com/entry.count?url=http%3A%2F%2Fnomoreretake.net%2F2016%2F05%2F19%2Fhoudini_fog-ray_b%2F): failed to open stream: operation failed in /usr/home/nomorere/nomoreretake.net/wordpress/wp-content/themes/n1-custom/functions/social.php on line 132