CinnamonMetal Posted May 11, 2018 Share Posted May 11, 2018 Can you view attributes created inside a condition; in other words ? if(condition){ @NewVec = VectorB - VectorA; } Quote Link to comment Share on other sites More sharing options...
Sean-R Posted May 11, 2018 Share Posted May 11, 2018 That should work, @NewVec should be visible in the geometry spreadsheet. To get it to write as a vector attribute you will need to put a v before the @. Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted May 11, 2018 Author Share Posted May 11, 2018 When I try to visualize the attribute within the Visualizer nothing is displayed although the attribute is shown with the visualizer when the attribute is outside of the condition ? Since the detail function is within an integer variable and this is all within a primitive wrangler that the visualizer can't read attribute within the condition ? Quote Link to comment Share on other sites More sharing options...
Sepu Posted May 11, 2018 Share Posted May 11, 2018 you should be able to visualize it if is bind as an @ post your .hip file you probably doing something wrong. Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted May 11, 2018 Author Share Posted May 11, 2018 Scene File. Vector from Vertice.hiplc Quote Link to comment Share on other sites More sharing options...
Sepu Posted May 11, 2018 Share Posted May 11, 2018 so what are you expecting to see? I can see the values just fine here. Vector from Vertice.hiplc Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted May 11, 2018 Author Share Posted May 11, 2018 (edited) I want to visualize both the Vector_Pt_AC attribute & Vector_Pt_AC both as a vector. I can visualize Vector_Pt_AB but not Vector_Pt_AC ? @Sepu your visualizing as text Edited May 11, 2018 by CinnamonMetal Quote Link to comment Share on other sites More sharing options...
Sepu Posted May 11, 2018 Share Posted May 11, 2018 (edited) just change the visualization to a vector and if you want another visualization just stack another visualize node like this Edited May 11, 2018 by Sepu Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted May 11, 2018 Author Share Posted May 11, 2018 If I set two visualization attributes for the scene I would think they would both display when toggled on but they don't. How do I access the visualization stack ? Quote Link to comment Share on other sites More sharing options...
Sepu Posted May 11, 2018 Share Posted May 11, 2018 dont know what you mean ... here is the file Vector from Vertice.hiplc Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted May 11, 2018 Author Share Posted May 11, 2018 (edited) I want to see both at the same time, one vector one direction; the other another direction. If it's not possible maybe need to create a python script. Edited May 11, 2018 by CinnamonMetal Quote Link to comment Share on other sites More sharing options...
Sepu Posted May 11, 2018 Share Posted May 11, 2018 yes you can see whatever, just add more visualization nodes or just create visualizers Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted May 11, 2018 Author Share Posted May 11, 2018 47 minutes ago, Sepu said: yes you can see whatever, just add more visualization nodes or just create visualizers @Sepu I know this already It's not working whereas I'm not seeing (2) vector attributes at the same time. One of those attributes are outside a condition the other is within a condition as a variable ? Quote Link to comment Share on other sites More sharing options...
CinnamonMetal Posted May 11, 2018 Author Share Posted May 11, 2018 I can successfully view one attribute in the viewport by means of visualization in the viewport; only when the wrangler is selected, rather then two simultaneously ? When I select the end block of a forLoop sop I can't preview any visualization attributes ? Therefore if anyone can answer this question; how can I see the result of my condition within my wrangler (prim) that is within the forLoop SOP (scene attachment) if I can't see any attributes when the end block of the forLoop sop is selected ? Correct me if I'm wrong, but to preview the attributes within the prim Wrangler which is nested inside the forLoop SOP, iterating over each primitive; the end block of the forLoop SOP must be selected ? 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.