POV-Ray : Newsgroups : povray.newusers : Visualization of a sand grain : Re: Visualization of a sand grain Server Time: 16 Jun 2019 06:37:53 GMT
  Re: Visualization of a sand grain  
From: Alain
Date: 1 Apr 2019 21:55:33
Le 19-04-01 à 02:22, Wallace a écrit :
> Hi folks, I am new to the software and this community. I am a year 4 civil
> engineering student. To finish my final year project, I am required to learn
> this software. I use Pack3D in matlab to generate some particles with a lot of
> xyz coordiantes as well as radius from central point. I wonder how could I use
> Povray visualize a single particle with lots of x-y-z coordinate. I cant find
> the correct coding for my visualization. Hope can find some help here. Thank
> you!
> 
> 

When you say «visualize a single particle with lots of x-y-z coordinate.»
Do you mean a particle at a given coordinates from a list of 
coordinates, or a complex particle whose vertices are defined by those 
coordinates ?

In the first case, you simply iterate through the list of coordinates 
until you get to the desired ones and place some object there.
You may place some object at each set. Make them all transparent except 
the one that interest you.

In the second case, you need to generate a mesh from those coordinates, 
then, place it in your scene so that it can be rendered.


Post a reply to this message

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