longiron, on 31 December 2011 - 04:57 AM, said:
Lindsay,
For the control graphics, Open Rails works very simply. It takes the control texture size and then cab view file. It determines two things: (1) there are 12 frames, arranged 4 by 3, and (2) each control texture is x by y.
The control texture file is split in to 4 by 3 frames. Open Rails then determines what the size of each control sub-division should be from this information. This should match the size of the control texture in the CVF file or Open Rails will report an error.
For the control graphics, Open Rails works very simply. It takes the control texture size and then cab view file. It determines two things: (1) there are 12 frames, arranged 4 by 3, and (2) each control texture is x by y.
The control texture file is split in to 4 by 3 frames. Open Rails then determines what the size of each control sub-division should be from this information. This should match the size of the control texture in the CVF file or Open Rails will report an error.
Aaaaaaaaaaaaaaarrrrrrrrrrrrrrrrrrrrrrreeeeeeeeeeeeeeeeeeeeeee, Thats why it keeps spitting out an error message that the graphic as found is such and such and not 4x3, but still works.
OR does not scale down larger images (it MUST be able to scale up as the graphics are only at 640x480 and not at the monitors resolution) in the control graphics, BLAST, double BLAST. Given the advances in the cabview graphics (hi res cab images, scaled gauges) It would be great if one could use a graphics of higher resolution as one can for the gauges. Hopefully this will come in the not to distant future.
One of the main reasons for this thread is/was to show to everyone including OR's developers what was possible in the way of good 2D cab views and maybe generate some more interest, as I have a feeling a lot of people do not rate cabviews high enough.
PS, I have now done high resolution gauges on the two other cabviews I have shown on ELvasTower. It was not particularly difficult although I have yet to completely get my head around the way the horizontal parameter (Y?) is handled. Although I have at this stage not done much work on this. Its still nice OR is doing somethingto improve cab views.
Note: Hope everyone will excuse some of the spelling errors in the posts as my mind is wwwwwwwwwwwwaaaaaaaaaaaaayyyyyyyyyyyy ahead of my fingers.
Sigh................ We now have a forecast for at least two 39 degree C (102 farenheit) temperature days in a row so no more computers for Lindsay until at least Wednesday :-(.
Lindsay