|
![](/i/fill.gif) |
Hi,
I was wondering - would this be difficult to oputput additional
informations from POV-RAY, like i.e.
- distance from camer of some point (can be useful to use in some other
programs, games etc)
- is sky sphere / background hit - can be used for making transparent gif's
- as above, but in % for partial transparent objects (AFAIR, this is
possible now, by usnig .png file)
- saving ID of object useful for games, programs.
Example :
sky_sphere { ... NameId 0 }
object { MonsterHead NameId 1 }
object { MonsterBody NameId 2 }
an example output file (monster.id)
5,5
monster.pov PovRay 3.5 Beta
0,0,0,0,0
0,0,1,0,0
0,1,1,1,0
0,0,2,0,0
2,2,2,2,2
2,2,2,2,2
This file can be used in game to implement diffrent damage for parts of
monster sprite
making additional output files should be realy easy, and very usefully.
I will try to write some code (ANSII C), but I'll need help with puting
this code togeather with main POV sources, will somebody help me :) ?
--
Post a reply to this message
|
![](/i/fill.gif) |