Chunks rotation?

Chunks rotation?

Postby Skinnytorus » Saturday, 22.September 2012, 09:24

Hey guys,
I can't make chunks rotate (see the file). Maybe you know the answer?
Thank you.
You do not have the required permissions to view the files attached to this post.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Chunks rotation?

Postby erbsen » Sunday, 23.September 2012, 09:05

It seems to be an easy task but i can´t make chunks rotate neither but if it´s just the rotation i found a solution.

Chunks_rotation_2.wz4
You do not have the required permissions to view the files attached to this post.
erbsen
Operator
Operator
 
Posts: 873
Joined: Thursday, 15.July 2004, 23:00
Location: Os

Re: Chunks rotation?

Postby Skinnytorus » Sunday, 23.September 2012, 12:15

Well, the task is to put grass onto a large terrain (see this thread viewtopic.php?f=42&t=1124).
Yes, it's kinda obvious solution to use particles there, but particles from verts won't do for the purpose (no randomness in respect to surface placement), particles from mesh - too heavy on the FPS... so I went for the simple instancing using height maps (Debris) and was surprised the rotation didn't work properly... Maybe ikam could take a look into the code...
Thanks for the effort, anyway :).
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Chunks rotation?

Postby ikam » Monday, 24.September 2012, 20:14

i'll tomorrow ;)
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: Chunks rotation?

Postby Skinnytorus » Monday, 24.September 2012, 20:28

Thanks.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Chunks rotation?

Postby ikam » Tuesday, 25.September 2012, 10:32

ok. it's working if you play with tumble param in debris, but flag in chunks seems to reversed, i'll send a fix this evening
You do not have the required permissions to view the files attached to this post.
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: Chunks rotation?

Postby Skinnytorus » Tuesday, 25.September 2012, 10:45

Wow! Thank you so much!
But I have a question yet: Can the Rotation in Chunks work on its own without the Tumble param in Debris op? I just want to know if it can be used without Debris (i.e. on mesh level). It's a pity I can not test your file till this evening, I'm just too anxious to know the details ;).
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Chunks rotation?

Postby ikam » Tuesday, 25.September 2012, 11:36

well it seems to work only with debris. Can you explain the use of chucks without debris, I don't see a concrte example
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: Chunks rotation?

Postby Skinnytorus » Tuesday, 25.September 2012, 14:14

Imagine this structure:
Cube
Multiply x
Multiply z
Chunks (set on Random)
In this structure Normal para works OK (i.e. moves the chunks back and forth randomly), but Rotation - never.
I just wanted you to confirm if the Rotation is SUPPOSED to work with Debris ONLY or there is a bug in the code that prevents it from working.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46

Re: Chunks rotation?

Postby ikam » Tuesday, 25.September 2012, 15:25

tested your example but it does nothing...
but with debris op, normal (in chunks) influences the height displacement (from the debris texture).
Both parameters Normal and Rotation are relative to the debris texture.
Random flag alter only rotations, if it set off, you can 'normally (it's here that is reversed) enter your own rotation vector (so a fixed rotation).
ikam
Operator
Operator
 
Posts: 911
Joined: Friday, 14.October 2011, 13:00
Location: France

Re: Chunks rotation?

Postby Skinnytorus » Tuesday, 25.September 2012, 18:22

I see. Thanks.
Skinnytorus
Operator
Operator
 
Posts: 1300
Joined: Monday, 06.February 2012, 17:46


Return to Support



Who is online

Users browsing this forum: No registered users and 6 guests

cron