On Thu, Sep 29, 2011 at 10:32 PM, Robbo <robbo_b...@hotmail.com> wrote:
> Hi,
>
> Essentially, there is a 'texture' declared as follows:
> static const char* default_texture_name =
> "Aircraft/Instruments/Textures/od_groundradar.rgb";
>
> FGTextureManager::addTexture(texture_name, getTexture());
>
> Now all is good at this point until I go and look for this file, which i
> expected to find in data/Aircraft/Instruments/Textures/, however, this file
> does not appear there, nor does it appear anywhere else on my filesystem
> either.
>
> I thought, well maybe the code is not actually using this texture, since its
> a 'default_texture', however, when i change the name to point to something
> else which also does not exist, then, the once black background becomes
> white!
>
> So I am assuming that this file MUST be somewhere, but I have no idea where
> it is, can anyone assist me with this?

That is the name of the generated dynamic texture, the "od_" prefix is
supposed to signal this for "owner drawn", see od_gauge.cxx/hxx. The
call you found actually registers it with the texture manager so that
other components (notably models) can refer to it by that name.

-- 
Csaba/Jester

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to