POV-Ray : Newsgroups : povray.binaries.images : Re: blurring bump map image in pov ? : Re: blurring bump map image in pov ? Server Time
7 Nov 2024 13:38:19 EST (-0500)
  Re: blurring bump map image in pov ?  
From: Christoph Hormann
Date: 30 Jul 2004 13:05:02
Message: <cedv11$v1r$1@chho.imagico.de>
Jaap wrote:
> [...]
> 
>   #declare myFloat = (myFunction(x,y,z).red); // ???????????????

This won't work (and before you continue you should spend some time to 
understand why not - you are calling myFunction(<1,0,0>,<0,1,0>,<0,0,1>)).

To have a conditional in a function use select().

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 06 Jul. 2004 _____./\/^>_*_<^\/\.______


Post a reply to this message

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