Re: [scripting] finding source vertex of a hair strand

Date : Mon, 7 Aug 2006 01:10:35 +0200
To : <XSI(at)Softimage.COM>
From : "Christian Keller" <Christian(at)fongfood.com>
Subject : Re: [scripting] finding source vertex of a hair strand
now i remember why i also did it via distance.
the model was already done and the fur was on a cluster.
if you use the whole mesh the strand index is the same as the vertex index...
 
----- Original Message -----
Sent: Monday, August 07, 2006 12:21 AM
Subject: Re: [scripting] finding source vertex of a hair strand

I didn't test it but the second Jscript example in the wiki just do what you want no ?
http://softimage.wiki.avid.com/index.php/Hair_%28XSISDK%29

Or maybe I read it too fast ?

Cheers,

--
Guillaume Laforge
freelance TD | cg Artist
my new blog ! http://vol2blog.blogspot.com/


On 8/7/06, kim aldis <kim(at)aldis.org.uk> wrote:
One should always try to be efficient. It's good practice and you never know
when you might regret that expense. And since the code to do it properly is
no longer nor harder to code than your method, why not do it properly.

> -----Original Message-----
> From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
> Behalf Of Christian Keller
> Sent: 06 August 2006 23:08
> To: XSI(at)Softimage.COM
> Subject: Re: [scripting] finding source vertex of a hair strand
>
> if you need persistent data
> what's expensive with it ?
>
> ----- Original Message -----
> From: "kim aldis" <kim(at)aldis.org.uk>
> To: < XSI(at)Softimage.COM>
> Sent: Sunday, August 06, 2006 10:00 PM
> Subject: RE: [scripting] finding source vertex of a hair strand
>
>
> > That seems a tad expensive, doesn't it?
> >
> > > -----Original Message-----
> > > From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On
> > > Behalf Of Christian Keller
> > > Sent: 06 August 2006 18:56
> > > To: XSI(at)Softimage.COM
> > > Subject: Re: [scripting] finding source vertex of a hair strand
> > >
> > > little trick :
> > > temporarely scale down your hair to zero or near zero and check the
> > > distance to the mesh points.
> > > then push the mapping between strand and emitting vertex into a
> > > userdata map
> > >
> >
> >
> >
> > ---
> > Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
> body:
> > unsubscribe xsi
>
> ---
> Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in
> body:
> unsubscribe xsi
>



---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi





Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.