POV-Ray : Newsgroups : povray.binaries.scene-files : mesh creation macros : Re: mesh creation macros Server Time
2 Sep 2024 10:14:09 EDT (-0400)
  Re: mesh creation macros  
From:
Date: 28 Nov 2001 07:04:54
Message: <a2k90u0l561avfr1dh5tiunmdbcqod6qak@4ax.com>

wrote:
> Here are my propositions:

Another things.

1. Clipping

It could be interesting when the macros could support clipping_object.
I know - clipped_by could be added to mesh2 but with clipping on the calculation
level you can eliminate triangles outside clipping object. It could save memory
a lot.

2. Output

At this level your macros return file or memory allocation of mesh. It could be
interesting if they could return data structures: arrays with vertices, normals,
uv-vectors and triangles (they are produced temporary). It could be useful for
further ....

3. Manipulation

It could be interesting when two meshes could be joined and produce large arrays
and/or connect similiar vertices and/or smooth normals on the border. Don't
forget about PCM posiibilities.

Do you read my propositions ?

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

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