PDA

View Full Version : Paint FX Grass Flipped on Curve


Slurry
09-20-2005, 03:03 AM
Hi All,

Has anybody encountered this before? I have a CV curve that I created in the top view. I applied a grass brush to it with paint fx but the grass flipd. Almost as if there is a normal that is pointing the wrong way. Do curves have normals? Can it be selected and changed?

http://www.artcurry.com/grassflipped.jpg

Reverse Curve Direction flips the paint fx but doesn't make the stroke point in one, uniform direction. Any ideas?

Art

depleteD
09-20-2005, 04:34 AM
tube direction = along normal on the brush attribute
then have the normal direction on strokeshape attribute y=1

Duncan
09-20-2005, 07:03 PM
Curves don't have normals, but pfx will derive a normal based on the local curvature. Note that this becomes undefined where the curve becomes straight. Also little back and forth wiggles can cause the sense of curvature direction to twist in undesirable ways. Thus one needs to specify a fixed , or constant, normal direction on the stroke as described by depleteD. Painting on the groundplane automatically enables the up direction normal, but assign brush to curve does not.

Note that a curve on surface, by constrast, does have a well defined normal. If one doesn't have a surface, one could potentially extrude the curve or connect to a similar one to create a strip with a well defined normal. One could then make a curve on this surface and use it to provide a good normal for the stroke( in cases where a constant normal direction is not sufficient ).

Duncan

Slurry
09-21-2005, 12:28 AM
Thank you very much for your replies and help with this.

I had the TUBE DIRECTION for the Brush set to along normal but I didn't know about the USE NORMAL in the stroke tab.

Thanks again guys,

Art

CGTalk Moderation
09-21-2005, 12:28 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.