Howto:Canvas Troubleshooting

From FlightGear wiki
Jump to navigation Jump to search

Event Handling

WIP.png Work in progress
This article or section will be worked on in the upcoming hours or days.
See history for the latest developments.

Using Online Imagery

Cquote1.png I'd try to troubleshoot this step-by-step, e.g.:


  • use a static LOCAL raster image (on disk/in fgdata - e.g. a splash screen -if this doesn't work, your Canvas/Image isn't set up properly, check visibility and z-index)
  • use a http URL (e.g. the google/flightgear logo - if this doesn't work, check for errors/networking issues)
  • use a dynamically-built URL - if this doesn't work, check your URL building scheme

Cquote2.png

Textures not shown properly

Cquote1.png For starters, I'd suggest to work with textures that can be more easily recognized, i.e. some checker pattern or red as a color, to see what could be going on - otherwise, there's too much guessing involved, which is tedious for us given that we don't have access to your aircraft. So if you are hoping for more specific advice, open the texture in GIMP/photoshop and use some pattern for each different face that we can more easliy identify to see what's going on
— Hooray (Wed Sep 17). Re: Two Images to a Texture.
(powered by Instant-Cquotes)
Cquote2.png
Cquote1.png I'd just copy the livery texture to a new file and fill each part with a separate pattern/color to see what's going on - that will tell us if we can work around the issue by editing the model, the texture, the Nasal code - or if we need to look at the C++ code

So far, this could be just a simple matter of changing scale/transforming the texture a bit (hopefully)


— Hooray (Wed Sep 17). Re: Two Images to a Texture.
(powered by Instant-Cquotes)
Cquote2.png