Jump to content

Fade Color Over The Time In Vops


kubabuk

Recommended Posts

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.

Link to comment
Share on other sites

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 :D

Looking forward for more sophisticated solutions...

dzieki

thanks everyone

kuba

przyklad.hip

Link to comment
Share on other sites

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 by SYmek
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...