|
![](/i/fill.gif) |
Am 03.12.2011 05:14, schrieb Patrick Elliott:
> The idea being to use POV-Ray to produce "both" the displacement map,
> which is to be converted to mesh, and the "UV texture", which will be
> applied to it. I know you could do it with a Mesh_Camera, as per the
> first site, but that still means building the original mesh in something
> else, and importing it, instead of doing the whole thing in SDL.
The problem is that the mesh camera concept only works for objects with
a well-defined UV mapping. It could theoretically be extended to simple
shapes such as spheres, boxes and such (as these do have a defined UV
mapping), but certainly not for complex CSG stuff.
Even if it was possible to auto-generate a mesh from CSG, automatically
finding a suitable UV mapping would be yet another challenge.
Post a reply to this message
|
![](/i/fill.gif) |