[Sidefx-houdini-list] Grabbing velocity from dops

Rangi Sutton rangi at kanuka.com.au
Fri Jun 29 01:01:47 EDT 2007

Louis Dunlevy wrote:
> the dopfield expressions should do it for you although obviously 
> you're only going to get the velocity of each individual piece rather 
> than a varying attribute over the surface. I've been lazily putting a 
> trail SOP down..
> dopfield("../dopnet1", "myRbdObj_$CUSTOMID", "Position", "Options", 0, 
> "vx")
> or maybe
> dopfield("../dopnet1", "myRbdObj_$CUSTOMID", "Position", "Options", 0, 
> "velx")
> or if you want to reference some custom data..
> dopfield("../dopnet1", "myRbdObj_$FUNNYID", "BirthData", "Options", 0, 
> "BirthFrame")
> I have noticed that DOPs transforms vector3 attributes so you could 
> try to pass v in and then suck it out and see what it looks like
> something along the lines of (although this is definitely wrong)
> dopfield("../dopnet1", "myRbdObj_$FUNNYID", "Geometry", "Options", 0, 
> "vx") +

All good to know!

> Can you use the Dop Transform SOP in you're setup? That gives you 
> velocity.

That's the head slap I was looking for!

> beeeeeeeeer, or mybe milk.. hmm I'm not too gone on milk

Bailies? Nah. Beers.


More information about the Sidefx-houdini-list mailing list