|
|
> I wrote a program that export geometry to POV file and I have a problem.
> POV-Ray want something like that:
SNIP
You don't have to supply a texture for each triangle. That's optional. The
untextured triangles will then just inherit the texture applied to the mesh,
so that'd be
mesh{ triangle{...} texture{...}}
instead of
mesh{ triangle{... texture{...}} texture{...}}
Additionally, for your normal vectors, there's smooth_triangle, which
requires 6 instead of 3 vectors:
smooth_triangle{
Corner_1, Normal_Vector_1,
Corner_2, Normal_Vector_2,
Corner_3, Normal_Vector_3
}
But that's all in the docs, just read more carefully. :-)
Regards,
Tim
--
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de
Post a reply to this message
|
|