POV-Ray : Newsgroups : povray.general : Color help... : Re: Color help... Server Time
7 Aug 2024 19:20:38 EDT (-0400)
  Re: Color help...  
From: John VanSickle
Date: 15 Jul 2001 16:29:07
Message: <3B51FEDE.2FFD6732@erols.com>
Ben Chambers wrote:
> 
> jim charter wrote:
>
> > 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.
> >
> > Perhaps if you built your own mesh to describe the surface you could
> > apply a color calculation to individual triangles.
>
> Unfortunately, then the colors would be fixed.  What I want is similar
> to those cars that change color based on the angle from which you view
> them. Its not a real high priority for me right now, so I'm not too
> sure I want to try out POV-Man for it yet, but when I _do_ really need
> it now I know where to go.

If the colors were calculated based on the current camera settings,
and the .INC file called only after the camera settings were made,
then it should be no difficulty animating it.

Regards,
John
--
ICQ: 46085459


Post a reply to this message

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