PDA

View Full Version : xpresso question


mm149047
07-06-2009, 08:26 AM
hi everyone!
i am preparing a model for rapid prototyping. so, in order to convert the model to volumetric i could need some xpresso advice. basically i add thickness to the model, with the explode tag. an xpresso switch drives the thickness value. now, as the model is a pipe with varying radii i need to take car of another detail: the thickness should not go below 0.6mm (for rp technical resons). my question: how can i limit the xpresso calculation process, so that the thickness does not go lower than this desired value?

thanks for reading
markus

www.humanchaos.net

Srek
07-06-2009, 08:30 AM
Maybe you can post the scene here? I'm having a hard time imagening your setup from the verbal description.
Cheers
Björn

Horganovski
07-06-2009, 12:41 PM
Just a quick guess: if you're driving the explosion fx from the radius of the pipes using a RangeMapper node, then it should just be a matter of setting an appropriate range and enabling the 'Clamp Lower' option on the RangeMapper to set a lower limit it won't go beneath.

HTH,
Cheers,
Brian

mm149047
07-06-2009, 01:24 PM
Just a quick guess: if you're driving the explosion fx from the radius of the pipes using a RangeMapper node, then it should just be a matter of setting an appropriate range and enabling the 'Clamp Lower' option on the RangeMapper to set a lower limit it won't go beneath.

HTH,
Cheers,
Brian

brian!
that sounds very promising ... will try later today.
@ srek: here's what the model looks like. it's a sweep nurb running through a 2500 data point spline. i will post the xpresso switch also later today.

btw: can someone think of a method to get the polycount on such a structure under control? at the moment i have some 2 million polys (the width/volume added). is optimizing and adjusting the spline settings all i can do? http://lh6.ggpht.com/_SDTooG5MPdk/SjarLSaqDmI/AAAAAAAALh4/4DyZOUj2vVM/s400/CINEMA%204D%20-%20%5Bdicke2.c4d%20%5D%2015.06.2009%20220905.jpg (http://picasaweb.google.de/lh/photo/FKuSH4g1aAgGGG7QywvYzA?authkey=Gv1sRgCNznnfDp7dOC8QE&feat=embedwebsite)

mm149047
07-06-2009, 09:01 PM
Just a quick guess: if you're driving the explosion fx from the radius of the pipes using a RangeMapper node, then it should just be a matter of setting an appropriate range and enabling the 'Clamp Lower' option on the RangeMapper to set a lower limit it won't go beneath.

HTH,
Cheers,
Brian

brian -- your hint seems to be exactly what i was looking for. just to make sure i am doing the right thing.
clamp low
input low and input high - set to 0% and 100%
output low and output hight - set to 1% and 100% (given i do not want to go below 1 percent of the input value) is that the way?

CGTalk Moderation
07-06-2009, 09:01 PM
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.