> How do you guarantee that the closest point to the curve is at the U that
> was actually used to create that part of the mesh. I can see it working
> more
> or less. I can also see it often not working so well.
Maybe it could failed with a concave shape or a very curved path, dunno.
I made a tool like this for a commercial some months ago and it just worked fine (the shape used was a simple little circle and I wanted a "tapered lightning tube").
Cheers
Guillaume
On Fri, 7 Sep 2007 17:47:50 +0100, "kim aldis" <xsi(at)kim-aldis.co.uk> wrote:
> How do you guarantee that the closest point to the curve is at the U that
> was actually used to create that part of the mesh. I can see it working
> more
> or less. I can also see it often not working so well.
>
>> -----Original Message-----
>> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
>> Behalf Of Guillaume Laforge
>> Sent: 07 September 2007 10:23
>> To: XSI(at)Softimage.COM
>> Subject: Re: Extrusion question
>>
>> Hi Morten,
>>
>> You can scale your geometry along the extrusion curve with a scripted
>> operator.
>>
>> You need two main inputs in your scop. the geometry with the extrude
>> operator and the curve use as an extrusion path.
>>
>> For each point in the geometry find the closest point ( u, and xyz
>> position ) on the curve ( with a GetClosestCurvePosition method ).
>>
>> Then you can convert the U in a percentage value (with the
>> GetPercentageFromU method ).
>>
>> From there use a formula like this : Geometry point position * (1-
>> U
>> in percentage) + Curve point position * U in percentage.
>>
>>
>> Hope this helps,
>>
>>
>> Cheers
>>
>> Guillaume Laforge | La Maison.
>>
>> PS : it works only if the curve SRT is set to 0. If not you must use
>> the
>> MapObjectPositionToObjectSpace method.
>>
>>
>>
>>
>> Morten Bartholdy a Ãcrit :
>> > Yes - the point is I need to model a lot of branches with shapes
>> defined by me, which is why I dont go for a plant modeling tool. So it
>> will save me quite some time not having to do cylinders, taper, deform
>> and fit.
>> >
>> > MB
>> >
>> >
>> >
>> >
>> > ----- Original Message -----
>> > From: Byron Nash
>> > To: XSI(at)Softimage.COM
>> > Sent: Thursday, September 06, 2007 6:56 PM
>> > Subject: Re: Extrusion question
>> >
>> >
>> > I normally extrude my object and taper it and then deform to curve.
>> But I'm guessing you were trying to avoid that step.
>> >
>> >
>> > On 9/6/07, Morten Bartholdy <xsi(at)colorshopvfx.dk> wrote:
>> > That is exactly what I was looking for, but no go.
>> >
>> > MB
>> >
>> >
>> > ----- Original Message -----
>> > From: David Auner
>> > To: XSI(at)Softimage.COM
>> > Sent: Thursday, September 06, 2007 3:19 PM
>> > Subject: Re: Extrusion question
>> >
>> >
>> > At 13:54 06.09.2007, you wrote:
>> >
>> > Do any of you know if there is a way to taper the radius of a
>> circle extruded along a curve using the extrusion tool?
>> > I know there are workarounds but they require more manual
>> work, so if there is a way to set start and end radius it would just be
>> great.
>> >
>> > Can't check right now, but don't you have the option to SRT the
>> circle along the extrusion? Just scale the circle down...
>> >
>> > Cheers, Dave
>> >
>> > David Auner
>> >
>> > Filmproduktion
>> >
>> > Assmayergasse 5-7/1/1
>> > A-1120 Wien
>> > Austria
>> >
>> > phone +43 664 11 27 481
>> > e-mail david(at)auner.net
>> > www http://www.auner.net
>> > uid nr./vat no. ATU57818455
>> >
>> >
>> > ---<<| "I am eye. I am a mechanical eye. |>>---
>> > ---<<| I, a machine, am showing you a world, |>>---
>> > ---<<| the likes of which only I can see." |>>---
>> > ---<<| - Dziga Vertov |>>---
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Byron Nash
>> > www.armoredsquirrel.com
>> >
>>
>> ---
>> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
>> body:
>> unsubscribe xsi
>
>
> -
--
Guillaume Laforge | La Maison
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi