POV-Ray : Newsgroups : povray.advanced-users : BoxCubeEnvironment Mapping : Re: BoxCubeEnvironment Mapping Server Time
5 Jul 2024 15:32:05 EDT (-0400)
  Re: BoxCubeEnvironment Mapping  
From: Chris B
Date: 30 Apr 2008 14:31:59
Message: <4818bb1f@news.povray.org>
"Woody" <nomail@nomail> wrote in message 
news:web.4818ac948fad940b94e61a50@news.povray.org...
> How does one go about creating a Box\Cube\Environment Mapping. I realize I 
> may
> be asking a very general question, but is there a specific method? I 
> notice
> there isn't anything similar that can be used in the image_map keyword.
>
> Let's say I wanted the outside world reflected onto a cube made out of a 
> mirror
> material? What about the same, except for a sphere?
>
> -Jeff
>


Hi Jeff,

You should be able to use uv_mapping to map an image_map to a box.

If you want a reflective object mirroring the environment you can use a 
finish of 'reflection 1'. You can use the sky_sphere with an image_map to 
display an image around the scene to provide something to reflect.

If you don't want to see the original image you can use a big sphere in 
place of a sky_sphere with the no_image object modifier which will give you 
the reflection without the image itself. If using a sphere in this way 
you'll need to scale up the pigment containing the image_map.

Regards,
Chris B.


Post a reply to this message

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