POV-Ray : Newsgroups : povray.general : environment mapping : Re: environment mapping Server Time
5 Aug 2024 14:17:07 EDT (-0400)
  Re: environment mapping  
From: Rafal 'Raf256' Maj
Date: 7 Sep 2002 07:15:27
Message: <Xns9282862D56F53raf256com@204.213.191.226>
Mike Williams <mik### [at] econymdemoncouk> wrote in 
news:gv8### [at] econymdemoncouk

> Another method would be to use a layered texture on your object. One of
> the layers would a mirror image image_map of the environment.

how would example code look ?
 
> But to produce the best result, and using the simplest code, I'd suggest
> actually putting your environment into the scene and allowing it to be
> truly reflected. Environment mapping is an ugly kluge for systems that
> can't manage real reflections.

I know, but env_mapping can be _much_ faster even 300% or more faster in 
scenes with strong reflections. And it can be used to generate un-realistic 
but artistic images.

> By the way, the spell checker on your news client seems to be severely
> broken.

well if it is a problem You can always fix it using Yours news-reader KF ;)

-- 
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M


Post a reply to this message

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