Night Textures

Anything to do with Aircraft Design, FSDS, G Max, Aircraft Animator, SDL Edit, etc. Novice or skilled - stop here & learn!

Night Textures

Postby Travis » Wed Jun 21, 2006 11:29 pm

Unbelievable!

I've forgotten how to make night textures for an aircraft! ::)

I currently have textures with the suffix _T.bmp, but I'm not sure if I have the rest correct.  There are DXT3 textures in there that have the suffix _L, which is what I remember as being the right type for night maps.  But when I load up the sim with them, nothing shows.  I have absolutely no night textures, and its driving me up the wall!

As I remember it, the _L alpha channel should control the "lights" as shown through a window or such, right?  So why don't I get anything?  Is there some other issue I'm missing here? ??? :P
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: Night Textures

Postby Katahu » Wed Jun 21, 2006 11:59 pm

Convert the light maps to DXT1 [one] format then try it out. ;D

BTW, did you remember to link the light maps to the object under the "self-illumination" option?
Last edited by Katahu on Thu Jun 22, 2006 12:00 am, edited 1 time in total.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Night Textures

Postby Travis » Thu Jun 22, 2006 1:58 am

AHHHHHHHHHHHHHHH!!!!!

I linked the textures to the self-illumination option, converted to DXT1 (with alpha) and still nothing!  What the heck?! >:( ???

I think I'm about to give up . . .
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: Night Textures

Postby Katahu » Thu Jun 22, 2006 2:02 pm

One more dumb question.

Did you remember to click "Has Light Map" in the Makemdl program during export? ::)

PS: The alpha channel should only be applied to the "main" textures while the "only" the main textures are converted to DXT3 [three] with Alpha.

The light maps should be converted to only DXT1 [one] with "no" alpha and are suppose to be linked to the objects with the main textures under the "self-illumination" option while the self-illumination option is checked.

Again, did you check the "Has Light Map" option in the Makemdl program? ::)
Last edited by Katahu on Thu Jun 22, 2006 2:06 pm, edited 1 time in total.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Night Textures

Postby Travis » Thu Jun 22, 2006 4:10 pm

"Has Light Map" is checked.

Main textures are DXT3 w/ Alpha.

Light textures are DXT1 w/ no Alpha.

All light textures are mapped as Self-Illumination in Gmax.

Still nothing.

Would it perhaps matter if I have changed the original size of the texture to make the night map smaller?

The original main textures are 1024x1024.  However, I have reduced that to 512x512 for the night textures.  But the 512x512 ARE the ones mapped in Gmax to the self-illumination, so it should recognize them, yes?
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: Night Textures

Postby Katahu » Thu Jun 22, 2006 7:08 pm

The size could be it. Normally, I make sure that all the files that are linked to the same object are exactly the same size and that their proportions are to the power of two.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Night Textures

Postby Greg Ebnit EApilot » Fri Jun 23, 2006 1:52 am

LOL!LOL! Sorry Locke I could'nt help but laugh when I first read your post. I know how you feel. ??? And its just like me to laugh at someone elses problem and not be able to offer any help. ;D
(AN ODE TO GMAX)     OOOOOOOOOOOHHHHHHHHH GMAX! How I sometimes want to hug and kiss it. And other times want to smash, berate, and delete it. Gmax how I love and loathe thee. The crashes the errors the reinstalls. Gmax you are the whomb of my a
Greg Ebnit EApilot
1st Lieutenant
1st Lieutenant
 
Posts: 483
Joined: Sat Feb 11, 2006 2:21 am
Location: Michigan U.S.A.

Re: Night Textures

Postby Milton » Fri Jun 23, 2006 7:13 pm

Size of the _L map versus original map is not so important.
Last edited by Milton on Fri Jun 23, 2006 7:16 pm, edited 1 time in total.
Milton
Dash 7, Aero Commanders, Howard 500, D18S, Spartan, XP47J, Beechcraft A28 (Grizzly)
User avatar
Milton
1st Lieutenant
1st Lieutenant
 
Posts: 352
Joined: Tue Jun 04, 2002 1:52 am
Location: USA - NM

Re: Night Textures

Postby Travis » Fri Jun 23, 2006 11:28 pm

This is aggravating beyond belief.  To have come this far, and to be stopped by something so simple.  It seems this project is just riddled with trouble from beginning to end.

I still cannot get the nightmaps to work.  I have saved as DXT3, DXT1 w/Alpha, DXT1 w/o Alpha and as regular BMPs.  I have mapped them to the illumination channel and tried sizes ranging from 128x128 to the original 1024x1024.  This isn't working worth spit.

None of it shows up.  That's what I can't comprehend.  I have no clue as to why this is happening, and I am sick of it.  If I can't get this simple little thing to work, I can't release this aircraft on the general public.  If anyone knows of any tutorials on the subject, or would like to lend a hand, please let me know.

If I don't get it figured out, this thing will sit in my storage bin forever.  I very much want to get this released, but with these kinds of issues, I'll never get it done.
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: Night Textures

Postby Katahu » Sat Jun 24, 2006 1:04 am

Click here.

At least one of those tutorials should help.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Night Textures

Postby Travis » Sat Jun 24, 2006 1:14 am

Thanks, Jesse.  Looked through a few of those, but couldn't find anything about night textures.

Is there some way I can just have textures in general in there?  I mean, I'm not really concerned with having any kind of alphas showing, nor anything "special", I just want it to work a little.

I'm running out of steam, here. :-[
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: Night Textures

Postby AuMaV » Sat Jun 24, 2006 1:42 am

Hi Mate
I cant help as I build in FSDS,also Id only suggest whats already been suggested
In this situation (we all find ourselves there soemtime) I would grab somebody elses source files (one thats been reliased so I can grab a working copy of the model and textures)
then compare them to what Im doing,to see if anything jumps out at me. 9 out of 10 times its a silly little thing :)
here a link to a few source files http://www.freeflightdesign.com/gmax.html
maybe Miltons spartin? if nothing else you get to have a first hand look at how the Master's do it
Cheers
Wozza
Last edited by AuMaV on Sat Jun 24, 2006 1:43 am, edited 1 time in total.
User avatar
AuMaV
2nd Lieutenant
2nd Lieutenant
 
Posts: 293
Joined: Mon Jul 07, 2003 7:44 am
Location: The Great Southern Land

Re: Night Textures

Postby microlight » Sat Jun 24, 2006 4:18 am

Dude,

I don't know much about the subject of night textures, but here are a couple of things I notice about one of your previous projects (EB-72) that we've worked together on, that might help.

- the model goes transparent at dusk, and the bmp format nor the alpha channel colour (black or white) make any difference to this.

- from outside, the outer wall of the fuselage nearest the viewer is transparent, but the inner wall on the far side of the fuselage is opaque, so you can't see through the fuselage. BUT

- the passenger door at fuselage front left is the other way round, so that it's opaque from the outside but transparent from the inside, which is right.

I can't see any difference in the textures themselves or their formats, but if you can identify whether there are any texture mapping differences between the passenger door and the rest of the fuselage, might this help? Is it possible to accidentally map the textures to the inside of the model rather than the outside so taht they can't be seen?

Good luck, mate.

;)
User avatar
microlight
Major
Major
 
Posts: 2076
Joined: Mon Aug 19, 2002 6:24 pm
Location: Southern UK

Re: Night Textures

Postby Milton » Sat Jun 24, 2006 7:45 am

My suggestions?:

If you have HasLightMap checked,

1.  Use DXT3 textures with a 210-220 alpha
2.  Textures MUST have _t at the end (if HasLightMap is checked)
3.  Light maps _L are DXT3, black primary (0,0,0 to avoid transparency) and black alpha.

Remember if you are changing texture names to support _t  (or not) that you must also do that in gmax or fsds so it is aware of that texture name change.
Milton
Dash 7, Aero Commanders, Howard 500, D18S, Spartan, XP47J, Beechcraft A28 (Grizzly)
User avatar
Milton
1st Lieutenant
1st Lieutenant
 
Posts: 352
Joined: Tue Jun 04, 2002 1:52 am
Location: USA - NM

Re: Night Textures

Postby Travis » Sat Jun 24, 2006 11:22 pm

Thanks, guys!  Help is much appreciated, but for the next few days I'm out of touch with my computer, so I'll try all this when I get back.
Image
User avatar
Travis
Major
Major
 
Posts: 4381
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Next

Return to Aircraft & 3D Design

Who is online

Users browsing this forum: No registered users and 370 guests