View Full Version : How to scatter?
shserge 03-17-2005, 10:15 PM How can be scattered one object along model's surface. In max seems to me there is plugin scatter for it. It scatters stones and any objects on the surface. Though I need to scatter curves.
|
|
Voldron
03-17-2005, 10:47 PM
I have used max and I think you mean you want an object to be duplicated randomly on a surface. I don't know how but that should be more clear for some one who does know.
FloydBishop
03-18-2005, 12:15 AM
Try Javier Solsona's script called scatterObject.
http://www.highend3d.com/files/search_submit.3d
I've used it a bunch in the past, and it does exactly what you've explained.
helicopterr
03-18-2005, 12:33 AM
Depends on how many objects you want to be scattered. If you want alot of objects, the best way is to use particle instancer to scatter the object first, and then run a script that gets the location and rotation of each particle instance and duplicate the intended object at that location.
You just want to scatter something like a curve all over the place, which is what I understand from what you said, you can do a script that loops a duplicate command over and over a bunch of random parameters.
Hope I am making sense
Datasage
03-18-2005, 02:01 AM
I wrote a scatter utility. It will scatter on a surface or a curve. I wrote a bunch of diffrent scatter algorithms so its not just random.
You can download it here:
http://theworldisgrey.com/mel/scScatter.zip
Or on highend 3d.
shserge
03-18-2005, 09:06 AM
Thank you very much all, guys! I will try all you give. Though i'm not at all good in mel :( I can't do some of your advances. Today i decided, that I actually need scatter curve A along curve B, which (curve B) lies on the surface and curve A's dublicates need to point outside of surface like hairs. Datasage, it's great that it's possible to scatter along curve!! I will test it!
kryoboy
03-18-2005, 09:08 AM
hmm, please show us what you have done with it.. i am intrested in its application with hair. thnx.
shserge
03-18-2005, 09:17 AM
The application is simple - I try to do paintfx sistem. The goal is to create curves on surface - pathes, and hair-curves. So i want to do more pathes and more hair-curves to control more precisely. Currently it looks bad, - i did not enough hair-curves over the head, i'm afraid to show, you may not survive :) If the result be good, i'll show :)
Nicool
03-19-2005, 10:20 PM
Or simply http://ndhaussy.free.fr/maya_object_spreading_article/
shserge
03-21-2005, 11:59 AM
thank you, it's great article :)
btw, i found that it's fast to dublicate the hair-curve and using 'make live' for scalp to move curve. also it's possible to use make live for path-curve. :)
mimo8
03-21-2005, 12:40 PM
Or simply http://ndhaussy.free.fr/maya_object_spreading_article/
wow!! great link ... good that I have passed by
CGTalk Moderation
03-21-2005, 12:40 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.