Hi All,
Beginner here. I have a scene here with an infinite ocean set up and I want to add foam. I want it to emit along the camera movement, so I set region type to camera. However, it seems like the foam would not generate if the camera is too close or at too low of an angle. I've messed around with Z clipping but doesn't seem to have any effects. Does anyone have any idea?
Ocean Foam
3140 2 0-
- untitledswitch
- Member
- 2 posts
- Joined: Oct. 2018
- Offline
-
- untitledswitch
- Member
- 2 posts
- Joined: Oct. 2018
- Offline
For anyone that's having similar issues, Andrea from ODforce has replied with a solution:
Original reply: https://forums.odforce.net/topic/43110-ocean-foam-camera-emit-h175/?tab=comments#comment-204341 [forums.odforce.net]
“The issue is inside the oceanfoam node. In particular how is calculating the density of the foam. In a wrangle (calc_camera_density) is calculated an attribute called @density. If this attribute is zero, also the foam generated in the following nodes will be zero.
So why the density is zero? Without bothering you will all the mathematical operations… everything is because when you have your camera really low in ocean there are some ”degenerated“ polygons generated internally that have an area of 0.
To fix this, just put a clean node inside the ocean foam tool, after ”clip at near“. See the hip file I have attached.”
Original reply: https://forums.odforce.net/topic/43110-ocean-foam-camera-emit-h175/?tab=comments#comment-204341 [forums.odforce.net]
“The issue is inside the oceanfoam node. In particular how is calculating the density of the foam. In a wrangle (calc_camera_density) is calculated an attribute called @density. If this attribute is zero, also the foam generated in the following nodes will be zero.
So why the density is zero? Without bothering you will all the mathematical operations… everything is because when you have your camera really low in ocean there are some ”degenerated“ polygons generated internally that have an area of 0.
To fix this, just put a clean node inside the ocean foam tool, after ”clip at near“. See the hip file I have attached.”
Edited by untitledswitch - Aug. 2, 2019 16:26:35
-
- Ceonsamea
- Member
- 4 posts
- Joined: Feb. 2016
- Offline
-
- Quick Links
