im creating a while loop in vop sop inside of dopnet, setting condition value to 1, true.
for now its cooking about 20 mins and still nothing.
in tutorial there was no cooking op.
cooking op: torus/dopnet1/sopsolver/vopsop1 - executing vex - running vex code.
what am i doing wrong?
while loop cooking forever
4697 5 0- qbick
- Member
- 102 posts
- Joined: March 2012
- Offline
- neil_math_comp
- Member
- 1743 posts
- Joined: March 2012
- Offline
It may be useful to familiarize yourself with how a while loop generally works [en.wikipedia.org]. While loops will continue looping until either the condition value is 0 (false) or you explicitly break out of the loop. With a condition of 1 and no breaks, a while loop loops forever. Hopefully that clears things up!
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
- qbick
- Member
- 102 posts
- Joined: March 2012
- Offline
ndicksonthank you
It may be useful to familiarize yourself with how a while loop generally works [en.wikipedia.org]. While loops will continue looping until either the condition value is 0 (false) or you explicitly break out of the loop. With a condition of 1 and no breaks, a while loop loops forever. Hopefully that clears things up!
- edward
- Member
- 7899 posts
- Joined: July 2005
- Offline
ndickson
It may be useful to familiarize yourself with how a while loop generally works [en.wikipedia.org].
I'm disappointed that there's no example on that wiki page for VEX or VOPs.
- asnowcappedromance
- Member
- 512 posts
- Joined: July 2009
- Offline
I actually ran into the same problem a few days ago, but my while loop was setup correctly, meaning I had a condition which would break the loop at some point, but Hou would get stuck while executing the vex code.
Well after lots of doublechecking I finally found out it was my 3D viewport which froze Houdini, try switching it from GL to Hou11 or to another GL version, if you're while loop is set up neatly maybe this will do the trick.
best,
Manu
Well after lots of doublechecking I finally found out it was my 3D viewport which froze Houdini, try switching it from GL to Hou11 or to another GL version, if you're while loop is set up neatly maybe this will do the trick.
best,
Manu
- animatrix_
- Member
- 4729 posts
- Joined: Feb. 2012
- Offline
edwardndickson
It may be useful to familiarize yourself with how a while loop generally works [en.wikipedia.org].
I'm disappointed that there's no example on that wiki page for VEX or VOPs.
Now there is
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]
youtube.com/@pragmaticvfx | patreon.com/animatrix | pragmaticvfx.gumroad.com
-
- Quick Links