rdg Posted January 5, 2007 Share Posted January 5, 2007 hello. until my copy of "the magic of houdini" arrives, I am reading the online help and watching video tutorials. so please forgive this maybe very noobish question: I copy a sphere. The numbers of copies is: sin($F)*100+1 after Frame 180 all copies disapear. http://proforma.preset.de/tai-chi-hou-dini...copy_myst.hipnc Is this the way houdini handles sin, PI, radians, or something like this? Can houdini really create geometry ondemand? Comming from MAX I am used to precreate geometry and hide/unhide it. regards, Georg Quote Link to comment Share on other sites More sharing options...
Visual Cortex Lab Posted January 5, 2007 Share Posted January 5, 2007 since sin(200)*100+1=-33.202014333 ... you should use abs() espression at least... cause making negative numbers of copies.. i guess it's not allowed in this universe:) abs(sin($F)*100+1) is the correct expression. hope this helps Quote Link to comment Share on other sites More sharing options...
SpencerL Posted January 5, 2007 Share Posted January 5, 2007 based on your expression: sin($F)*100+1 after frame 180, the sin wave falls into negative values. Since you cannot have negative amounts of copies, it defaults to zero. Im not sure exactly what you are trying to do, but if you want the values always to remain positive then just use an abs() function which always returns the absolute value. so it would look something like this: abs(sin($F)*100+1) Quote Link to comment Share on other sites More sharing options...
Visual Cortex Lab Posted January 5, 2007 Share Posted January 5, 2007 sorry spencer... you arrived just one minute after !! joking.. cheers. Quote Link to comment Share on other sites More sharing options...
SpencerL Posted January 5, 2007 Share Posted January 5, 2007 ah...sum][one beat me to it, so do what he says... Quote Link to comment Share on other sites More sharing options...
Andz Posted January 5, 2007 Share Posted January 5, 2007 Can houdini really create geometry ondemand?Comming from MAX I am used to precreate geometry and hide/unhide it. regards, Georg Welcome to the forum Gerog! You have some really cool stuff on your webpage Quote Link to comment Share on other sites More sharing options...
rdg Posted January 6, 2007 Author Share Posted January 6, 2007 sometimes I don't see the obvious. I ordered a forumulary @Andz: Thank you. Georg Quote Link to comment Share on other sites More sharing options...
rdg Posted January 9, 2007 Author Share Posted January 9, 2007 looks like a good combination: Georg Quote Link to comment Share on other sites More sharing options...
Jason Posted January 9, 2007 Share Posted January 9, 2007 Heh heh, nice... What I found very useful when I was first learning Houdini was looking at the Expression Cookbook which -at the time- was paper, but now I believe you can search for it in the Help documents. Enjoy, and welcome to the forum rdg! 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.