|
 |
Warp <war### [at] tag povray org> wrote:
> Fa3ien <fab### [at] yourshoes skynet be> wrote:
> > Good example. Imagine you have a mesh which requires subdivision, and are
> > making an animation. If POV-Ray performs the subdivision, various instances
> > of the mesh could be subdivised at different levels, according the distance
> > from the camera (thus optimizing memory requirements and rendering time).
> > It wouldn't be easy to get that with an external tool.
>
> Also: Being able to subdivide using POV-script allows more flexibility.
>
> For example, suppose you want to subdivide the mesh only at parts which
> are outside of a given object, but not in parts which are inside. Or you
> want to subdivide only at places where the mesh is green.
> Those kinds of things would be simply *impossible* with a third-party
> tool.
>
> --
> - Warp
Can we imagine a fragment of code like this:
my_mesh = mesh { ... } // or: pov.primitive.Mesh.read("body.msh");
my_mesh.nose.subdivide(...);
my_mesh.nose.smooth(...);
Bruno
Post a reply to this message
|
 |