POV-Ray : Newsgroups : povray.beta-test : Can POV make use of 48 bpp color images as detailed height fields? : Re: Can POV make use of 48 bpp color images as detailed height fields? Server Time
30 Jul 2024 18:20:08 EDT (-0400)
  Re: Can POV make use of 48 bpp color images as detailed height fields?  
From: Warp
Date: 12 Oct 2001 18:01:31
Message: <3bc7683b@news.povray.org>
It seems that I have been using heightfields for years without realizing
that it doesn't do what I thought. This is perhaps because I use almost
exclusively b/w images.
  I must confess that I don't understand the logic behind the current
behaviour. Wouldn't it be more logical to just convert the color to b/w and
take that as height?

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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