POV-Ray : Newsgroups : povray.binaries.tutorials : reflection map Server Time
9 Oct 2024 03:06:14 EDT (-0400)
  reflection map (Message 1 to 3 of 3)  
From: Muniz
Subject: reflection map
Date: 28 Mar 2005 16:15:00
Message: <web.4248733e23ade648c842928d0@news.povray.org>
Hello people,


I'm starting with pov, and I'd like to know if is there any way to use
reflection map in pov as texture?

I'm modeling a car, and I'd like to use a texture as reflection map to
render the image faster (than use reflection tag). It doesn't matter if the
reflection is realistic, how do I make it?


Thanks,
Marcelo Muniz


Post a reply to this message

From: Le Forgeron
Subject: Re: reflection map
Date: 29 Mar 2005 03:20:40
Message: <42490fd8$1@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Muniz wrote:
> Hello people,
> 
> 
> I'm starting with pov, and I'd like to know if is there any way to use
> reflection map in pov as texture?
> 
> I'm modeling a car, and I'd like to use a texture as reflection map to
> render the image faster (than use reflection tag). It doesn't matter if the
> reflection is realistic, how do I make it?
> 
HDRI ?
sky_sphere ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCSQ/Ys/YJ43cSjHIRAkCXAJ9xkkqIogpFA3hoVvRcyGC2ZFTYsACfaFxq
kKmvdfadKD4zWGAYAUqAWxQ=
=sOv4
-----END PGP SIGNATURE-----


Post a reply to this message

From: David Wallace
Subject: Re: reflection map
Date: 30 Mar 2005 00:35:10
Message: <424a3a8e@news.povray.org>
Reflection is a part of an object's finish.  Pigments and normals may be mapped 
by patterns, but not finishes.  To pull this off, the whole texture needs mapping:

#declare texShiny = texture {
   pigment { rgb <0.45,0.89,0.67> }
   finish {
     reflection { 0.23, 0.78 falloff 1 }
     brilliance 3
   }
}

#declare texMatte = texture {
   pigment { rgb <0.45,0.89,0.67> }
   finish {
     reflection { 0.00, 0.05 falloff 1 }
     brilliance 1.2
   }
}

#declare texCar = texture {
   gradient y
   texture_map {
     [0.0 texMatte]
     [1.0 texShiny]
   }
}

What I suspect you really want is to model only half the car and then create a 
mirror image.  The answer to that is even easier:

#declare CarLeft = union {
    ...
}

#declare CarRight = object { CarLeft scale <-1,1,1> }

This will simplify modeling, but it won't save trace time.

Le Forgeron wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Muniz wrote:
> 
>>Hello people,
>>
>>
>>I'm starting with pov, and I'd like to know if is there any way to use
>>reflection map in pov as texture?
>>
>>I'm modeling a car, and I'd like to use a texture as reflection map to
>>render the image faster (than use reflection tag). It doesn't matter if the
>>reflection is realistic, how do I make it?
>>
> 
> HDRI ?
> sky_sphere ?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFCSQ/Ys/YJ43cSjHIRAkCXAJ9xkkqIogpFA3hoVvRcyGC2ZFTYsACfaFxq
> kKmvdfadKD4zWGAYAUqAWxQ=
> =sOv4
> -----END PGP SIGNATURE-----


-- 
--------------
David Wallace
TenArbor Consulting
"Just In Time Cash"
www.tenarbor.com
1-866-572-CASH


Post a reply to this message

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