> Hi guys,
> I.ve been working at changing over the Citation X EFIS to use 3d text
> ,but having a few problems. The property scale and offset don't work
> here , and formating doesnt behave  like  I expected ... for example ,
> <format>%2.0f</format>  for altitude at 3029.23341234 prints 3029 .
> Scaling the property by 0.01 prints the same.
> Are there any working examples I can compare with ? I'm also wondering
> if it's an OSG error,  (2.9.10), but I'm not to familiar with
> Callbacks.... the text code has several " if(numeric)"  checks , but I
> can't figure out where "numeric" is set .
>  Thanks in advance if anyone can shed light on this.
> Syd
Hi Syd,

Anders has an excellent example in his ZLT-NT. Check folder Aircraft/ZLT-
NT/Models/Instruments/CenterMFD and look into screen-engines.xml and display-
text.xml.

The numeric property in the UpdateCallback is set to true if the <type> 
element is set to "number-value". (Line 218 in SGText.cxx).

Hope this helps

Torsten

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to