Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Scenery transparency prob in Gmax (Read 509 times)
Oct 5th, 2006 at 6:18am

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
I am having a problem with transparencys for a scenery aircraft. When I use DXTBMP to produce a light gray Alpha channel. The transparency shows thru all the way to the ground. The tranparent part is masking parts between it and the ground. I am using Gmax to produce the XML And MDL files for the compiler. The part only shows up as transparent when I save it as an extended 32 bit 888-8.  I am designing for FS2004. And have tried using a transparent materieal which looks good as glass but when I try to compile, the parts move out of position. Anyone know what I am doing wrong? Or is there A tutorial on making glass for scenery objects in Gmax? I can't find much in the Gmax SDKs on this.
 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Reply #1 - Oct 5th, 2006 at 5:05pm

Greg Ebnit EApilot   Offline
Colonel
EA Aeronuatics The Home
of Chrome!
Michigan U.S.A.

Gender: male
Posts: 483
*****
 
HHHMMM! It could be several problems. Do you have an annimation attached to this model? Using CAT tool. Is the aircraft highly reflective like chrome bare metal? Could you post some pictures to help us see the problem?
Also in Gmax all you need to do is detach the polys for glass and give them their own part name then use the material library glass material. Select the polys for the windows and click apply matterial. Then you can adjust the look of the glass with the material editor by double clicking on the material in the entire or applied section of the material navigator.

EDIT-
Also you have to have has reflect map checked in  Makemdl. If you are unable to access Makemdl. you need to get Model commander so you can recompile the Xfile to get to the check boxes in the options tab.
« Last Edit: Oct 5th, 2006 at 8:12pm by Greg Ebnit EApilot »  

(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 aircraft design. Oh Gmax my designing creating temptress. It must be love for you have taken my heartdrive. By Greg Ebnit  ...
IP Logged
 
Reply #2 - Oct 5th, 2006 at 8:33pm

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
Yes the aircraft is animated, but I think I have gotten rid of the animations. It is a player usable, built by the aircraft designer of the group I build scenery for. I am just learning Gmax, and usually design my scenery in FSDS2 for the lower poly counts and conditional display options. My job is to try and work this gmax model into the scenery I am currently working on. The hull is reflective but not chrome and I think Ronnie used specular shine for most of the reflective effect. I will take some screenies and post them later in this evening. If I can remember how! As I said I am a neewbie to Gmax a coupla questions about your suggestions "detach the polys for glass and give them their own part name " I assume I should select(?) all the polys for the glass part, then rename the part Is there any particular name I should use or just any name?
 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Reply #3 - Oct 5th, 2006 at 9:09pm

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
Here are the screen shots. I hope...


...

The panels in the second shot are interior panel parts some parts show thru the dome some do not. As you can see in the first shot where the hull behind the dome does not show up.
 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Reply #4 - Oct 5th, 2006 at 9:14pm

Greg Ebnit EApilot   Offline
Colonel
EA Aeronuatics The Home
of Chrome!
Michigan U.S.A.

Gender: male
Posts: 483
*****
 
Any name will work. Makemdl. will just read their position and the material used. The Dash8 I'm working on has windows named outerwindows. The naming convention is not important for non specific Sim parts.

If you have parts that still have annimations this will cause a bug in FS when the BGL is drawn to draw the transparent polys last and out of their position. This is a known issue with Transparent polys and annimations. To get around this issue I just make a seperate mdl. file for the transparent polys and export them with 2002 Makemdl. and place them at the same coordinates

Also just to share a trick I've learned I put polys inside for Tinted VC windows. the trick is to change your position in Gmax to inside the part to make Gmax create polygons with the backface of the polygon facing outward instead of inward like the outer windows. This is done buy extruding a small amount of the original polys attached to part name window frame that way the inner outer do'nt cross or touch each other. Like double pained windows.
(outerwindows)(windowframe)
...
(innerwindows) showing half in half out of VC
...
 

(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 aircraft design. Oh Gmax my designing creating temptress. It must be love for you have taken my heartdrive. By Greg Ebnit  ...
IP Logged
 
Reply #5 - Oct 5th, 2006 at 9:25pm

Greg Ebnit EApilot   Offline
Colonel
EA Aeronuatics The Home
of Chrome!
Michigan U.S.A.

Gender: male
Posts: 483
*****
 
If I understand correctly what you need to do is put an ubstruction in the form of a poly between the panel and the dome. With the poly face that FS draws so that you can see it facing in the direction that is revealing the panel. I think your looking through the backside of another poly. What is the larger model? Maybe a inner dome with the backface in the opposite direction as above.
 

(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 aircraft design. Oh Gmax my designing creating temptress. It must be love for you have taken my heartdrive. By Greg Ebnit  ...
IP Logged
 
Reply #6 - Oct 7th, 2006 at 9:38pm

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
Sorry I have'nt had time to try any of your suggestions. Had oral surgurey Friday and trying to recover. Hope to work on it soon.
 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Reply #7 - Oct 8th, 2006 at 2:05am

Greg Ebnit EApilot   Offline
Colonel
EA Aeronuatics The Home
of Chrome!
Michigan U.S.A.

Gender: male
Posts: 483
*****
 
Youch!! You get your wisdoms pulled? I've been lucky.Have'nt had to do that yet.
 

(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 aircraft design. Oh Gmax my designing creating temptress. It must be love for you have taken my heartdrive. By Greg Ebnit  ...
IP Logged
 
Reply #8 - Oct 8th, 2006 at 10:40am

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
Nope I'm an old man of 48, this problem started 23 years ago when I found out why bikers wear square toe Dingo boots. More efficient than pointy toed for breaking multiple ribs and teeth with a single kick! My fault.  I was hittin on on of their ole ladies. It does'nt pay to get drunk in Texas! Hurts just remembering it.

Anyway I have found the source of my original problem. But as usual the fix caused another problem. First the fix for the original problem. Ronnie had grouped 9 tick18_ animated parts inside a group I had not opened. Causing the all the glass transparent parts to move and take on the tick18 animations as shown in this image.  ...        
We did away with the tick18_ parts and all the transparent parts returned to their assigned positions. As you can see with the 2 domes in this image.
...

Looks good to me, but Ronnie wants those animations in the scenery if possible. That is the problem caused by the fix. So I started working thru the Animation tut in the Gmax SDK. First I created a bounding box to cover the area all of the now actively animated tick18_ parts occupied. No luck, the parts appeared as in the first image again. So... I thought the SDK was written to cover one animated object. Perhaps I should make a different bounding box for each tick18_part.  Which I did when generated in FS2004.  Still no luck, image 1 again.

All the bounding boxes, per the Gmax SDK, have their opacity set at 0 for full transparency. Then each are linked to the root node of the scenery. But I guess the tick18_ parts effect the other transparent parts because they move and animate on the same key frames as the tick18_s. The panel in the following 2 pics show the effect of the animations created by the tick18_ parts. The lights flash from one end of the panel to the other.

...

...

Another of the tick18_effects is displayed in the second panel pic the jacobs ladder electric arc climbing the 2 poles in the left fore ground of the pic. I hope there is a fix and that this is enough info to find it. Many Thanks!

Glitch
 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Reply #9 - Oct 9th, 2006 at 6:39am

Greg Ebnit EApilot   Offline
Colonel
EA Aeronuatics The Home
of Chrome!
Michigan U.S.A.

Gender: male
Posts: 483
*****
 
Hey Glitch. Thats quite a story. Deffinetly gotta make sure of who or what for that matter your trying to pick up anywhere. Grin
I thought that was a UFO when you posted the first shots.  Now I see its an extremely cool UFO. (I could tell by the panel and the dome also I'm a little bit psychcic.)

Sounds like its the annimation and transparent poly glitch that I was talking about in one of the earlier posts. As far as I know there is no way to model it to keep the transparent polys and annimations in the same BGL. This I learned from Arno over at Scenerydesign.org. He knows just about everything when it comes to FS.

This is what I did to get around the problem when putting skylights in a hanger that has opening doors. As long as you do'nt need the transparent polys to move it should work.
In your Gmax scene select the transparent polys. Then click on your file drop down and click save selected. Save the polys as a seperate scene.

Then in FS find the exact Lat. Lon. you want for your main BGL.(Example N29* 52.52 W56* 25.45) by using the map function. You can place your main BGL with XML code so you can goup it with many other models to save space and file size. (I use Arnos OBplacer XML) Only thing is you can not place it with an FSUIPC plugin as you will have to use FS2002 gamepack Makemdl. to compile your transparent polys. If I remeber right XML wont let you place the two BGLs in the same place although you could try that with the transparent polys.

Now that you have saved your polys as a seperate scene in their original position in the BGL you can export them with FS2002 Makemdl. as BGL and on the scenery tab enter the exact Lat. Lon. as above and then place them in your scenery folder. This should put them exactly where they should be in the other BGL in FS. They may need to be in a seperate Scenery folder like this (UFO Glass scenery) or they may work in the same folder as the UFO scenery.
The only thing that may cause you a problem is as you rotate around the transparent polys in FS they may seem to appear and disapear. I do'nt know if this is the Sim trying to show how the glass looks at different angles or if it is part of a glitch that actualy makes them appear and disapear.

Rotating around here. You can see that I triggered the annimation to show you what it looks like. the annimation is not what is making them appear not to be there in this shot though.
...
...
This should work.  But may not be satisfactory result in the end. This is the only way I know of to get around the problem. I have looked at many forums and posts and have not been able to find any other solutions. Let me know how things work out.
Good luck with your design.
 

(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 aircraft design. Oh Gmax my designing creating temptress. It must be love for you have taken my heartdrive. By Greg Ebnit  ...
IP Logged
 
Reply #10 - Oct 9th, 2006 at 8:52pm

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
The ufo is the Jupiter2 from the original 1964 Lost in Space T.V. show. You can download the newest Mark Goddard flyable model for FS2004 at our website: WWW.Pendercrafts.com  There are also a coupla hours of video shorts of the models and scenery in use. And a forums page for comments. Ronnie Pendergraft the creater of the Jupiter2 models did a fine job on this newest version. It has more bells and whistles than 20 Bentleys.

I will try your suggestions and let you know how they work out. If nothing else I can redo the panels and animations in FSDS2 and export as a stand alone .bgl. I bet that will cause loads of new problems!Lol!

Glitch
 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Reply #11 - Oct 12th, 2006 at 9:01pm

Greg Ebnit EApilot   Offline
Colonel
EA Aeronuatics The Home
of Chrome!
Michigan U.S.A.

Gender: male
Posts: 483
*****
 
That is an excellent looking model. It does look like it has all the options and then some. I'll have to give it a flight some time. If you remeber let me know when your bgl is complete. I'd definetly like to place it in my FS9 scenery.
 

(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 aircraft design. Oh Gmax my designing creating temptress. It must be love for you have taken my heartdrive. By Greg Ebnit  ...
IP Logged
 
Reply #12 - Oct 12th, 2006 at 11:28pm

Glitch   Offline
Colonel
aka  IRAF_Paddy
Birmingham, Alabama

Gender: male
Posts: 464
*****
 
My launchpad and first season crash site scenerys, are both avalible now at the Pendercrafts download page. And I think Ronnie included a version of the Goddard J2 that will spawn on the launch pad with the gear up. Neither of the first two scenerys are as detailed as the one I am working on now. For this second season scenery. I am working from color screen shots setting rocks, plants and equipment in place as per the shots. Also using  the sceenies to create my textures where I can. I have even created a mountian with a cave system to drive the chariot or fly the jetpack in. But I digress....

The transparency problem I have partially solved with your suggestion of creating a seperate .bgl just for the transparency parts. It can reside in the same folder with the other.bgl I am still having trouble with some of the interior (transparent) parts showing up thru the hatch. But I should be able to get with Ronnie tomorrow night on trilly and hopefully work it out. I will keep you posted.

Glitch
 

Pendercafts.com Downloads for Lost in Space, Voyage to the Bottom of the Sea, Land of the Giants, addons for FS2002 and FS2004 and videos too
IP Logged
 
Reply #13 - Oct 13th, 2006 at 9:10am

Greg Ebnit EApilot   Offline
Colonel
EA Aeronuatics The Home
of Chrome!
Michigan U.S.A.

Gender: male
Posts: 483
*****
 
That sounds like a realy cool package you guys have created. Good to hear that I was able to help some and that you are getting the models issues fixed.
 

(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 aircraft design. Oh Gmax my designing creating temptress. It must be love for you have taken my heartdrive. By Greg Ebnit  ...
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print