POV-Ray : Newsgroups : povray.newusers : Rendering voxel-style functions in Povray : Re: Rendering voxel-style functions in Povray Server Time
5 Oct 2024 15:43:24 EDT (-0400)
  Re: Rendering voxel-style functions in Povray  
From: twinbee
Date: 6 Sep 2009 13:35:00
Message: <web.4aa3f1f519a8cf54813aa4820@news.povray.org>
> There are a couple options.  I would probably recommend isosurfaces if you don't
> actually NEED the grid representation.  It just boils down to a root-finding
> problem.  That means you can specify an arbitrarily complex function without
> the need for grids.  I won't go into much detail since others have said it
> better:
>
> http://www.povray.org/documentation/view/3.6.0/73/
>
> If you do need a voxel representation, then df3 is the way to go.  Again, the
> following page gives an excellent description.  You can also use it to create
> surfaces (i.e. not just volume-rendering), but unless you need more detail
> here, I won't get carried away.
>
> http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/df3/

Hi Ricky, thanks. That page has a sphere function which is very similar to mine
- great stuff.

My only concern is that an isosurface won't be able to support the colour of
each bit of the 3D object. With my function I originally posted, one may be
able to say that for each x/y/z 'voxel', to do some extra processing to
determine the colour for that bit of object (say based on how its y position or
something). Is that not possible with the isosurface approach?


Post a reply to this message

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