POV-Ray : Newsgroups : povray.general : Status of Moray? : Re: New SDL for POVRay Server Time
19 Jul 2025 04:45:56 EDT (-0400)
  Re: New SDL for POVRay  
From: Bruno Cabasson
Date: 4 Oct 2007 12:15:00
Message: <web.470510aae7dc7428e8ba46670@news.povray.org>
Warp <war### [at] tagpovrayorg> wrote:
> Fa3ien <fab### [at] yourshoesskynetbe> 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

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