Hi
I've a shot where I'm doing a flip sim for a tire splashing through a puddle. It goes from real time to real time * 0.05.
I noticed that it's not possible to animate the Scale Time parameter on the DOP network node. But the time scale on the flip solver is. So that what I did, it seems to work over all but when the sim hits the slow motion part and runs for another 20 frames or so some strange stuff starts to appear.
Mostly something to do with velocity I think.
I've found Atom's OdForce post on the topic and his vimeo video how he solved a couple of problems he run into.
https://vimeo.com/121376943 [vimeo.com]
I tried his way (some stuff has changed in the flip solver since version 13). It seed to get rid of some of the weird velocity stuff that was building up over time, but eventually I still get some weird poping in some areas. It's like there is a couple of points building up there velocity and turning white over time until they suddenly pop away.
It feels a bit weird diving in to the flip solver and changing stuff that I'm not sure about like that.
I'm rambling on, is there a better way to do this? (without retimeing after the sim)
Thanks a bunch!
/ John
Found 21 posts.
Search results Show results as topic list.
Technical Discussion » Flip sim with animated time scale on the flip solver
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Hi guys!
I got stuck again, with a similar problem, this time trying to get a value for a sop point attribute at a given frame.
Channels
channel = hou.node('../fileChop/OUT_AMPLITUDE')
value = nTrack.tracks().evalAtFrame(hou.frame())
Parameters
parm = node.parm(“tgl”)
value = parm.evalAsIntAtFrame(hou.frame() - 1)
Attributes
attr = geo.pointAttribs()
attr.evalAtFrame????????something maybe?
Is it possible to find out the value of a point attribute at a given frame? Cant find the correct syntax for it anyways, my solution was, hou.setFrame(myFrame) -> Evaluate attribute…
But I wasn't to happy with that solution.
well thanks again
I got stuck again, with a similar problem, this time trying to get a value for a sop point attribute at a given frame.
Channels
channel = hou.node('../fileChop/OUT_AMPLITUDE')
value = nTrack.tracks().evalAtFrame(hou.frame())
Parameters
parm = node.parm(“tgl”)
value = parm.evalAsIntAtFrame(hou.frame() - 1)
Attributes
attr = geo.pointAttribs()
attr.evalAtFrame????????something maybe?
Is it possible to find out the value of a point attribute at a given frame? Cant find the correct syntax for it anyways, my solution was, hou.setFrame(myFrame) -> Evaluate attribute…
But I wasn't to happy with that solution.
well thanks again
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Evaluating stuff at given frames
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Evaluating stuff at given frames
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Evaluating stuff at given frames
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Hi! Thanks for you reply!
For some reason I can't figure this out
Is the chopnode in your example the same as
>>> chopnode = hou.node('/obj/music/OUT_AMPLITUDE')
because when I run the code in the python shell for testing purposes
I get this error
>>> chopnode = hou.node('/obj/music/OUT_AMPLITUDE')
>>> chopnode.tracks().evaluateAtFrame(100)
Traceback (most recent call last):
File “<console>”, line 1, in <module>
AttributeError: ‘Track’ object has no attribute ‘evaluateAtFrame’
>>>
I've attached my hip file with my python sop in it, but if I could get the code working in the python shell i think I could take it from there.
For some reason I can't figure this out
Is the chopnode in your example the same as
>>> chopnode = hou.node('/obj/music/OUT_AMPLITUDE')
because when I run the code in the python shell for testing purposes
I get this error
>>> chopnode = hou.node('/obj/music/OUT_AMPLITUDE')
>>> chopnode.tracks().evaluateAtFrame(100)
Traceback (most recent call last):
File “<console>”, line 1, in <module>
AttributeError: ‘Track’ object has no attribute ‘evaluateAtFrame’
>>>
I've attached my hip file with my python sop in it, but if I could get the code working in the python shell i think I could take it from there.
Houdini Indie and Apprentice » Python SOP get channel data CHOP
- johnsvensson
- 21 posts
- Offline
Hi all!
Im completely stuck writing my second Python SOP. What I want to do is in my py sop get data from a specific chops channel that the user specifies with an absolut path. I want to be able to sample the chops channel on different frames (current, previous and next).
If someone could point me in the right direction, maybe with a line of code for how to point to this chop node, that would be much appreciated!
I've been trying with hou.ChopNode and hou.Track but couldn't figure out how to init / set it up.
My chop network is really simple, starts with a file, followed by a filter and a trigger and ends with a null containing one channel, amplitude.
Thanks for your time
/John
Im completely stuck writing my second Python SOP. What I want to do is in my py sop get data from a specific chops channel that the user specifies with an absolut path. I want to be able to sample the chops channel on different frames (current, previous and next).
If someone could point me in the right direction, maybe with a line of code for how to point to this chop node, that would be much appreciated!
I've been trying with hou.ChopNode and hou.Track but couldn't figure out how to init / set it up.
My chop network is really simple, starts with a file, followed by a filter and a trigger and ends with a null containing one channel, amplitude.
Thanks for your time
/John
-
- Quick Links