Jump to content

logix1390

Members
  • Content count

    247
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

2 Neutral

About logix1390

  • Rank
    Initiate

Personal Information

  • Name
    Mike
  • Location
    Toronto

Recent Profile Visitors

1,789 profile views
  1. Attributes not working in tops (PDG)

    I am following this beginner PDG tutorial from the side fx website. https://www.sidefx.com/tutorials/create-a-task-workflow-to-build-cities/ The link to the pdf is here: https://d2wvmrjymyrujw.cloudfront.net/media/uploads/tutorial/pdg/foundations/pdg_foundation_tutorial2.pdf The problem is that the attributes I set to control the random height of the buildings is not working when I combine everything after using the "wait for all" and Geometry Import" top nodes. I am not sure what i'm doing wrong. I have followed every step of this tutorial exactly I will attach my scene file for anyone that wants to take a look. Thank you. city_01.hip
  2. force or velocity

    @anim @flcc Thank you guys for the detailed descriptions. This makes a lot more sense to me. Appreciate it !
  3. force or velocity

    @flccSo if velocity is speed and direction, and force is just influencing the speed...Should I think of force as the same as magnitude of the current velocity ? Thank you
  4. force or velocity

    hello, What exactly is the difference between a force and velocity? Is there anything I should read up on? I noticed that my flip sim acts differently to an @force attribute vs @v Thank you
  5. rbd and pop collision

    @DrughiThank you for the response. I know how to extract the impact attributes from rbd , but the pop collision attributes are better for certain situations. For example in this situation, I am trying to extract only the first impact point of each rbd object. The problem is, if the rbd object moves around on the floor after it falls, the rbd impact data will create several different impact points as it moves around on the floor. I only need the first one. I'm not sure how to extract this using the rbd impact attributes I know the pop collision detect has an attribute called hittotal which determines how many times the particle has collided. From there I can extract the first hit pretty easy. But i'm not sure how to extract this with what the rbd impact attributes. Would love to get your opinion. Thank you
  6. rbd and pop collision

    hello, I am trying to find out how to get the "pop collision detect" node to work with my rbd sim. I need to get the attributes that the popcollisiondetect creates such as the hitnum, hitprim, hittime etc. I can see the attributes in my geometry spreadsheet but they are all set to 0. I can get other pop nodes to work with and RBD sim like pop force but why doesn't the pop collision detect work ? I will attach my scene for anyone that wants to take a look. Thank you rbd_collisiondetect.hipnc
  7. attribute noise sop

    @animThank you, I will check that out
  8. attribute noise sop

    Hello, I am trying to use the attribute noise sop to add some noise to my velocity. My basic question is, how do I change the frequency ? The attribute noise only has options for the amplitude, element scale and element size. It does not provide the standard noise options like frequency and roughness. I know how to create my own custom velocity in a vop but I wanted to be able to use the attribute noise sop for this. I will attach my scene for anyone that wants to take a look. Thank you h17_src_vel_frequency.hip
  9. randomize density methods

    hello I am trying to randomize multiple smoke sims using a few different methods. 1. in a volume wrangle using a fit and ranom expression based of the id of the smoke sim 2. through the shader using the same expression in the density paramter. None of these methods work. I was wondering what I could be doing wrong. If I had hundreds of copied smoke sims how would I randomize the density in a procedural way? Thank you randomize density in shader.hip
  10. Converting integer to string atoi

    @Skybarthank you!
  11. Converting integer to string atoi

    @Atom Thank you for the response Atom. That makes sense now. I can't help but ask a few follow up questions. So as you mentioned, my name attribute in this case has the same length prefix which is making it easy to isolate the integer for the atoi function. So if I had a different name attribute with a longer length prefix then it will return 0 if I were to use the same expression . My question is , how would I automatically detect the length of the name prefix to always isolate the integer at the end ? My first thought would be to find the length of the string using the len function.. i@mylen=len(@name); i@nameInt= atoi(s@name[@mylen:]); But this of course wont work because that will find the length of the string including the integers. Is there anything else I should be looking into to achieve this ? Thank you
  12. Converting integer to string atoi

    Hello. I am trying to get the integer value from my rbd piece names "piece0", piece1", piece3", etc . and convert that into a string I am trying to do this based on what the help card has said: int atoi(string str) i@nameInt= atoi(s@name); Am I not doing this correctly? this will return 0 Any help would be appreciated. thank you. atoi_int_to_string.hipnc
  13. nearpoints error

    this is file for anyone that wants to see. nearpoints_question.hip
  14. nearpoints error

    hey. I am learning the nearpoints function but for some reason it is giving me an error. I am just trying to store the first value in the array into a my own variable. I am writing this: i@pts[] = nearpoints(1,@P,40); i@First_Pt = @pts[0]; Shouldn't I@First_Pt give me the first value in the "pts" array ? I am not sure why it is giving me an error. Thank you
  15. bounding box orient to emitter pyro

    .
×