POV-Ray : Newsgroups : povray.unofficial.patches : Isosurface+pigment...surface imperfections Server Time
3 Sep 2024 00:14:35 EDT (-0400)
  Isosurface+pigment...surface imperfections (Message 11 to 11 of 11)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Jerome M  BERGER
Subject: Re: Isosurface+pigment...surface imperfections
Date: 16 Aug 1999 22:20:32
Message: <37B8C6F1.8FE3D910@enst.fr>
"SamuelT." wrote:
> 
> I remember seeing that image now. So the density_map is really a number of  images
> layered upon one another?
> 
	Let's put it this way: when you make an image you actually make a 2D
array of points and you specify a color for each point, when you make a
density_map you create a *3D* array of points and you specify a color
for each point. This allows you to determine very precisely the 3D
appearance of a pattern: let's say you wanted a conic pattern that goes
from 0 on the y axis to 1 when the distance from the y axis is greater
than y, this is impossible in standard pov. You can try making an
approximation with a gradient y and cylindrical patterns of growing
size, but a moe accurate (and probably faster) way to do it is to create
a density map which will represent what value your pattern should take
at each point in space (ok, like a pic you only define it on a ragular
array of points) and use it directly.
	You could see it as a pile of image_maps each one being only a fraction
of an unit high, was that what you meant?

		Jerome

-- 
*******************************

* they'll tell you what can't * mailto:ber### [at] inamecom
* be done and why...          * http://www.enst.fr/~jberger
* Then do it.                 *
*******************************


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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