Friday, May 15, 2009
Per Pixel Lighting Isn't Free
Thursday, May 14, 2009
Who Are You?
Monday, May 11, 2009
X-Plane 930 Performance and Crashes
- We communicate with the video card driver in a way that is fast on our systems but astoundingly slow on other systems. We discover this from slow performance in a particular piece of the code on other hardware.
- The new beta does something new that is more expensive than what the old build did, and users have not figured out how to (or do not have a way to) turn this more expensive option off.
Saturday, May 02, 2009
Viva La France!
The conference is officially French, and I must admit, I don't speak a word of the stuff. Fortunately, my beautiful and very patient wife will be there, and she speaks French quite well. So I have asked her to translate the rest of this blog post - a greeting to my French readers.
Bonjour. Ecoutez: Ben croit que je traduis le reste de son article sur ce blog, mais il ne parle pas du tout le français. Lorsqu'on était à Cannes, il a essayé d'apprendre à dire "Le chat est sur la chaise" - ce qui lui a fallu deux semaines! Donc il n'a aucune idée de ce que je suis en train d'écrire, et il ne saura pas non plus si traduis sa présentation correctement ou non.I am a very lucky man! I will see you all there.
Lorsqu'il commence sa présentation, je vous expliquerai toutes ses mauvaises habitudes. Est-ce que vous l'avez vu travailler? C'est tellement bizarre! D'habitude il ne porte pas de pantalon. Il s'asseoit devant l'ordinateur en buvant du café et en maudissant les "DSFs" - qu'est-ce que c'est? Je lui ai dit qu'il faut porter un pantalon à la conférence.
Friday, May 01, 2009
I Lost My Objects
In this case, X-Plane couldn't find the object KSBD_example.obj - the sim is also listing all of the places it looked. Note that only the first location is a good location - the other 3 are legacy search paths that date all the way back to version 6. It is likely that in the next major version we will trim down our search paths significantly.Failed to find resource 'KSBD_example.obj' at 'Custom
Scenery/KSBD Demo Area/KSBD_example.obj'
Failed to find resource 'KSBD_example.obj' at 'Custom
Scenery/KSBD Demo Area/custom objects/KSBD_example.obj'
Failed to find resource 'KSBD_example.obj' at
'Resources/objects/KSBD_example.obj'
Failed to find resource 'KSBD_example.obj'
at 'Resources/KSBD_example.obj'
***Error with scenery file "Custom Scenery/KSBD
Demo Area/Earth nav data/+30-120/+34-118.dsf"
(/Volumes/RAID/code/design/HLutils/Files/io_dsf.cpp: 503.)
Unable to locate object: KSBD_example.obj
Authors, do not ignore error messages like the dialog box above - every one of them indicates a condition serious enough that we think you should fix it. Non-fatal errors like these may crash future versions of the sim, or your content may simply stop working.
If you file a bug against a future version of the sim saying your scenery pack used to work and is now broken, and we find that the old scenery pack had errors, we're not going to fix the bug - we're going to laugh maniacally and dance around you in a circle while singing "told you so".
Okay - we're very unlikely to do that - but if you have errors in your scenery pack, you're doing something wrong and you need to fix it - treatment of illegal data is not stable between versions of the sim!!
I was never very sympathetic to this whole bug report because X-Plane has never accepted a DSF with missing objects - this has been a fatal* error since X-Plane 8.0 when DSF was introduced. So I simply don't understand why there are any scenery packs floating around with objects missing. Why would you place an object if you don't want to see it? The whole issue strikes me as a total failure to check quality by authors, since even running your pack once would reveal this kind of problem every time!
The motivation to make missing objects illegal comes from version 7 and ENVs. When looking at ENV scenery, I found that a large number of ENV scenery packs were missing at least some of their objects (an error that was silently ignored in ENV). It seemed like we were hiding an error and the result was authors not noticing simple mistakes that might "lose" an object (e.g. renaming an OBJ file).
Hence the "harsh" policy for DSFs - it was in response to a real problem with existing scenery!
- You don't need to have missing objects just because you use library objects from another scenery pack (that might not be around). Use the EXPORT_BACKUP command in your library and a single blank OBJ as a place-holder for the objects you want from a library that might be missing. OpenSceneryX provides a stub library that authors can include so that their scenery will load without errors even if the OpenSceneryX library is not installed.