POV-Ray : Newsgroups : povray.general : Isosurfaces in v3.5 and how to convert them to heightfields? : Re: Isosurfaces in v3.5 and how to convert them to heightfields? Server Time
20 Nov 2024 08:32:54 EST (-0500)
  Re: Isosurfaces in v3.5 and how to convert them to heightfields?  
From: Christoph Hormann
Date: 9 Oct 2001 12:22:07
Message: <3BC3242E.9BC9CF40@gmx.de>
Hugo wrote:
> 
> [...]
> 
> I don't know how to solve that.. But sometimes it would also be great to
> convert ISO's to bitmaps so they can be used as heightfields.. I read the
> documentation for POV 3.5 and I only see the possibility of making 255
> slices of an isosurface, each of them with a "pigment object" that is either
> on/off... Remember the "pigment { object { ...." keywords? Then I put these
> 255 pigments on 255 boxes, all of them with a transparant white color. Then
> the camera + light in front of it.. If it sounds confusing, maybe this code
> explains my idea, although you can't render anything with it:
> 

Apart from what others said it should be mentioned that not all
isosurfaces can be converted to heightfields, although functions of the
form

  function { z - funct(x, y, 0) }

can be easily converted with the method Thorsten mentioned.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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