kubabuk Posted December 10, 2007 Share Posted December 10, 2007 Hi there, I am looking for any way to fade colour (from white to black) off each point, over the time. Can it be done in VOPs? Can I control each point independently. Really appreciate any help. Thanks kuba Quote Link to comment Share on other sites More sharing options...
symek Posted December 10, 2007 Share Posted December 10, 2007 Hey Kuba, VOPs as VEX is time independent, it's evaluates in discreet time step so it's not so easy to do it. You could use point cloud texture to store state in time for points but I think this is too much effort for such a task. Wouldn't be easier to manage all parameters (fade off values per point) in SOP and pass them to VOPs as a single expression? If you're talking about point on surface (not geometry's points) you can use again point clouds for storing appropriate sample's values for surface and then pass it to shader. Which Vex context in particular you'r interested in? write some more, maybe I don't understand you correctly but in case of fading off per geometry points this is rather simply task in SOPs. Write some more! czesc, sy. Quote Link to comment Share on other sites More sharing options...
kubabuk Posted December 11, 2007 Author Share Posted December 11, 2007 Czolem SYmek, Thanks for that, I was interested mainly in shading section in vex. The idea was that the colour of the surface will be sourced in vops to drive dynamically a mask of the materilal, nothing fancy. Have a look at the example, the colour of the surface is based on vertical velocity. This unfortunately creates very harsh transitions and a preview sequence gives a nasty flickering. I was looking for some sort of gradual fading (length specified in frames would be best) which gives smoother transition to black. Smooth sop in this case didn't work because it gets rid of details and the transition is to quick and not very convincing. So the solution I am using at the moment is a sequence of timeshift sops connected to blendshape sop. It is not very elegant way but at least works for me Looking forward for more sophisticated solutions... dzieki thanks everyone kuba przyklad.hip Quote Link to comment Share on other sites More sharing options...
symek Posted December 11, 2007 Share Posted December 11, 2007 (edited) hey kuba, as a fast note, you should look in Houdini beta 9.1 new python cookbook for a example on colour falloff in points cheers, sy. EDIT: I send you three other ways. 1. I think CHOPS are promising as they are very fast. I've just touched it with gauss but you can extend this processing . 2. Point clouds in COPS needs fix, because now pixel XY doesn't correspond to point "P" properly. Just can't find Position in BBox VOP... 3. and Attribute Transfer as a simplest way to smooth attributes przyklad.hipnc Edited December 11, 2007 by SYmek Quote Link to comment Share on other sites More sharing options...
kubabuk Posted December 11, 2007 Author Share Posted December 11, 2007 Dzieki I love the CHOPs method! ... it smooths even better preserving details at the same time! very nice 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.