POV-Ray : Newsgroups : povray.pov4.discussion.general : Docs and source code for various objects : Re: Docs and source code for various objects Server Time
15 Sep 2025 08:10:59 EDT (-0400)
  Re: Docs and source code for various objects  
From: ingo
Date: 3 Sep 2025 04:00:00
Message: <web.68b7f44b1cfdbd1917bac71e8ffb8ce3@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> What do you all think?  Discuss.

Yes.

But, for all objects. It means we'd need a whole mesh library (openMesh etc.?)
to build on.

quite a bit of "all" objects can be represented as parametric.
sphere(
  0, 1
  resolution = <60, 30>
)
resolution triggers the system to create the parametric sphere, instead of the
solid.

tracing parametrics "always" requires some form of iteration like Newton-Raphson
/ iterative root-finding, subdivision / bounding volume hierarchy, Bezier
clipping etc.

One can use a "coarse" mesh as starting point and then do subdivision to
subpixel level, using the parametric eq set.

A side effect that I would welcome, if we can generate internal mesh of objects,
global meshify setting, we can do openGL pre-views.

An other side effect, subdivision modelling, though purely by script it's not
fun.

If I could write POVRAY5, i'd look into language and parsers in such a way that
it can spit out multiple things to serve multiple rendering back ends.

ingo


Post a reply to this message

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