Jump to content

China fan


microvswind

Recommended Posts

hi guys.here trouble you again.

i am trying to medelling the chinese fan,my thought is shift the primitive list as second input of wrangle node.then sue the input0 primitive vertex 1&2  and input1 primitive vertex 3&4,but i do not know how to write the vex correctly.

may you kind guys would gime me some tips or snippet code.

appreciate very much.

regards.

QQ图片20200202141750.jpg

ChinaFan_Mic.hip

Link to comment
Share on other sites

  On 2/2/2020 at 8:24 AM, anim said:

change this:

int p2 = i@parm[2];
int p3 = i@parm[0];

to this:

int p2 = i[]@parm[1];
int p3 = i[]@parm[0];

 

Expand  

wow,you are my idol.reply so quickly and clearthank you so much.

and here again another question.how to keep undistroting  the uv texture.the texture pic and hip is attatched below.

 

ChinaFan_Mic.hip

ink.gif

timg.jpg

Link to comment
Share on other sites

Hi,

You can use the circle with xyzdist() to get uv coordinates. The x coordinate can be used directly (but should be transformed by fit function to match 0 to 1). The y-value should be 0 or 1 (0 if close to circle and 1 if not).

On the other hand, if you create the surface parametrically you can set the uv-coordinates directly.

One way might be using skin from a set curves (check Konstantins example) another method maybe using two guide curves to interpolate the inbetween values.

 

ChinaFan_Mic_uv.hipncFetching info...  

ChinaFan_Mic_uvA.hipncFetching info...

P.S: get uvxmin, uvxmax automatically

 

 

china_fan.hipncFetching info...

Edited by Aizatulin
Link to comment
Share on other sites

  On 2/2/2020 at 9:23 PM, Aizatulin said:

Hi,

You can use the circle with xyzdist() to get uv coordinates. The x coordinate can be used directly (but should be transformed by fit function to match 0 to 1). The y-value should be 0 or 1 (0 if close to circle and 1 if not).

On the other hand, if you create the surface parametrically you can set the uv-coordinates directly.

One way might be using skin from a set curves (check Konstantins example) another method maybe using two guide curves to interpolate the inbetween values.

 

ChinaFan_Mic_uv.hipncFetching info...  

ChinaFan_Mic_uvA.hipncFetching info...

P.S: get uvxmin, uvxmax automatically

 

 

china_fan.hipncFetching info...

Expand  

thank you very much Aizatulin.i have learned a lot knowledge from you.

regards.

  • Like 1
Link to comment
Share on other sites

  • 1 month later...

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