Textures assigned to panels, etc.

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

Re: Textures assigned to panels, etc.

Postby brettt777 » Wed Dec 31, 2008 7:51 pm

Also, could you explain what the "file=" and "texture=" entries are in a VC? Which one are the gauges actualy attatched to, or are they on something completely different? And why do some VCxx have texture but no file, or nothing at all? Again I am sorry for all the questions but I hate not understanding how something works.
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Textures assigned to panels, etc.

Postby Hagar » Wed Dec 31, 2008 7:57 pm

All of the "textures" (they're textures after the model is compiled)(materials in Gmax), in the Texture folder are for the 3D model.

The bitmaps in the panel folder are 2D images for the 2D panel.. they have nothing to do with the VC . The VC is as much a model as the plane itself. It's 3-dimensional and needs to be textured.



So does that mean that the VC will only look at bmp's or dds's in the texture folder and never look at the panel folder at all?

This seems to be getting a tad complicated. I'm assuming the principle is basically the same in FSX as in previous versions of FS.

The VC is part of the 3D visual model & the relevant textures are in the Texture folder. The VC gauges (in what we used to call the DVC) are "projected" onto a transparent screen just in front of the panel texture. The transparent screen is the texture prefixed $ in Panel.cfg. This texture doesn't actually exist although I've seen them included with some aircraft, presumably for reference when placing the VC gauges.
Last edited by Hagar on Wed Dec 31, 2008 7:58 pm, edited 1 time in total.
Image

Founder & Sole Member - Grumpy's Over the Hill Club for Veteran Virtual Aviators
Member of the Fox Four Group
My Google Photos albums
My Flickr albums
User avatar
Hagar
Colonel
Colonel
 
Posts: 30862
Joined: Wed Jun 19, 2002 7:15 am
Location: Costa Geriatrica

Re: Textures assigned to panels, etc.

Postby Brett_Henderson » Wed Dec 31, 2008 8:02 pm

So does that mean that the VC will only look at bmp's or dds's in the texture folder and never look at the panel folder at all?




Yes .. none of the bitmaps in the panel folder are used in the VC

They are nothing mmore than 2D background images for the 2D panel..
Last edited by Brett_Henderson on Wed Dec 31, 2008 8:04 pm, edited 1 time in total.
Brett_Henderson
Major
Major
 
Posts: 3403
Joined: Fri Oct 08, 2004 7:09 am

Re: Textures assigned to panels, etc.

Postby Brett_Henderson » Wed Dec 31, 2008 8:07 pm

The VC is part of the 3D visual model & the relevant textures are in the Texture folder. The VC gauges (in what we used to call the DVC) are "projected" onto a transparent screen just in front of the panel texture. The transparent screen is the texture prefixed $ in Panel.cfg. This texture doesn't actually exist although I've seen them included with some aircraft, presumably for reference when placing the VC gauges.


It's changed a little.. though it's not a new change because this technique was used in fs9.. in that you don't use a "screen" at the panel. You use individual polygon screens for each gauge. If you use the old "big screen" method.. gauge resolution suffers greatly..
Brett_Henderson
Major
Major
 
Posts: 3403
Joined: Fri Oct 08, 2004 7:09 am

Re: Textures assigned to panels, etc.

Postby brettt777 » Wed Dec 31, 2008 8:08 pm

So does that mean that the VC will only look at bmp's or dds's in the texture folder and never look at the panel folder at all?




Yes .. none of the bitmaps in the panel folder are used in the VC

They are nothing mmore than 2D background images for the 2D panel..
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Textures assigned to panels, etc.

Postby Brett_Henderson » Wed Dec 31, 2008 8:17 pm

Again I am sorry for all the questions but I hate not understanding how something works.


No sorries allowed
Last edited by Brett_Henderson on Wed Dec 31, 2008 8:23 pm, edited 1 time in total.
Brett_Henderson
Major
Major
 
Posts: 3403
Joined: Fri Oct 08, 2004 7:09 am

Re: Textures assigned to panels, etc.

Postby Brett_Henderson » Wed Dec 31, 2008 8:21 pm

[quote]So this texture, the $textureA at the bottom of a VC entry,
Last edited by Brett_Henderson on Wed Dec 31, 2008 8:22 pm, edited 1 time in total.
Brett_Henderson
Major
Major
 
Posts: 3403
Joined: Fri Oct 08, 2004 7:09 am

Re: Textures assigned to panels, etc.

Postby brettt777 » Wed Dec 31, 2008 8:32 pm

Okay, I think I understand. So I can't just pick a particular texture that I know is at a certain place in the VC and assign a gauge to it. It has to be one of these special invisible or non-existent textures, right?
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Textures assigned to panels, etc.

Postby Brett_Henderson » Wed Dec 31, 2008 8:44 pm

Correct...
Last edited by Brett_Henderson on Wed Dec 31, 2008 8:46 pm, edited 1 time in total.
Brett_Henderson
Major
Major
 
Posts: 3403
Joined: Fri Oct 08, 2004 7:09 am

Re: Textures assigned to panels, etc.

Postby brettt777 » Wed Dec 31, 2008 10:15 pm

Okay then back to the original question. Using one of these mdl viewers, is it possible to see which invisible texture is assigned where?
What is different about these textures other than they are invisible?
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Textures assigned to panels, etc.

Postby brettt777 » Wed Dec 31, 2008 10:20 pm

And what does the "file=$texture_A.bmp" do if the texture= line is the one the gauges actualy go to? Some have it and some don't.

[Vcockpit02]
file=$texture_A.bmp    <----what is this line for?
Background_color=0,0,0
size_mm=512,512
visible=0                    <----what does this line mean?
pixel_size=512,512
texture=$texture_A    <----this line determines which invisible texture the gauge goes to...?
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Textures assigned to panels, etc.

Postby Brett_Henderson » Thu Jan 01, 2009 11:11 am

Okay then back to the original question. Using one of these mdl viewers, is it possible to see which invisible texture is assigned where?
What is different about these textures other than they are invisible?


Depends on the viewer. If it can convert (decompile) the model into its original format (say, Gmax).. yes. You could look at the materials page and see which parts (or polygons) are listed as having the $filename assigned to them. And if you have access to the original $filename (doubtful), you could make sure it was in a format viewable in the modeling program and actually SEE the mapping.

However.. most of these decompilers are pretty rough.. in that they "can" give you access to the model, but they tend to collapse modifier stacks (where you see/edit the mapping), and lose material information.


**they're only invisible, because that's how they're defined in the material editor.. they are quite visible inside of the modeling program (they HAVE to be, for you to manipulate them)
Last edited by Brett_Henderson on Thu Jan 01, 2009 11:15 am, edited 1 time in total.
Brett_Henderson
Major
Major
 
Posts: 3403
Joined: Fri Oct 08, 2004 7:09 am

Re: Textures assigned to panels, etc.

Postby Brett_Henderson » Thu Jan 01, 2009 11:24 am

[quote]And what does the "file=$texture_A.bmp" do if the texture= line is the one the gauges actualy go to? Some have it and some don't.

[Vcockpit02]
file=$texture_A.bmp
Last edited by Brett_Henderson on Thu Jan 01, 2009 11:28 am, edited 1 time in total.
Brett_Henderson
Major
Major
 
Posts: 3403
Joined: Fri Oct 08, 2004 7:09 am

Re: Textures assigned to panels, etc.

Postby brettt777 » Thu Jan 01, 2009 1:23 pm

Okay I have found a viewer that will show me what texture is assigned to what surface, but will it tell me about these special textures that are invisible? What else is special about them besides they are invisible? Do they start out as regular bitmaps or dds files and then made transparent?
brettt777
1st Lieutenant
1st Lieutenant
 
Posts: 324
Joined: Tue Aug 03, 2004 7:21 pm
Location: Gadsden, AL

Re: Textures assigned to panels, etc.

Postby Brett_Henderson » Thu Jan 01, 2009 1:58 pm

Okay I have found a viewer that will show me what texture is assigned to what surface, but will it tell me about these special textures that are invisible? What else is special about them besides they are invisible? Do they start out as regular bitmaps or dds files and then made transparent?


The best way to visualize what the $filename is...  is to think of it as a perfectly square, 2D panel.. with all the gauges on it, in no particular order. The only way I've ever created one, is with PanelStudio.. and then literally take a screen shot of the big, square panel... that becomes $filename.bmp (after cropping and resizing to 1024X1024)  ,  because it's a near perfect representaition of the gauge layout (defined in a panel.cfg)

There is nothing special about the $filename.bmp  It's a normal bitmap. The invisibility comes form the material editor,, where you not only set it to transparent by default, but designate it as a VC panel material.  

Then, by UVW mapping specific areas of that material to specific polygons, you get your individual gauges.
Brett_Henderson
Major
Major
 
Posts: 3403
Joined: Fri Oct 08, 2004 7:09 am

PreviousNext

Return to Aircraft & 3D Design

Who is online

Users browsing this forum: No registered users and 289 guests