Lex-DRL Posted October 2, 2013 Share Posted October 2, 2013 (edited) I'm trying to set up point-cloud occlusion. Therefore, I need to turn the culling off. As always, I have added corresponding attributes to the geo node: "Cull Shading Of Occluded Surfaces" (ri_cullshadehidden), "Cull Shading Of Backface Surfaces" (ri_cullshadebackface) and set them to off. But when I render and generate point cloud, these surfaces are obviously culled: In the generated rib file, there are the following lines: Attribute "cull" "bool backfacing" [0]Attribute "cull" "bool hidden" [0]Attribute "dice" "int rasterorient" [0][/CODE]For some reason, Houdini outputs these 2 attribs as "bool" type, while they must be of "int" type.If I manually edit the file replacing "bool" with "int" and render it, point cloud is created as expected (with backfacing surfaces present).How do I fix it inside Houdini? Maybe, I've got some setting missing?Houdini 12.5.469prman 15.1 Edited October 2, 2013 by Lex-DRL Quote Link to comment Share on other sites More sharing options...
Lex-DRL Posted October 2, 2013 Author Share Posted October 2, 2013 Looks like it's bug in Houdini. I've exported ribs with the same attributes from 3Delight in Maya, and there were "int". So I fixed it by editing RIBprman15.0.py located at houdini/soho/python2.6/. I've replaced there all appearances of "bool" to "int". Now it works. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.