|
|
Mr schrieb:
> This is probably one of these frequently asked "I haven't understood that Povray
> is just a renderer" questions but still :
> Does povray have a way to output mesh (OBJ?) out of its primitives or CSG for
> reuse in external programs instead of shading, rendering them?
As POV-Ray does not use meshes internally to represent its primitives,
but works directly with exact mathematical representations instead
(expcept of course for meshes themselves :-)) this is not a natural
thing to do for POV-Ray.
Still, it's not entirely impossible, as POV-Ray gives you all the basic
building blocks you need: Using SDL and the trace() function, you can
hack up code to simulate a 3D scanner to generate a point cloud, which
in turn can be processed further to reconstruct a mesh representation of
the object; you can use the #fopen and #write commands to export this
information.
> This would be so
> useful in any pipeline. Any hope of it being implemented one day?
If you'd decide to actually write such a macro, then yes ;-)
Post a reply to this message
|
|