POV-Ray : Newsgroups : povray.general : "Smoothing" a mesh2 object : Re: "Smoothing" a mesh2 object Server Time
30 Jul 2024 04:11:54 EDT (-0400)
  Re: "Smoothing" a mesh2 object  
From: Reactor
Date: 3 Oct 2009 04:50:00
Message: <web.4ac70f71cd70e167f60427b0@news.povray.org>
"Inquisitor" <dec### [at] sybasecom> wrote:
> "mone" <mon### [at] alienenterprisesde> wrote:
> > "Inquisitor" <dec### [at] sybasecom> wrote:
> > I don't know if this is of any help in your case, but to smooth any mesh objects
> > I always use the freeware program poseray http://mysite.verizon.net/sfg0000/ and
> > then import the generated include file to POV-Ray. Huge files, but very good
> > results.
>
> I was hoping for something either built into POVRay or a script to handle it.

There is the subdivision patch of POV 3.6 here:
http://www.cise.ufl.edu/~xwu/Pov-Sub/
I've used it quite a bit with Wings3D models, and it works well, and quickly
too.

> I need it to be a more automated process.  Unfortunately, I'm doing this for a
> video and the current (un smoothed) mesh is calculated for every frame for
> multiple "wave trains" from multiple directions.  So generating the mesh and
> then exporting the data to be process and then reloaded would make a month long
> rendering into a year long rendering.

Wait... wouldn't pre-generating it (externally), then loading it be faster?  If
you are calculating it directly in POV using functions and macros, native code
would likely be *many* times faster.


> But thanks... at least it confirms that it wasn't built in and I was just
> overlooking something obvious.  I guess, I'll just have to do the vector math in
> the script from scratch.  Just a little disappointing that POV-Ray does it...
> just not exposing it on Mesh or Mesh2 as an option.

If the functions are in POV, can this be done using the isosurface object?  With
the correct bounding shape, isosurfaces with smallish gradients render pretty
quickly.


-Reactor


Post a reply to this message

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