sanostol Posted February 11, 2010 Share Posted February 11, 2010 Recentely I stumpled across something in vex, that seems strange to me. first of all vex is executed per point, right? for examaple when I print the values of the red channel to the console I get as many values prompted as I have points. but what If I print out the result of a function that is not dependent of the current point, I only get one value sent to console, as soon as it is calculated per point i get many. My question is, does houdini only hide the outputs for me, as it does not change or is vex that clever to do calculations only once if they are the same for all points. greets Martin Quote Link to comment Share on other sites More sharing options...
rdg Posted February 11, 2010 Share Posted February 11, 2010 (edited) I'd guess this is th SIMD nature of VEX. The points aren't processed one at a time but all at once. I couldn't find this on the wiki, I know it's there somewhere ... Edited February 11, 2010 by rdg Quote Link to comment Share on other sites More sharing options...
sanostol Posted February 11, 2010 Author Share Posted February 11, 2010 Hey Georg, I know, but should't the constant constant value logged multiple times, too. I'd guess this is th SIMD nature of VEX. The points aren't processed one at a time but all at once. I couldn't find this on the wiki, I know it's there somewhere ... Quote Link to comment Share on other sites More sharing options...
edward Posted February 17, 2010 Share Posted February 17, 2010 The magic of the VEX optimizer. Quote Link to comment Share on other sites More sharing options...
sanostol Posted February 17, 2010 Author Share Posted February 17, 2010 indeed, that looks like magic 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.