POV-Ray : Newsgroups : povray.general : How to draw 1000 particles in 3D box... : Re: How to draw 1000 particles in 3D box... Server Time
1 Aug 2024 10:11:59 EDT (-0400)
  Re: How to draw 1000 particles in 3D box...  
From: Alain
Date: 19 Nov 2005 10:58:40
Message: <437f4bb0$1@news.povray.org>
James nous apporta ses lumieres en ce 2005-11-18 20:06:
> I like to draw spheres of 1000 in 3D box. Is it possible with POV-ray?
> 
> I have 3-dimensional positions of spheres. How, I don't know how to put the
> positions of spheres of 1000 on the program. As you know, it is difficult
> to manually put position of each sphere on the program.
> 
> Thank you in advance.
> 
> 
> 
> 
If the exact position is not importent and all the particles use a relatively small
percentage of 
the volume.
Use a while loop to randomly place all your small spheres.
If the positions of your spheres are from a file, you can use Slime's proposition.
You still use a while loop to read the positions from the file and create all the
spheres. If all 
the spheres share the same texture, your better to wrap them all in an union and apply
that texture 
to the whole union. It will use a lot less memory that way: 1 texture deffinition
instead of 1000.

-- 
Alain
-------------------------------------------------
Communism: It's everybody's shit.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.