![]() |
|
|||||||
| Register | Wiki | Downloads | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| GMax and 3DS Max Use this forum to discuss your GMax and 3DS Max problems |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
[FsX] Bump maps
Hi,
I have been playing a bit with bump maps in the FsX gamepack to see how I can use them on my scenery objects. But I have not really find the best way to use them yet. Look at the attached image. On the left you see a cube with the texture without a bump map (only reflection on the windows added). The other two screenshots are from the same building with bump maps applied. As you can see the one on the right has a little bit too much "bumps", it makes the building look ugly I think. But my main problem at the moment is how the building is lighted. It seems that when I use the bump maps, that all sides are shaded almost the same. While you can see on the left how it looks without the bump map. Has anybody else seen this as well?
__________________
Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper Administrator | Former Microsoft FS MVP
|
|
#2
|
||||
|
||||
|
Needs reversing/inverting on the windows
Hi Arno,
I think the 3rd. one is O.K. But your bump map needs reversing/inverting on the windows ?? . Looks more like glass bricks than a window frame. I am not sure there is anything wrong with the lighting allowing where the shadow is. Steve |
|
#3
|
||||
|
||||
|
Hi Steve,
I still like the texture without bump maps more, it looks more natural I think. You are right that the bump map itself is not perfect, I used only a few quick filters to make it from the normal texture, as I was just seeing what bump maps can do. If you look at the image without bump maps, you see that the front polygon (the one you look at), is a lot darker than the side polygon (the one that the sun is shining at). I think this is quite realistic looking at the shadow, but with the bump maps added there is hardly a difference between the front and the side. So that looks weird to me.
__________________
Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper Administrator | Former Microsoft FS MVP
|
|
#4
|
||||
|
||||
|
Perhaps you should use bump maps in combination with volume shadows?
Then the object would cast a shadow on itself and polys facing away from sun would not be lit. Haven't tested it, tho. |
|
#5
|
||||
|
||||
|
Arno,
if you have Photohop, then you can use use this great tool from nvidia: http://developer.nvidia.com/object/p...s_plugins.html There is a few Photoshop plugins, with this you can make bump maps easier. |
|
#6
|
|||
|
|||
|
I cant test the problem because i dont have bump maps on my object when i tried you put some.
Is there any special box to check in Gmax FsX material. I have validated a gray picture in Bump maps parameters. I have tryed to change the scale in "Other textuye info" area. The gay scale picture is very scharpen (black to white). But the object is always "flat". There is not more explanation in FsXmaterial.HTML file Maybe an "enchanced parameter" to check ? Marc |
|
#7
|
||||
|
||||
|
Hi Manfred,
Quote:
__________________
Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper Administrator | Former Microsoft FS MVP
|
|
#8
|
||||
|
||||
|
Hi Marc,
Quote:
__________________
Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper Administrator | Former Microsoft FS MVP
|
|
#9
|
||||
|
||||
|
2 bump maps in fx ??
Hi all.
One thing I did notice in the FSX demo that one of the bump textures did also use the alpha channel for what appeared to be another bump map. I could be wrong but I commented at the time that one might be for in front of the plane and one for behind the plane. When I was doing bump maps for Poser I remember someone commenting that something similar might be needed in Poser for body hair. ie a positive bump. Steve |
|
#10
|
|||
|
|||
|
Quote:
Here is the reason why. Compressing the image results in severe degradation of the normal information: in fact, the RGB vectors aare no longer precisely 1 as they should be. "There is another option, but it requires that your normal map be changed around a bit and also that your shader be edited slightly. DXT5 gives the most quality to the green channel and to the alpha channel. We can take advantage of this to "hijack" the DXT5 format and turn it into a normal map compression format. First we need to re-arrange the data in the normal map. Take the red channel data (X) and put it in the alpha channel. Now make the red and blue channels black. Now we need to adjust the shader to switch the data back around for us. The shader needs to be told that the red channel data is in the alpha channel of the texture and that it needs to calculate the blue channel values itself. This is possible with a little algebra because we can assume that the vector that results from R,G, and B will be unit length one. If you are able to make these changes to both the normal map and the shader, you'll get 4 to 1 normal map compression with very little quality loss!" http://www.bencloward.com/tutorials_normal_maps12.shtml ACES has written thier Shader to utilize this rearrangement of the normal map, which allows us to use DDS/DXT5 compression. BTW, if you want to learn more about FSX's version of "bump mapping," understand that it's more commonly known as "normal mapping." Actual "bump mapping" is generally a gray-scale image with no Alpha channel. "Normal mapping" on the other hand is an entirely different concept. There's a very nice article here: http://en.wikipedia.org/wiki/Normal_mapping that explains this in greater detail. From what I've read so far, it's not clear to me that ACES themselves have fully exploited the potential in their own examples. I haven't taken the time to read this "tutorial" in depth yet, but it looks promising! http://www.bencloward.com/tutorials_normal_maps1.shtml Last edited by n4gix; 13 Mar 2007 at 13:26. |
|
#11
|
|||
|
|||
|
Ah! Here's something I found that might be relevant to the issue at hand:
"Positive or Negative Y When using Tangent Space normal maps, the most common difference in formats is the direction that the green channel is lit. Some programs light the green channel from the left (postive Y) and others light the green channel from the right (negative Y). Some programs give you the option to choose positive or negative Y. If your normal map isn't being lit correctly, the first thing that you should try is to flip the green channel. Just open the normal map in Photoshop, select the green channel, and choose "Invert." That will give you the same result as if you had rendered the normal map in the other format. " http://www.bencloward.com/tutorials_normal_maps11.shtml |
|
#12
|
||||
|
||||
|
Interesting find, but for me inverting the green channel did not work. The shading on the model is still not correct. Can somebody confirm this?
__________________
Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper Administrator | Former Microsoft FS MVP
|
|
#13
|
|||
|
|||
|
the plot thickens!
check this out! I used the green channel control on the nvidia tools filter in photoshop, inverted x and y, and the lighting DID shift...its still not right, but it changed at least which suggests a solution is around the bend. now the light is reflected differently, its overall darker, and the light is lighter off the East wall which it should and the south wall, which it shouldn't (at least the default doesn't), and the west wall and north wall is noticeable darker. |
|
#14
|
|||
|
|||
|
I have made many tests to bump and the result is same. Problem with shading when pump map is selected.
I have detected somes problems in gmax material editor : checking or not the box change nothing in map roll-up, changing the amount change nothing to. If you have select a texture, the bump effect will alway appears in FS. If you want to delete it, make a new texture. If you check a detailled texture, it don't be display, if you have put a bump texture before. If you checked a detailled texture in a texture, the detailled texture will appears in all the over textures in the scene, but without effects in FS. The rain effect is correctly work except if you have bump and detailled texture checked (check the box "use global environment as map as reflexion and try value of "reflexion scale" More tests tomorow, maybe. |
|
#15
|
||||
|
||||
|
Hi,
I fixed the shading problem with the bump maps. Bill's post contained most of the information to solve it, I just had to read it a couple of times .What I did was the following:
After that it showed up perfect on my object. Now I just have to learn how to make a good bump map to start with, so that I get a more realistic looking result in FsX .
__________________
Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper Administrator | Former Microsoft FS MVP
|
|
#16
|
|||
|
|||
|
Quote:
Since the whole operation depends on just how ACES wrote the shader code for calculating the normal's vector, we have no way of knowing whether they took the R and G vectors and added - or subtracted from the color in the Red channel to obtain the result... It's an interesting exercise to load air_tb1_2.dds and air_tb1_2_bump.dds in Photoshop, then try to "recreate" their bump map from the diffuse texture, using the nVidea plugin... I ran the same type "experiment" using ACES's default aircraft textures, since that's my primary interest of course. |
|
#17
|
|||
|
|||
|
More i test and less i anderstand.
Now i can have a detailled and bump-mapped texture in gmax, and the shading is correct, but ... look the picture with a big cylinder for test. There is a z-sorting problem and the top of the cylinder is half transparent. ![]() the diffuse color texture is in dxt3 format 1024x1024 with alpha grayscale channel the detailled texture is a 256 color, bmp format. 256x256 the bump-map texture is a 256 grayscale bmp format. 256x256 In gmax, i have first select the detailled texture and after had the bump map texture. The 2 textures are in 256x256 pixels and the same scale is enabled in gmax parameter fxsmaterial. I try to make some photoreal taxiways and it's useful to have a bump map texture on this because, when the rain effect is activate without bump-map, the ground look too glossy. |
|
#18
|
|||
|
|||
|
Yikes! There are too many boo-boos here to cover...
Suffice it to say that (a) you should be using only DXT5 compression 'cause you really do need the 8-bit alpha channel, and (b) bump textures must remain RGB format - "Greyscale" will never work, and (c) bump maps should be the same size as the diffuse bitmap, otherwise the subtleness is lost. |
|
#19
|
|||
|
|||
|
Quote:
Very old thread but I had a quick question, what command is the invert command above? Image->Adjustments->Invert? Thanks Shez |
|
#20
|
||||
|
||||
|
Hi,
That would depend on the editor you use I guess . But you need to make sure to only invert the green channel, not the entire image.
__________________
Arno If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done. FSDeveloper Administrator | Former Microsoft FS MVP
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Flag turning with the wind [FSX] | Siggy | GMax and 3DS Max | 8 | 03 Mar 2007 02:55 |
| [Fsx] Animation and shadows? | arno | GMax and 3DS Max | 2 | 20 Jan 2007 17:47 |
| Normal Maps with Painshop Pro | Rellek01 | General | 2 | 12 Dec 2006 14:58 |
| Controlling mip maps | Mick | GMax and 3DS Max | 10 | 13 Apr 2006 13:32 |
| Easiest way to place maps | bpahe | Ground2k4, SBuilder, SBuilderX | 1 | 22 Apr 2005 02:59 |