HoudiniFX Posted July 22, 2015 Share Posted July 22, 2015 (edited) Hello guys!I'm new here so i have some stupid questions. I did the procedural road ctreation tutorial by cmiVFX and in the step when author did uv for each elements separately,my expression stopped working.It works in xform4 but when i'm trying to paste copied relative references in xform5 i have an error. And i dont have an idea why it's no working.In the original project file from tutorial it doesn't work to.Help me please!How can i solve this problem? If i cant solve this by this expression could you tell me another? Thank you very much!P.s.Expression:1/if($SIZEZ > if($SIZEX > $SIZEY, $SIZEX, $SIZEY),$SIZEZ ,if($SIZEX > $SIZEY, $SIZEX, $SIZEY)) Road_20.07v2.hip Edited July 22, 2015 by HoudiniFX Quote Link to comment Share on other sites More sharing options...
MrScienceOfficer Posted July 22, 2015 Share Posted July 22, 2015 (edited) If I'm not mistaken, it seems you can't reference a parameter with a parameter controlled by an expression anymore. http://forums.odforce.net/topic/16159-what-is-the-reasoning-behind-the-variable-behavior/page-2#entry99130 It would be pretty tough to come up with a work around without really diving into the asset. You could try emailing cmivfx, they should be able to suggest a work around. Edited July 22, 2015 by captain Quote Link to comment Share on other sites More sharing options...
Fenolis Posted August 1, 2015 Share Posted August 1, 2015 Replace all $SIZEX $SIZEY $SIZEZ expressions with the "bbox()" expression. e.g. bbox(opinputpath(".",0),D_XSIZE) bbox(opinputpath(".",0),D_YSIZE) bbox(opinputpath(".",0),D_ZSIZE) Feel free to replace the "opinputpath" section with the path of the node you want to read the parameters from. It's definitely more tedious, but it works. Quote Link to comment Share on other sites More sharing options...
HoudiniFX Posted August 1, 2015 Author Share Posted August 1, 2015 Thanks. 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.