Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Anyone know what the 'cubes' do?  (Read 2464 times)

0 Members and 1 Guest are viewing this topic.

Checkyersix

  • Modder
  • member
  • Offline Offline
  • Posts: 1221
  • Dr. Frankenplane
Anyone know what the 'cubes' do?
« on: January 30, 2011, 06:45:57 AM »

Every map load.ini has this section:

[CUBE]
Down  = Cube_bott.tga
East  = Cube_right.tga
North = Cube_front.tga
South = Cube_back.tga
Up    = Cube_top.tga
West  = Cube_left.tga

Does anyone know what they do, or where the files are located? I suspect this has something to do with the way the atmosphere gets whiter in the distance (annoying at night...) Anyone know for sure?
Logged

redko

  • member
  • Offline Offline
  • Posts: 530
Re: Anyone know what the 'cubes' do?
« Reply #1 on: February 06, 2011, 01:36:31 AM »

Should ask to Avala.
I remember him speaking about this somewhere but i can't remember the post  ::)
Logged

Uufflakke

  • Modder
  • member
  • Offline Offline
  • Posts: 2078
Re: Anyone know what the 'cubes' do?
« Reply #2 on: February 06, 2011, 02:23:47 AM »

Quote:Cube maps (also known as environment maps) are comprised of a series of six images that correspond to the sides of a cube.
The purpose of which is to capture a 360 degree view of the player's surroundings so that in game you can...

-fake the appearance of a sky or surrounding environment
-fake the appearance of environmental reflections

http://www.modwiki.net/wiki/Cube_maps

Something like this:

Logged
"The Best Things In Live Aren't Things"

fenbeiduo

  • Senior Newbie
  • member
  • Offline Offline
  • Posts: 53
Re: Anyone know what the 'cubes' do?
« Reply #3 on: March 06, 2011, 07:17:35 AM »

THX 'flying pig' 8)
Logged

Fusek

  • member
  • Offline Offline
  • Posts: 349
Re: Anyone know what the 'cubes' do?
« Reply #4 on: March 06, 2011, 07:48:37 AM »

Does someone have a example of how that would look like in IL2?
Logged

_AUS_Salmo

  • member
  • Offline Offline
  • Posts: 210
Re: Anyone know what the 'cubes' do?
« Reply #5 on: March 06, 2011, 08:56:31 AM »

Very intyeresting. So presumably, the sides of the cube are generated dynamically by the program code? If this is so, then why have the need to specify the cube at all in the load.ini?
Logged
Pages: [1]   Go Up
 

Page created in 0.036 seconds with 24 queries.