POV-Ray : Newsgroups : povray.binaries.images : using the CUBIC pattern with image_maps : Re: using the CUBIC pattern with image_maps Server Time
6 Nov 2024 22:16:35 EST (-0500)
  Re: using the CUBIC pattern with image_maps  
From: Kenneth
Date: 20 Jan 2018 12:40:00
Message: <web.5a637e511231bd02a47873e10@news.povray.org>
It occurs to me that there is another major use for this cubic pattern: as a
'cubic' environnment map. (Maybe that was the original reason for its creation?)

Fot distant environmment maps that envelop a scene--as for radiosity use or
reflections-- I always use a sphere or hemisphere as the object, with a texture
or suitable photograph on it. But 'cubic'-shaped maps can also be used. (I've
never worked with computer games or GPU processing, but it looks like cubic maps
are the main technique used there, not spherical maps.) One of the reasons seems
to be that a cubic map makes better use of the texture's pixels-- less
distortion when mapping the original texture onto the cube faces vs. the inner
surface of a sphere.

I came across an old Paul Bourke article that explains it better...

http://paulbourke.net/miscellaneous/cubemaps/


Post a reply to this message

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