POV-Ray : Newsgroups : povray.advanced-users : contour mapping Server Time
30 Jul 2024 00:23:49 EDT (-0400)
  contour mapping (Message 11 to 13 of 13)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Christoph Hormann
Subject: Re: contour mapping
Date: 5 Dec 2000 12:34:24
Message: <3A2D271F.DE0ABA2D@gmx.de>
Wlodzimierz ABX Skiba wrote:
> 
> Wlodzimierz ABX Skiba wrote in message <3a2d1e3d$1@news.povray.org>...
> > and find tool in povray/links or in news/binaries which convert
> > ouputed image to array in pov
> > (I don't remeber name nor author)
> 
> but I have net :-)
> http://www.coe.uncc.edu/~adwoodfi/tga.html
> 

I think you don't need a program for that, eval_pigment is sufficient.

Anyway, using enough spheres to make a smooth pipe will take quite a lot
of time and memory.

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

From: Christoph Hormann
Subject: Re: contour mapping
Date: 5 Dec 2000 12:43:45
Message: <3A2D2951.9C95E056@gmx.de>
Paul Jones wrote:
> 
> Sorry....
> 
> What I want is this: To take a height field, which may or may not be
> visible, and to create a series of closed loops, each loop sitting on a
> specific elevation and encompasing only one "hill" of the hf. Now,
> imagine that I apply a gradient y pigment to the hf, it would be
> possible to get this effect, except that I want each "countour line" to
> be 3-dimensional, like a pipe.
> 

That makes things clearer...

I think it should be possible with an isosurface:

use the data for an image_pattern instead of the heightfield and use a
color_map similar to the one Warp suggested like:

color_map {
  [0.00 rgb 0]
  [0.59 rgb 0]
  [0.60 rgb 1]
  [0.61 rgb 0]
  [1.00 rgb 0]
}

Of course that's not enough, because the image_pattern is only 2d.  You
have to add a function for the y direction, for a round pipe it has to be
some trigonometric function.

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

From: Wlodzimierz ABX Skiba
Subject: Re: contour mapping
Date: 5 Dec 2000 12:55:17
Message: <3a2d2c05@news.povray.org>
Christoph Hormann wrote in message <3A2D271F.DE0ABA2D@gmx.de>...
> Wlodzimierz ABX Skiba wrote:
> > and find tool in povray/links or in news/binaries which convert
> > ouputed image to array in pov
>
> I think you don't need a program for that, eval_pigment is sufficient.

hmm, strange, there is no tool, I think, which make the same thing
but as macro instead of external program with output to include file
hmm, how will be first .... :-)

> Anyway, using enough spheres to make a smooth pipe will take quite a
lot
> of time and memory.

set of spheres connected with cylinders shouldn't be slow
I don't know what quality he is looking for

ABX


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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