Jump to content

curve + uv+ point on curve Feedback


Recommended Posts

Hi guys how is it going?

I am learning a lot in houdini ! now I want to make a custom motion path , I know .... houdini has one already but I dont have full controll over it , I wish to have a system where i can have control over everything and I believe it s a good learning experience !

So first step : I made a file where I added UVs to a curve and attached a null to the curve , If you guys don't mind can have a look at it and give me a feedback? What s good ,what s bad, other way to do stuff and so on?

I am mostly concerned about how I retrived the maxUV param, I am not sure if it s the best way (basically promoting the UV attribute and using max as conversion )

Also other thing I am not sure about , since I didnt find a way to import or reference a detail attribute inside the vopsop I converted the maxUV attribute to point again and feed it inside the vopsop , is it there a better way?

Thanks a lot guys!

image.jpg

uv_plus_point.hipnc

Link to comment
Share on other sites

Guest mantragora

If you don't scale UV it will be between 0-1 always, so what's the point of normalizing it ? Also, I'm not quite following what you want to achieve here. What's the role of the null ? There is a lot of promoting attributes but I don't see a reason for this yet.

Edited by mantragora
Link to comment
Share on other sites

If you don't scale UV it will be between 0-1 always, so what's the point of normalizing it ? Also, I'm not quite following what you want to achieve here. What's the role of the null ? There is a lot of promoting attributes but I don't see a reason for this yet.

Hi thanks for the answer so , what i am trying to achieve is a custom motion path on which i compute manually position and orientation.

So first step to reach the goal is find a point based on U value,

So my curve didnt have a U map so I created it and then I normalized it. Actually you are right , after resempling the curve the UV got normalized , before it was going from 0 to NPT -2.

Cool so I can get rid of the normalization part.

If you check the new attached file you will see that U is not normalized.

But anyway to answer your question : the null is just to visualize the output data so to see if the point is calculated correctly

The attribute promoting was there for this reasons : (now there is no more need since UV is already normalized)

- Get the maxUV value out of the UV array.

- Convert it into a point attribute in order to be able to read it the vopsop

Do you know any better way to achieve this two operation ?

I am trying to see If I get workflow and way to do stuff correctly

Thanks a lot

notNormUV.hipnc

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...