• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Environment map in Blender

Dutcheeseblend

Resource contributor
Messages
1,541
Country
netherlands
Hi all,

Some of you might have encountered my last post in my Fokker D.21 thread. Anyway, I'm working on Environment Maps. Yesterday I made one of a global scenery, so ground and air actually.

custom_envmap03.png


I needed to apply some Edge Fixup to achieve a more or less seamless cube. Remember, I made the screenshots in FSX myself.

But, of course the glass of the gauges don't reflect the green meadows since there aren't meadows in the cockpit. So, I neede to make an environment map of the cockpit.
Blender has lots of possibilities so I decided to make that map by Blender.

This is the result. Keep in mind that I first got a result with the typically grey background behind the windows. In Gimp, I put my envmap screenshots there and put everything together with Ati. Just observe, the Blender created map is 99,999% seamless!

newcockpitmap.png


Let's give you a hand on how to do this. (Ok, I learned this also from the web)

First, create a cube at the viewpoint you want (I guess this should be the pilot's viewpoint as specified in the aircraft.cfg).

envmap_step_01.png


Now, create a material and a texture for the cube and give the texture the following settings:

envmap_step_02.PNG


So you should change the Type to Environment Map, select the Static Environment Map, let the mapping be Cube and select your cube as the Viewpoint object.

Got that? Start rendering by pressing F12 now.

Drink a cup of coffee...

Ok, once the rendering process is finished, hit the downarrow next to the knobs of 'Static' 'Animated' and 'Image File' and select 'Save Environment Map'. Now you have created the map, it should look as follows:

envmap_step_03.PNG


Remember that this is not a suitable FSX environment map. You need to create one by using the Ati CubeMapGen (find it on the net:http://developer.amd.com/tools-and-sdks/archive/legacy-cpu-gpu-tools/cubemapgen/ )

There, you should add each tile of the abovepictured image. The tiles are as follows:
-X -Z +X
-Y +Y +Z

You could edit this file in a painting program to separate every tile.

Add them using the knob 'Load CubeMap Face', after selecting the right Cube Face in the dropdown above that knob.

envmap_step_04.PNG


Basically, that's it! Save your file using Save CubeMap (.dds).

Hope you can use it!
 
Put a more expanded version of this on my blog, including how to apply this map to an Blender/FSX model.
 
Nice one, Dutchie! Didn't know that ATI Tool... However, you will find that Envmaps in the VC are not static to the aircraft, but rather follow pitch, bank and yaw of the aircraft. This really shows when you have big glass screens in the cockpit.
 
Thanks capt_x, discovered this also :oops::oops::oops:

Well, I'd better search for some way that is still could be used ;)
 
Back
Top