Page 1 of 1

problems with my first VC

PostPosted: Wed Apr 19, 2006 2:19 am
by 5thranger
hi guys,

moving along with my VC, I am having problems with it.

I applied the $texture to a face with the same proportion of the panel, as shown below:

Image


Just in case, I tried with a $texture of both 512x512 pixels, and another of 512x256 pixels.

When I finally got to the VC in FS....the gauges all look distorted, I got the same results using both the 512x512 and the 512x256 $textures.

Even though the surface where it is being projected has the same proportion as the panel above.

Below is the result of the VC projection:

Image

Does anyone have ideas as to what I did wrong?

Thanks

Re: problems with my first VC

PostPosted: Fri Apr 21, 2006 12:15 pm
by 5thranger
bump

Re: problems with my first VC

PostPosted: Fri Apr 21, 2006 4:47 pm
by Travis
Random suggestion: try a 1024x512 texture.

Make sure the texture size in the panel.cfg is set correctly:

size_mm=512,512
pixel_size=512,512

OR

size_mm=1024,512
pixel_size=1024,512

In other words, ALWAYS make the pixel size the same as the size_mm.  It just makes creating these things easier.

Re: problems with my first VC

PostPosted: Fri Apr 21, 2006 5:12 pm
by Katahu
This is how I understand it.

"Size_mm" represents the size and proportions of the actual texture file while "pixel_mm" represents the resolution and proportions of the actual guages.

It's possible that you haven't dug into the panel.cfg file deep enough. Try toying around with these settings in the [VCockpit] sections of the panel.cfg file in case Locke's idea doesn't help.

Re: problems with my first VC

PostPosted: Sat Apr 22, 2006 2:26 am
by AuMaV
Hi
number of ways to fix this but it wil depend on how you map the gauges and poly in the VC so Ill stick to the
2 easy ways
make sure the projection polly is perfectly square,Dont worry if it go's way out side the edges of the VC it wont show for more than a second whilst the $texture is loaded on start up
2nd way deform the gauges in the program you use to plot them.Work out the scale of the projection polly lets say its twice as wide as it is high that will mean the gauge sizes which are many square will have to be twice as high as they are wide
cheers
Wozza

Re: problems with my first VC

PostPosted: Mon May 01, 2006 7:16 pm
by 5thranger
this was it, this fixed the problem, and I can now understand the logic behind it.

Thanks a bunch mate

Hector


Random suggestion: try a 1024x512 texture.

Make sure the texture size in the panel.cfg is set correctly:

size_mm=512,512
pixel_size=512,512

OR

size_mm=1024,512
pixel_size=1024,512

In other words, ALWAYS make the pixel size the same as the size_mm.  It just makes creating these things easier.