[x3d-public] Tessellation…convert to IFS?

John Carlson yottzumm at gmail.com
Sat Apr 22 14:48:46 PDT 2023


I forgot i had all this code!

https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/node/convertJsonToStl.mjs

For example, look at SixSided.

Thanks,  now to do all the other shapes!

John

On Sat, Apr 22, 2023 at 4:32 PM GPU Group <gpugroup at gmail.com> wrote:

> Depends what you're doing. Assuming you're starting with a point cloud, if
> you're tessellating something almost flat, and with irregular points, then
> you can use something like Delaunay algorithm to optimize the edges between
> points to give triangles that are more equi-angular.
> If you are on a 3D dimensional surface, but know its close to being convex
> -- like a sphere or cube -- then you can move the planar math around a
> spherical center, and crop points in the distance / on the other side of
> center when triangulating.
> Or you can remove and add points from a pre-triangulated sphere (I just
> made this up). Looking orthogonally at an existing triangle on your sphere,
> add a point from your point cloud, to the appropriate triangle, based on
> its yaw and pitch, or latitude, longitude, while ignoring its
> radius/height. When you have all your points added, then start removing the
> sphere's points. After each step of adding (or removing sphere points at
> the end), do Delaunay recursive triangle swaps on the local plane.
> Or ask ChatGPT - it might know.
> -Doug
>
> On Sat, Apr 22, 2023 at 3:05 PM John Carlson <yottzumm at gmail.com> wrote:
>
>> When one is tessellating a shape, like Box, is it typical to convert to
>> IFS?
>>
>> Thanks!
>>
>> John
>>
> _______________________________________________
>> x3d-public mailing list
>> x3d-public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230422/7b462d9a/attachment.html>


More information about the x3d-public mailing list