POV-Ray : Newsgroups : povray.general : Color help... : Re: Color help... Server Time
8 Aug 2024 01:18:34 EDT (-0400)
  Re: Color help...  
From: Fabien Mosen
Date: 16 Jul 2001 13:39:14
Message: <3B532585.8FBFFFEC@skynet.be>
Ben Chambers wrote:
> 
> Does anyone know how I can make a texture vary depending on the
> angle from which it is viewed?  I've thought about using a radial, but that
> isn't quite what I want...  As in, the angle of incidence between the
> intersecting ray and the surface normal would act as a sort of index
> into a pigment map.

There's a soluition for you : ML-Pov, a tiny MegaPOV 7 based patch,
which has an "aoi" pattern !

http://martial.rameaux.free.fr/mael/mlpovall.zip

pigment {aoi color_map {..}}

Fabien.


Post a reply to this message

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