POV-Ray : Newsgroups : povray.general : Envelope deformation : Re: Envelope deformation Server Time
9 Aug 2025 17:37:40 EDT (-0400)
  Re: Envelope deformation  
From: Bald Eagle
Date: 31 Jul 2025 11:55:00
Message: <web.688b91d027ff6620e6b881e925979125@news.povray.org>
Josh English <Jos### [at] joshuarenglishcom> wrote:

> My box modeler does this by extracting each face and generating the
> bicubic patches for each side.
>
> The problem as I see it is how do I tell my modeling system "this bit is
> flat but that bit is round"?

Need way more information and context to offer intelligent advice / solution.
Where is your input coming from?
Flat and round where?  On the edges?  On the face?
Can you use trace () ?
Maybe you need iterative interaction like I did with my analytical tangent
scene.
Details.

> As for the irregular grids, it's also not a matter of finding the
> quadrilaterals and drawing them, it's a matter of creating them and
> keeping track of them so I can traverse the irregular relaxed grid.

When I was making the Bezier stitched torus, I had my shape that was defined by
a set of parametric equations.  So I wrote macros to use where I was on the
parametric to find what patch I was on, and where in that patch I was.

Provide a workflow, diagrams, examples, etc - and there are surely solutions for
doing this.
If people are already doing it in other languages / software packages, we can
surely do it in POV-Ray.

> And yes, this is exactly all for this wave function collapse thing I'm
> building.

I see you like to bite off huge projects like I do  :D


Post a reply to this message

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