PDA

View Full Version : Modelling with particles


Heaven871
09-13-2003, 02:47 PM
This is a little tutorial about placing many many objects with the help of particles on a surface.

The scripts included are very well documented and can easily be manipulated.

Feedback very welcome.

Tutorial here (http://www.garryrunke.com/tutorials/ObjectsToParticles/ObjectsToParticles.htm)

Have a great day.

http://www.garryrunke.com/tutorials/ObjectsToParticles/Example.jpg

robin
09-13-2003, 03:24 PM
:)


Funny stuff here ....

DeathBrain
09-13-2003, 06:06 PM
NNnniiicee...:applause:

Heaven871
10-05-2003, 11:34 AM
Finally had some time and fixed the name problem.

Now it's of no importance how you name your particle object. I think this line of code alone is worth checking it.

This week, 3 people asked me 3 totally different questions, but all had the same problem. How to mangle a string with attributes and make it work.

Have a great week
:beer:

stallion151
10-05-2003, 11:58 AM
instead of using make collide you can make the surface live and place the particles exactly where you want them too.

Heaven871
10-05-2003, 02:19 PM
Yeah stallion151.
:hmm: Okay, that's a point. For a second I was really worried how dumb I am, buuuuuut ..

As soon as you want to have a radius greater than 0 when painting, these particles are no longer on the surface.

Why would one need this? When painting a forrest, or a terrain at all, I don't want to click dozens of times, I want it to be spreaded randomly, stuff like that.
I just love painting particles with a radius.

But for a second you really shocked me, good work man. :thumbsup:

stallion151
10-06-2003, 03:59 AM
thats the plan :p shock and awe :cool:
i am only here to make myself seem more intelligent...don't tell anyone i am faking it.

stallion151
10-06-2003, 04:13 AM
don't be alarmed just thinking aloud, would conserve stop your particles from moving on the surface? if you animated the value so that when a majority of particles hit, the conserve is lower.

I've seen a few pieces from the German Film School, must say they're up there with the best. :)

Heaven871
10-06-2003, 08:43 AM
Thank you very much. When signing the GFS contract you are bound with a metal chain to your computer, just bread and water, 3 years. Something good has to come out of that.
Just kidding, but it's a really hard university.

Now I tried all of it, lower the gravity, all conserve values, higher friction, nothing. These particles are unstoppable.
Sure, one can generate a new particle when hitting the terrain, but hey, what's going on?

I think it's the mathematics behind the simulation, gravity is added every frame, so they jump or roll a little bit. Instead of ignoring the gravity when hitting a surface and resilience of 0 and friction of 1. Just one line of code :blush:

stallion151
10-07-2003, 01:39 AM
i'd say it is your computer, to why the particles still move....ahh its gotta bug....better chuck it away. (their no good after they get a bug)

CGTalk Moderation
01-16-2006, 03:00 AM
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.