POV-Ray : Newsgroups : povray.newusers : Render to geometry / tesselate CSG : Re: Render to geometry / tesselate CSG Server Time
5 Oct 2024 15:24:39 EDT (-0400)
  Re: Render to geometry / tesselate CSG  
From: clipka
Date: 6 Oct 2009 15:14:58
Message: <4acb9732$1@news.povray.org>
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

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