|
|
Wasn't it twinbee who wrote:
>> 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?
You can do that with any type of object, just use a pigment function.
http://www.econym.demon.co.uk/isotut/pigfun.htm
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|