FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > Aircraft Design > Graphics

Graphics Use this forum for all your graphics (eg. textures) related discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 23 Nov 2007, 15:08
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,522
Converting CrazyBump Normal Map to FSX Bump Map...

The chief "problem" with converting the "Normal Maps" that are produced by CrazyBump is that even when run through ImageTool.exe using the correct command line parameter list the Blue Channel retains it's "normal component" instead of reverting to pure white as per the FSX SDK specifications.

IMAGE TOOL:
If you plan to use ImageTool.exe to convert the "Normal Map" to an "FSX Bump Map," simply use your Paint program to remove the "normal component" from the Blue Channel. IOW, "paint it pure white!" Then, select the Green Channel's "normal component" and Invert the image in that Channel. ImageTool.exe will - with the correct parameter list - will "move the Red Channel components" to the Alpha Channel, flip the image, and save the file automatically.

PHOTOSHOP CS:
Below are two pictures illustrating how we can correct this problem using Photoshop CS:

In the image below is the output file that CrazyBump generated for the C172 default aircraft:



Here is the "Bump Map" after applying the "fixes required" prior to "flipping vertically" and saving directly from Photoshop to DDS/DXT5 format.

__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com

Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit
Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit
NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Reply With Quote
  #2  
Old 24 Nov 2007, 13:00
Heretic's Avatar
Heretic Heretic is offline
  germany
Location: BER
Join Date: Feb 2007
Posts: 1,659
Bill, I've tried your tutorial with GIMP 2.4, but it somehow doesn't work out. My FSX output looks like this:





What am I doing wrong? Or might GIMP be the cause, although I could colorize and flip the channels with it?
Or is my 3DSM7 model faulty?
__________________
Björn K. - 10²² polies, 5000 materials, 70000 drawcalls

FSX: Dornier 328 (FSX), Convair 580 (FSX conversion)
FS9: Boeing 737-200 (FS9)
Reply With Quote
  #3  
Old 24 Nov 2007, 21:54
Heretic's Avatar
Heretic Heretic is offline
  germany
Location: BER
Join Date: Feb 2007
Posts: 1,659
No success either with PS CS3.

Did the whole dance, but the model retains its blueish appearance.

*Sigh*
No bumps for my airport, I guess.
__________________
Björn K. - 10²² polies, 5000 materials, 70000 drawcalls

FSX: Dornier 328 (FSX), Convair 580 (FSX conversion)
FS9: Boeing 737-200 (FS9)
Reply With Quote
  #4  
Old 25 Nov 2007, 13:17
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,522
Quote:
Originally Posted by Heretic View Post
What am I doing wrong? Or might GIMP be the cause, although I could colorize and flip the channels with it?
Or is my 3DSM7 model faulty?
How are you specifying the 'bump map' in Max7? From the screen shots it appears as if you put the 'bump map' texture assignment in the Diffuse Color slot instead of the "Bump" slot...
__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com

Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit
Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit
NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Reply With Quote
  #5  
Old 25 Nov 2007, 14:12
Heretic's Avatar
Heretic Heretic is offline
  germany
Location: BER
Join Date: Feb 2007
Posts: 1,659
Quote:
Originally Posted by n4gix View Post
How are you specifying the 'bump map' in Max7? From the screen shots it appears as if you put the 'bump map' texture assignment in the Diffuse Color slot instead of the "Bump" slot...
Nope, the slots are okay in Max.

I'm using "Blinn" in the "shader basic parameters", with "2 sided" ticked 'though. Might this be an issue?
__________________
Björn K. - 10²² polies, 5000 materials, 70000 drawcalls

FSX: Dornier 328 (FSX), Convair 580 (FSX conversion)
FS9: Boeing 737-200 (FS9)
Reply With Quote
  #6  
Old 25 Nov 2007, 18:20
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,522
Honestly, I have no idea at all. From the examples in the default \Texture folder, it's clear enough that Bump maps are supported, so...

Have you set the FSX Material properties as outlined by the illustration in the "New Aircraft Proceedures: General Material" document?
__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com

Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit
Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit
NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Reply With Quote
  #7  
Old 25 Nov 2007, 20:00
Heretic's Avatar
Heretic Heretic is offline
  germany
Location: BER
Join Date: Feb 2007
Posts: 1,659
Okay, problem solved.

You should never mistake a bump map for a detail map...keep that slot in the FSX materials empty!

*Bangs head on desk*


Thanks nonetheless, Bill.
__________________
Björn K. - 10²² polies, 5000 materials, 70000 drawcalls

FSX: Dornier 328 (FSX), Convair 580 (FSX conversion)
FS9: Boeing 737-200 (FS9)
Reply With Quote
  #8  
Old 26 Nov 2007, 17:48
n4gix n4gix is offline
  unitedstates
Location: Hammond, Indiana
Join Date: Sep 2006
Posts: 8,522
Quote:
Originally Posted by Heretic View Post
Okay, problem solved.

You should never mistake a bump map for a detail map...keep that slot in the FSX materials empty!

*Bangs head on desk*

Thanks nonetheless, Bill.
Well, my question regarding the specification must have made you look more closely, so you are quite welcome!
__________________
Bill Leaming
3d Modeler Max/GMax
C & XML Gauge Programmer
Eaglesoft Development Group
http://eaglesoftdg.com

Intel® Core™ i7-3770k 4.2GHz - Crucial 16GB DDR3 - Dual Radeon HD770 1GB DDR5 (Crossfire) - Eco II Watercooling - Win7 64bit
Intel® Core™ i7-2600k 3.4GHz - Crucial 4GB DDR3 - NVIDIA GeForce GTX550Ti 1GB - Win7 64bit
Intel® Core™ i7-860 2.8GHz - Crucial 8GB DDR3 - NVIDIA GeForce GTS240 1GB - Win8 64bit
NOTE: Unless explicitly stated otherwise, everything written by my hand is MY opinion. I do NOT speak for any company, real or imagined...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FsX] Bump maps arno GMax and 3DS Max 22 17 Nov 2010 02:07
Bump And Normal Maps Brother23 Graphics 12 11 Aug 2007 15:17
bump maps and lighting problem bob5568 GMax and 3DS Max 2 12 Mar 2007 13:56
Normal maps and DDS conversions - couple of useful *Free* tools ziporama Tools programming 4 24 Jan 2007 04:37
Normal Maps with Painshop Pro Rellek01 General 2 12 Dec 2006 14:58


All times are GMT -4. The time now is 02:59.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.