Re: [Flightgear-devel] Failed to load 3D model

2002-05-27 Thread Jim Wilson

Erik Hofman [EMAIL PROTECTED] said:

 
 Is there already a good solution for the following problem (it might be 
 plib-1.4.2 related):
 
 Fatal error: Failed to load 3D model
   (received from )
 
 Erik

Comment out the model tag in the [aircraft[-fdm]]-set.xml file or change it to
a model you happen to have.  There was discussion about fixing this to use the
glider.ac or something instead of bailing out, but AFIK nothing has been done yet.

Best,

Jim

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Failed to load 3D model

2002-05-27 Thread Erik Hofman

Jim Wilson wrote:
 Erik Hofman [EMAIL PROTECTED] said:
 
 
Is there already a good solution for the following problem (it might be 
plib-1.4.2 related):

Fatal error: Failed to load 3D model
  (received from )

Erik
 
 
 Comment out the model tag in the [aircraft[-fdm]]-set.xml file or change it to
 a model you happen to have.  There was discussion about fixing this to use the
 glider.ac or something instead of bailing out, but AFIK nothing has been done yet.

Maybe we should remove them from all -set.xml files where the model is 
non exsistant then?

Erik


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Failed to load 3D model

2002-05-27 Thread Jim Wilson

Erik Hofman [EMAIL PROTECTED] said:


  Comment out the model tag in the [aircraft[-fdm]]-set.xml file or
change it to
  a model you happen to have.  There was discussion about fixing this
to use the
  glider.ac or something instead of bailing out, but AFIK nothing has
been done yet.
 
 Maybe we should remove them from all -set.xml files where the model is 
 non exsistant then?
 

Maybe.  It doesn't make sense to configure -set.xml files for the non-gpl'd
aircraft in the default install of a gpl'd flight simulator.  But it has been
done the last couple of releases.  If we do it that way then we should have a
model-not-found-default-model.  Currently, if you remove the model tag from
the -set.xml file, you'll get a cessna 172.

Best,

Jim


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Failed to load 3D model

2002-05-20 Thread John Check

On Monday 20 May 2002 12:19 am, Alex Perry wrote:
 How about we have a missing model in the same way as we have a
 missing texture ?  A ten meter cube with that texture on each side ?


we used to fall back to the glider model

  I get a Fatal error when trying to use some aircraft because I don't
  have the 3D model installed.  For example, I don't have the Harrier or
  the Beech99 models installed.  I'd suggest that we not cause a fatal
  error on models that are not shipped in the base package?  Or possibly,
  just don't cause a fatal error when any model fails to load.
 
  Thanks
  --
  Cameron Moore
  / I think you can be an honest person and lie about any number \
  \of things.  -- Dan Rather talking about President Clinton /
 
  ___
  Flightgear-devel mailing list
  [EMAIL PROTECTED]
  http://mail.flightgear.org/mailman/listinfo/flightgear-devel

 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel


___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Failed to load 3D model

2002-05-20 Thread Martin Spott

 we used to fall back to the glider model

I mentioned this problem already several weeks ago but nobody was interested
in it. Now as the subject comes up again I'd second the desire for a
fallback to the glider - as we were used to have before for very long time,

Martin.
-- 
 Unix _IS_ user friendly - it's just selective about who its friends are !
--

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Failed to load 3D model

2002-05-20 Thread Wolfram Kuss

I'd suggest that we not cause a fatal
error on models that are not shipped in the base package?  Or possibly,
just don't cause a fatal error when any model fails to load.

In PLIB's UL package there is a function

bool ulFileExists ( const char *fileName ) ;

So, it could be as easy as (pseudocode)

if ulFileExists(model)
  ssgLoad(model);
else
  ssgLoad(BlueGilder.ac);

Bye bye,
Wolfram.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Failed to load 3D model

2002-05-20 Thread David Megginson

Norman Vine writes:

  So the way I read it the glider is no-more 

It's still there, but it's not used by the C172.


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Failed to load 3D model

2002-05-20 Thread Curtis L. Olson

David Megginson writes:
 Norman Vine writes:
 
   So the way I read it the glider is no-more 
 
 It's still there, but it's not used by the C172.

I think the suggestion was that if the 3d model specified is not
found, we should revert to some simple default, like the glider (and
probably display a warning message.)

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program   FlightGear Project
Twin Cities[EMAIL PROTECTED]  [EMAIL PROTECTED]
Minnesota  http://www.menet.umn.edu/~curt   http://www.flightgear.org

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Failed to load 3D model

2002-05-20 Thread David Megginson

Curtis L. Olson writes:

  I think the suggestion was that if the 3d model specified is not
  found, we should revert to some simple default, like the glider (and
  probably display a warning message.)

That's simply a matter of catching the exception in the model manager
and substituting the glider path.  Do we want to do that for *all*
missing models, or just the aircraft?


All the best,


David

-- 
David Megginson, [EMAIL PROTECTED], http://www.megginson.com/

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Failed to load 3D model

2002-05-20 Thread Jim Wilson

Curtis L. Olson [EMAIL PROTECTED] said:

 David Megginson writes:
  Norman Vine writes:
  
So the way I read it the glider is no-more 
  
  It's still there, but it's not used by the C172.
 
 I think the suggestion was that if the 3d model specified is not
 found, we should revert to some simple default, like the glider (and
 probably display a warning message.)
 
 Curt.

Sounds like a good idea.  If I'm not mistaken the last release does not run if
you type in --aircraft=747-yasim because a model that doesn't exist is spec'd
in the -set.xml file.

Best,

Jim

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Failed to load 3D model

2002-05-20 Thread Curtis L. Olson

David Megginson writes:
 Curtis L. Olson writes:
 
   I think the suggestion was that if the 3d model specified is not
   found, we should revert to some simple default, like the glider (and
   probably display a warning message.)
 
 That's simply a matter of catching the exception in the model manager
 and substituting the glider path.  Do we want to do that for *all*
 missing models, or just the aircraft?

For starters, I'd say just use this as a fall back for the aircraft.
Or, as Alex suggested, we could come up with a simple/ugly box that is
unique enough to be readily seen as the missing model box.  Then we
could use it as the fallback for any model.

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program   FlightGear Project
Twin Cities[EMAIL PROTECTED]  [EMAIL PROTECTED]
Minnesota  http://www.menet.umn.edu/~curt   http://www.flightgear.org

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Failed to load 3D model

2002-05-19 Thread Alex Perry

How about we have a missing model in the same way as we have a
missing texture ?  A ten meter cube with that texture on each side ?

 I get a Fatal error when trying to use some aircraft because I don't
 have the 3D model installed.  For example, I don't have the Harrier or
 the Beech99 models installed.  I'd suggest that we not cause a fatal
 error on models that are not shipped in the base package?  Or possibly,
 just don't cause a fatal error when any model fails to load.
 
 Thanks
 -- 
 Cameron Moore
 / I think you can be an honest person and lie about any number \
 \of things.  -- Dan Rather talking about President Clinton /
 
 ___
 Flightgear-devel mailing list
 [EMAIL PROTECTED]
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
 
 

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Failed to load 3D model

2002-05-19 Thread Norman Vine

Alex Perry writes:

How about we have a missing model in the same way as we have a
missing texture ?  A ten meter cube with that texture on each side ?

I remember a blue and yellow glider 

Norman

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



Re: [Flightgear-devel] Failed to load 3D model

2002-05-19 Thread Alex Perry

 Alex Perry writes:
 How about we have a missing model in the same way as we have a
 missing texture ?  A ten meter cube with that texture on each side ?
 
 I remember a blue and yellow glider 

I thought that was the default model, i.e. the one that is used if you
don't specify otherwise.  Should we also use it for the missing model ?

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel



RE: [Flightgear-devel] Failed to load 3D model

2002-05-19 Thread Norman Vine

Alex Perry writes:

 Alex Perry writes:
 How about we have a missing model in the same way as we have a
 missing texture ?  A ten meter cube with that texture on 
each side ?
 
 I remember a blue and yellow glider 

I thought that was the default model, i.e. the one that is used if you
don't specify otherwise.  Should we also use it for the missing model ?

Ummm.. 

// default preferences.xml
 snip 
 !-- General simulation preferences --
 sim
  aircraftc172/aircraft
  virtual-cockpit type=boolfalse/virtual-cockpit

// Aircraft / c172-set.xml
 snip 
  model
   pathAircraft/c172/Models/c172-dpm.xml/path
  /model

So the way I read it the glider is no-more 

Norman

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel