Strand problem

Discussions about SOFTIMAGEs© Interactive Creative Environment©
ximage
Posts: 36
Joined: 10 Jun 2009, 08:49

Strand problem

Post by ximage » 12 Jul 2012, 19:01

Hi,

i did put this out on the list but i dont know if my posts are getting send properly. so if you have seen this on the list please give me a heads up, was called "strands".

anyways, i ahve a problem with my rendered strands, imj using em tools, and the setup used to get strands to move across a mesh following edges and turning at 90 degrees randomly.

now my problem is when i come to render, the fully 90 degree turns of the strands is getting rendered with a curved corner. basically it seems to be interpolating the corner and smoothing it?

i dont have the picture to illustrate it as im not at work, but you can see it on my list post.

can anyone shead any light on this?

thanks guys and sorry for the long post.

Daniel

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 19:11
Location: Zagreb, Croatia

Re: Strand problem

Post by Mathaeus » 12 Jul 2012, 21:35

if you mean render - time extrusions, yeah they are interpolated by some automatic criteria. Old fashion trick to override this, is to create Self.ShapeResolutionV attribute, feed it with some integer, let's say strand segments count, probably plus or minus 1 to that value.
This makes extrusion linear, by strand segment. Now if you want same profile, even on high angles, you need higher stand size on corners.... by factor 1.41 ( square root of 2) on 90 degree, something arbitrary on higher angle.

If all segments are linear, maybe it's better to go with another point cloud, created from strands, which just replaces strands with cylinders or capsules.