I need point cloud file for sss shader,but sss scatter sop only generater point cloud in the surface.
How to get accurate point cloud when it shadered with displacement shader.
Thanks for help!
East
Generate piont cloud
3296 2 0- SandFX
- Member
- 11 posts
- Joined: March 2009
- Offline
- mattis
- Member
- 17 posts
- Joined: Oct. 2009
- Offline
I think I read somewhere that it is not possible and that you should displace at SOP level before calculating point cloud.
Portfolio / Tech. blog: http://www.theprocedure.se [theprocedure.se]
- wolfwood
- Member
- 4271 posts
- Joined: July 2005
- Offline
I think I read somewhere that it is not possible and that you should displace at SOP level before calculating point cloud.
That used to be true, but now that VEX has the ability to write point clouds while running shaders you can do a two pass approach. First pass, generate the point cloud file, then second pass render with it.
http://www.sidefx.com/docs/houdini10.0/vex/functions/pcwrite [sidefx.com]
Basically it saves our the points from the micropolygons. These point clouds tend to be very accurate as they are created after the displacement shader.
if(coffees<2,round(float),float)
-
- Quick Links