It is currently 25 May 2013, 10:02

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Fur strands on displaced mesh.
PostPosted: 28 Jan 2013, 17:02 
Offline
User avatar

Joined: 09 Jun 2009, 13:30
Posts: 94
How do you guys go about offsetting strands on displaced objects to follow the surface precisely.
We are working on an animal model with very short hair, and the geometry has a zbrush displacement map applied.

I'm using the same displacement map to push points up or down along their normal to try and match the displaced mesh. It works to a degree, but it's messy and takes time to adjust.

How do you guys solve this problem?


Top
 Profile  
 
 Post subject: Re: Fur strands on displaced mesh.
PostPosted: 28 Jan 2013, 18:25 
Offline

Joined: 06 Nov 2011, 06:24
Posts: 68
never tried it, but could use use the displacement map(black to white) and rescale to offset the strand(particle) positions?


Top
 Profile  
 
 Post subject: Re: Fur strands on displaced mesh.
PostPosted: 28 Jan 2013, 18:42 
Offline
User avatar

Joined: 09 Jun 2009, 13:30
Posts: 94
That is what we are doing and it seems to work ok. It's just a very slow process on 10 mill strands.


Top
 Profile  
 
 Post subject: Re: Fur strands on displaced mesh.
PostPosted: 29 Jan 2013, 16:14 
Offline

Joined: 04 Jun 2009, 11:21
Posts: 79
Location: Barcelona / EU
It's only slow on the first frame were the strands are going to be generated so that should be okey, no ?
How do you look up the texture value ? Through emitlocation I guess ? (just asking in case you use some sort of closest location or stuff like that).
I don't think there's any other solution except of using the high density mesh itself.

_________________
Mario Reitbauer
Technical Animator
www.marioreitbauer.com
Free for Hire / Softimage TD and Animator


Top
 Profile  
 
 Post subject: Re: Fur strands on displaced mesh.
PostPosted: 31 Jan 2013, 12:20 
Offline
User avatar

Joined: 09 Jul 2012, 15:31
Posts: 107
Location: Granada, Spain
You can envelope your pcloud and copy the weights via scripting (unfortunatelly GATOR doesn't work), there's no need to reevaluate the particle offset in a per frame basis :)

_________________
Image
Website


Top
 Profile  
 
 Post subject: Re: Fur strands on displaced mesh.
PostPosted: 31 Jan 2013, 13:13 
Offline

Joined: 04 Jun 2009, 11:21
Posts: 79
Location: Barcelona / EU
I don't think enveloping the pcloud will be faster then setting the position in a post simulation stack with emitlocation.pointposition + per point stored displ offset. Envelopes in xsi are single threaded as far as I know.

Would be worth a try to compare the speed differences.

_________________
Mario Reitbauer
Technical Animator
www.marioreitbauer.com
Free for Hire / Softimage TD and Animator


Top
 Profile  
 
 Post subject: Re: Fur strands on displaced mesh.
PostPosted: 31 Jan 2013, 13:32 
Offline
User avatar

Joined: 09 Jul 2012, 15:31
Posts: 107
Location: Granada, Spain
Quote:
Yes the Envelop Op and the Cage Deform Op are both multi-threaded. But the Envelop Op is the only one using GPU acceleration (if you keep the "Allow Approximate Operators" preference On and don't add other deformers on top (except if the other deformers are Envelop Ops as well).
Cheers,
Guillaume Laforge
http://groups.google.com/forum/#!msg/xsi_list/blfhmf4rqow/oHdtr_cm3H0J

_________________
Image
Website


Top
 Profile  
 
 Post subject: Re: Fur strands on displaced mesh.
PostPosted: 31 Jan 2013, 17:03 
Offline

Joined: 04 Jun 2009, 11:21
Posts: 79
Location: Barcelona / EU
Just tried to compare using an envelope and setting the point position in a post simulation ice tree.

Not sure why but setting the point position in another ice tree is quite a lot faster (with frozen modelling stack envelope 44fps / ice tree 110fps).

_________________
Mario Reitbauer
Technical Animator
www.marioreitbauer.com
Free for Hire / Softimage TD and Animator


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: xeraphine and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group