Jump to content

VOP question


jakc3

Recommended Posts

Hello,

 

I'm following an old tutorial from CMIVFX where you create a galaxy. Since it's old i have to adapt many things, and i'm having lots of issues. Currently i'm stuck at one it seems i can't figure out by myself.

 

In the center of the galaxy i'd like to create a bulge in the Y direction but i can't seem to change it form X to Y.

 

So currently it's deforming in X direction which i don't want. I tried solving it by changing the circle geometry from ZX axis to YZ and the bulge created in the X direction, then i transformed the complete thing with the transform SOP to get it into horizontal position. But down the road that created more problems than it solved.

 

Now i'm asking you, how could i change the position from X to Y in VOPs, where i have my bulge setup.  There are two setups, on the left is the wanted result, and on the right is the ''proper'' way to do it but with lots of issues.

 

File is in the attachment. 

Galaxy.hipnc

Link to comment
Share on other sites

I have another question.

 

I'm trying to split particles into two groups, large and small. In the large group i defined which particles i want with this: rand($PT) > .98, and then in the ''small'' group i just combined that large doesn't equal to small. So, i should have two groups. Then i have two Attribute VOPs where i set up parameters for width. Then i assigned a group to each attribute VOP, but i found that only the first VOP is working and the second isn't. 

 

I bypassed it by adding an attribute with Add Attribute SOP, but it isn't as flexible as it is with vops so i'd like to find out why it isn't working.
 
Any ideas why?
 
File is in the attachment, i color marked the nodes i'm having issues with.
 
Many thanks,
 
Jake

Galaxy_v2.hipnc

Link to comment
Share on other sites

it's because you are using an addAttribute to set the width.

If you look at the help card it says : http://www.sidefx.com/docs/houdini14.0/nodes/vop/addattrib

 

Note

This does not change the attribute values. To change the value of the currently processed element, see the Bind Export VOP. To change other elements or other attribute classes, see Set Attribute VOP.

 

if you replace it by a set Attribute, a bind export or a parameter, it will work.

Edited by iamyog
  • Like 1
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...