Jump to content

Evan Peignet

Members
  • Content count

    5
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Everything posted by Evan Peignet

  1. Hello guys ! I am trying to apply two materials with different displacements on the same RBD pieces. I use a material on the outside group and another one on the inside group. It works but it create a gap between my two materials (the black holes on the picture). I used a restposition before assigning the material with a materialSOP but it doesn't resolve my problem. Do you have any ideas of how I can fix it ? Thank you a lot !
  2. Noise never decreasing in VEX

    Thank you guys ! This is exactly what I needed. Have a good day !
  3. Hey guys ! I 'm searching a way to get an attribute that never decrease, in function of a noise. I want it to increase or stay at the max past value of the noise. This picture illustrates the value I want my attribute to have over time. I tried to calculate the last frame value and to clamp my actual value to the previous one or to take the highest value between the actual and the previous one. It works, it always takes the higher values between the two. But at the next frame, it doesn't prevent the two values from decreasing because of the noise value decreasing. So it doesn't work. I also tried to do an array with my firstframe and add the value of noise(@Time) to this array at every frame and then use the max() function of the array. But it adds the elements of all the frame range and gives them the value of current frame noise (that is logical). Do you know how I can create a list that adds the value of noise(@Time) at each frame ? Do you have any idea of how I could get an attribute never decreasing depending on a noise over time ? Thank you for your help ! (don't hesitate to ask if I am not clear)
  4. Copy Points With Rotation Along Curve

    Hey ! Thank you djiki, it works like a charm with the sweepSOP with Angle Fix and Fix Clipping activated. By curiosity, would you know how I could have done it with quaternion ? Have a good day !
  5. Hello guys ! I need a little help. I have a curve and I am trying to get secondary curves around it. And finally to convert it to geometry with polywire. I don't want my curves to interpenetrate or to twist. I scatter points into a circle. I give an individual attribute to each point. I copy them to the points of the curve. I tried polyframe and vex code to keep the orientation of the points along the curve. I manage to get it but now I see that my secondary curves twist at some points. I think that I should use quaternion as orient before the copy but I don't know how to use it. For the moment, I've got this in my wrangle before the copy : v@N = v@N ; vector tangentu = v@tangentu; vector up = set(0,1,0); vector side = cross(tangentu, up) ; v@up = side; v@side = side ; v@N = tangentu ; // p@orient = set(@tangentu.x, @tangentu.y , @tangentu.z, radians(90) ); At the end, I will use a polywire (and I don't want them to twist around my main curve). Do you have some ideas of how I can do this ? I join the scene to explain. epe_copyWithRotationAlongCurve.hipnc
×