TomRaynor Posted July 18, 2014 Share Posted July 18, 2014 I have two cases. One: A grid being rendered with displacement (an attribute on the geo defining how much the grid is displaced from the centre outwards) Two: The points from the grid only. Trying to displace these in exactly the same way. The damn things won't be displaced at render time. Anyone have any idea why "case1" works and "case2" doesn't? Cheers, Tom displaceOddness_v01.hip Quote Link to comment Share on other sites More sharing options...
rayman Posted July 18, 2014 Share Posted July 18, 2014 Thats interesting! Probably mantra does not run displacement part of the shader on points as you can actually manipulate them before that. I just did some tests and I wasn`t able to move points at render time at all. Quote Link to comment Share on other sites More sharing options...
pezetko Posted July 18, 2014 Share Posted July 18, 2014 http://forums.odforce.net/topic/20432-displace-foam-on-ocean/?p=122216 Quote Link to comment Share on other sites More sharing options...
TomRaynor Posted July 20, 2014 Author Share Posted July 20, 2014 Cheers for that Petr, very useful! The help card for the point replicate proc says that you have access to the global variables "P", "id" and "pid". It also says: "You can use additional attributes of the points being instanced on. The available attributes are controlled by the Attributes To Copy parameter." I understand this to mean that I can bring ANY attributes on the points into CVEX and use them to do stuff - this part works fine. I am curious if I am able to set other attributes on points in the CVEX shader such as colour? Can I modify the colour in the CVEX shader and have my material pick up that modified colour? I have tried and so far no luck... Thanks again. Quote Link to comment Share on other sites More sharing options...
pezetko Posted July 20, 2014 Share Posted July 20, 2014 You are welcome.You can, just add color attribute to the original source points and then add it also to the Attributes To Copy parameter. Then you can change color inside cvex shader.I added quick example. pz_rendertime_pointprocedural.hipnc Quote Link to comment Share on other sites More sharing options...
TomRaynor Posted July 20, 2014 Author Share Posted July 20, 2014 That's great, Thanks. 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.