• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

mapping vc gauges, help?

Messages
160
Country
us-newyork
hi, everyone! i worked through the issues with my car's FDE. now my issue is with the gauges. how do i make this texture appear in the simulator? i tried UV mapping by selecting a face from the sdk tutorial and it still doesn't appear. how do i create a texture sheet and make it appear in fsx? it only renders in 3ds max and i have it in the P3D Materials folder . After, how do i add & position the gauges to be where the speedometer is?

vcford2.png



vcford.png
 

n4gix

Resource contributor
Messages
11,674
Country
unitedstates
All VC instrument artwork must be mapped to a bitmap sized with powers of 2. For example
  • 1024x1024
  • 1024x512
  • 512x512
  • etc.
All VC textures must have a $ as a prefix, which tells FS/P3D to generate a memory bitmap for the gauges to be projected on.

You set the gauge's position on the bitmap by telling the sim where the top left corner is located, followed by the "size" of the gauge's background. For example::

[Vcockpit01]
Background_color = 0,0,0
size_mm = 1024,1024
visible = 1
pixel_size = 1024,1024
texture = $B350i_VC1
gauge00 = ProLine21!pfd_left, 0,0,511,627

The above 0,0 means that the pfd gauge is projected on the $B350i_VC1 memory bitmap from 0,0 (upper left corner) and is 511 pix by 637 pix in size.
 
Messages
160
Country
us-newyork
All VC instrument artwork must be mapped to a bitmap sized with powers of 2. For example
  • 1024x1024
  • 1024x512
  • 512x512
  • etc.
All VC textures must have a $ as a prefix, which tells FS/P3D to generate a memory bitmap for the gauges to be projected on.

You set the gauge's position on the bitmap by telling the sim where the top left corner is located, followed by the "size" of the gauge's background. For example::

[Vcockpit01]
Background_color = 0,0,0
size_mm = 1024,1024
visible = 1
pixel_size = 1024,1024
texture = $B350i_VC1
gauge00 = ProLine21!pfd_left, 0,0,511,627

The above 0,0 means that the pfd gauge is projected on the $B350i_VC1 memory bitmap from 0,0 (upper left corner) and is 511 pix by 637 pix in size.


I tried rendering it in 3DS Max but the render map shows it as black. How do i fix this to get this onto the panel?
1575096224342.png


1575096244677.png


1575096261308.png


here are further settings:


1575096285210.png


1575096316332.png




& texture is not rendering here from the material editor . how do i fix this?:
1575097738444.png

1575097776332.png
 
Last edited:

Deano1973

Resource contributor
Messages
384
Country
unitedkingdom
Make sure you're texturing the correct side. I don't use 3DS but I notice the Y axis is pointing away from the driver's seat, which might possibly affect how the texture map displays from that position. Try swapping the box for a plane, one sided, with the Y axis reversed / plane rotated as necessary to face the active side of the plane toward the driver. Then try texturing again and see how it looks, making sure you also follow Bill's advice above.
 

n4gix

Resource contributor
Messages
11,674
Country
unitedstates
On the Material Editor, click on the little blue ball to show the image in the viewport. It is the fourth icon from the right side.
 
Messages
160
Country
us-newyork
On the Material Editor, click on the little blue ball to show the image in the viewport. It is the fourth icon from the right side.

I did that. I was able to manipulate the texture with the UV unwrapper, but in modelconverterx, it doesn't show. How do i get it to show? and if i render it , it only renders black and not the texture sheet. it is saved as a black texture . how do i fix that? i even put 2048*2048 in the options for the rendering size and it still renders black on the render map
 

Heretic

Resource contributor
Messages
6,830
Country
germany
The bitmap must be pure black (RGB 0,0,0) without any alpha channel and the material editor in 3ds Max must have "Is virtual cockpit panel texture" checked.
 
Messages
160
Country
us-newyork
The bitmap must be pure black (RGB 0,0,0) without any alpha channel and the material editor in 3ds Max must have "Is virtual cockpit panel texture" checked.


I checked that part. The texture shows up in model converter x but it is black in FSX. How do I fix it to position the gauge on it? I have it in my texture folder without the “$” for now to avoid confusion. should it be in my panel or texture folder?, and should I have it as a .dds or bitmap?
 

Heretic

Resource contributor
Messages
6,830
Country
germany
You don't have to have the texture file present in the panel folder.

And I strongly recommend working through the SDK documentation and inspecting other, working simulator models for reference.
 

tgibson

Resource contributor
Messages
11,338
Country
us-california
As people are explaining above, some people make the gauge polygon completely transparent, relying on the VC panel itself for any texturing. If instead you want the background bitmap to be visible on the gauge polygon, you do need to have the texture present in the panel's folder. It must also be specified in the relevant VCockpit section of the panel.cfg file. As an example, below find a VC gauge polygon that uses the $pan1 pseudo texture for the gauges, but also displays the pan1.bmp file as the background on that polygon. This texture is located next to the panel.cfg file in the panel folder. This allows me to light the panel gauges, etc. using a night texture. Note that the night texture goes into the plane's texture folder, and must be flipped vertically. (!)

[Vcockpit01]
file=pan1.bmp
Background_color=0,0,0
size_mm=512,512
visible=0
window_size= 0.320, 0.427
pixel_size=1024,1024
texture=$pan1
window_pos= 0.000, 0.000

gauge00=Z_DC6KMTG!GPU_MASTER_SWITCH, 372,388,14,19
...
 
Messages
180
Country
unitedkingdom
I had a similar problem in Blender and found it was due to the texture naming and making sure that the name of material and texture in blender were the same as the final texture DDS file in the aircraft texture folder.
 
Top