|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello !
I create this image http://imgur.com/e6ICY.png .
1.For some reason, I want to know the information of polygons.These polygons are
on this cylinder and illuminated by reflex light from the ground.I want to know
information such as polygon coordinate , normal vector ...etc.
2.After I find those information,I want to change some properties of these
polygon,such as color or reflection.
So what source code I should modify to conquer above two questions?
Any suggestion would be OK!
Thanks a lot !
tltsai
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Greetings,
Le 24/11/2010 20:36, tltsai nous fit lire :
> Hello !
>
> I create this image http://imgur.com/e6ICY.png .
>
A cylinder on flat box.
> 1.For some reason, I want to know the information of polygons.These polygons are
> on this cylinder and illuminated by reflex light from the ground.I want to know
> information such as polygon coordinate , normal vector ...etc.
>
Huh ?
Which polygons ? The cylinder is not made of polygon, that's the
difference of Povray.
> 2.After I find those information,I want to change some properties of these
> polygon,such as color or reflection.
>
> So what source code I should modify to conquer above two questions?
How did you make the image ?
>
> Any suggestion would be OK!
A classical RTFM ? Might be a bit rude ?
A bit of direction about using trace() in your scene
Try the documentation at http://www.povray.org/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
It looks like your box and cylinder are POV-Ray 'primitive shapes'--meaning,
they are not polygons, but generated by POV-Ray from mathematical
functions--which means they have (almost) infinite precision, and you can get
closer and closer to them and they will still look smooth.
So there is no way to get 'polygon information' from such shapes.
POV-Ray doesn't 'create' polygon models (although there are exceptions--see
"shapes.inc", for example.) Polygon models are usually made in some other
modeling program, then imported into POV-Ray for rendering.
Ken
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Kenneth" <kdw### [at] earthlinknet> wrote:
> POV-Ray doesn't 'create' polygon models (although there are exceptions--see
> "shapes.inc", for example.)
I forgot to mention POV-Ray's very useful height_field--it IS made of triangles,
but the 'polygon information' for it isn't available to the user.
Ken
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |