Jump to content

SteveNi

Members
  • Content count

    59
  • Joined

  • Last visited

Community Reputation

5 Neutral

About SteveNi

  • Rank
    Peon

Contact Methods

  • Website URL
    https://vimeo.com/user43100796

Personal Information

  • Name
    Steve

Recent Profile Visitors

495 profile views
  1. Problem printing attribute value from wrangle node

    Yea you are right, the problem here is that I need to load the attribute for a specific primitive, thats why I used the primitive() function. Guess I'll have to use another method.
  2. Problem printing attribute value from wrangle node

    Oooooh thats true, thanks! EDIT: Is there anyway to load the current status of the attributes, apart from keep track of the changes in variables?? I tried to use geoself, just to be sure, but it doesn't work either.
  3. So I was writing some vex code for a scene Im working on, and while I was debugging the code to correct an issue I placed various printf() functions in the code to check the state of the attributes right after I made some changes to them, and I noticed that if I load an attribute in a variable and print it, modify the attribute, reload it in the same variable and then print the variable out again, it wont show the newer value if the loading&printing process is done in the same wrangle node of where the attribute was modified. Here's an example scene wich exactly recreates my scenario. Am I missing something stupid here? Test_attribute.hipnc
  4. Handling geometry selection in HDA

    I can finally reply after the maintenance on this site. So yea, if you import the "group type" menu it will work, but not without it. Ill report this to SideFx by also refer to this topic Thanks
  5. Handling geometry selection in HDA

    Please watch this video where I create the OTL from scratch, you can also read the error message. https://vimeo.com/213274634 Password: 101
  6. Handling geometry selection in HDA

    I added group to that script but gives the same error I dont think this matters but Im still working in H15.5...
  7. Handling geometry selection in HDA

    Ops sorry I forgot to upload the .hda file, here it is. casdaf.hdanc
  8. Mushroom Asset (feedback)

    Ehy no problem I just saw in the video you published on your vimeo that you added the bend controls
  9. Mushroom Asset (feedback)

    1)Yes absolutely add resolutions parameters. 2)It looks like you have already added the right parameters for noise in the OTL window. 3)Yes maybe add some fit range nodes, so you can modulate the noise from a simple range to read like (-1,1), but always leave these locks off (see screen shot), this way, if wanted, it will be possible to go over the range predefined. Another thing you could add is a deformer to bend the overall mushroom: As you can see from the image not every mushroom is completely straight.
  10. Handling geometry selection in HDA

    Yea sure! HDA_test.hipnc
  11. So I'm making a HDA wich has a color sop inside of it, of wich Im using the group field, thats why I need to acces this field at the upper level (the HDA interface). So to to do this, when building the HDA interface I dragged that field directly from the color sop to the HDA interface, (pic1/3)but when I try to use it from the HDA it throws this error (pic2), wich I guess is referencing this code inside the group's script (pic4). I've never messed around with this kind of stuff, how can I solve this?
  12. VEX - global variables

    Thanks!
  13. Hi Is it possible to modify, from inside a function, a variable that was declared outside that function? For example this code wont work: void functionX() { y = 5; } int y; functionX(); Is there a way to reference that variable inside the function?
  14. Thanks. We should ask to some volume experts or some dude frome SideFx why you have to write @density = @density
  15. Oh ok, I noticed there was an error in my code....my bad I also have another issue tho.. Always in a volume wrangle, if I want to print out the @resx @resy or @resz attributes, and I use the following code: printf("%s \n", @resx); I just prints out 0, and to get it to work I have to write: (found it ina old post) printf("%s \n", @resx, @density); Can you explain me why?
×