[Flightgear-devel] Re: Problems with 'V' (backwards view) on Mac os X, fixed (somewhat)

2005-10-20 Thread Melchior FRANZ
* Ima Sudonim -- Thursday 20 October 2005 12:54:
 I don't know why it makes a difference, but it does. Darn, I really  
 liked that Chase View Above 8-(

What about also increasing the number of views in the preferences file,
if you add some?

  number-views type=int7/number-views

No idea, why we don't simply count the view nodes? Hmmm ...


Please stop the annoying full-quoting (and top-posting).

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Problems with 'V' (backwards view) on Mac os X, fixed (somewhat)

2005-10-20 Thread Jim Wilson
 -Original Message-
 
snip

   Interestingly enough, if I add a 7th node, the new view works and  
 so does 'V'. Overwriting one of flightgear's default views must be  
 unacceptable to some portion of the code.
snip

Not true.  The only possiblilty would be view 0, the cockpit view, and it's 
relationship to the FDM altitude above ground level output and maybe something 
unique regarding rendering (OpenGL stuff), but even that I'm not sure of 
currently.  Certainly you should be able to replace or eliminate any of the 
other views.

Best,

Jim



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Problems with 'V' (backwards view) on Mac os X, fixed (somewhat)

2005-10-20 Thread Jim Wilson
 -Original Message-
 From: Melchior FRANZ
 
 * Ima Sudonim -- Thursday 20 October 2005 12:54:
  I don't know why it makes a difference, but it does. Darn, I really  
  liked that Chase View Above 8-(
 
 What about also increasing the number of views in the preferences file,
 if you add some?
 
   number-views type=int7/number-views
 
 No idea, why we don't simply count the view nodes? Hmmm ...
 

This is one of the older bits of code that did one of these arrays of subsystem 
objects.  I did it wrong and never got back to fix it.  Counting and writing 
out the property would work fine.  The only changes required would be within 
the init() in viewmgr.cxx.  It'd be a week anyway before I could get to it 
myself.

Best,

Jim



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Problems with 'V' (backwards view) on Mac os X, fixed (somewhat)

2005-10-20 Thread Josh Babcock
Melchior FRANZ wrote:
 * Ima Sudonim -- Thursday 20 October 2005 12:54:
 
I don't know why it makes a difference, but it does. Darn, I really  
liked that Chase View Above 8-(
 
 
 What about also increasing the number of views in the preferences file,
 if you add some?
 
   number-views type=int7/number-views
 
 No idea, why we don't simply count the view nodes? Hmmm ...
 
 
 Please stop the annoying full-quoting (and top-posting).
 
 m.
 
 ___
 Flightgear-devel mailing list
 Flightgear-devel@flightgear.org
 http://mail.flightgear.org/mailman/listinfo/flightgear-devel
 2f585eeea02e2c79d7b1d8c4963bae2d
 

I tried that once, and found that it caused problems. I think it was
either the joystick config or the keyboard config, but something assumes
that number-views is 6, and breaks. I think the whole system needs an
overhaul and like Mel says FG should just count the views. They don't
even need to be numbered. Just have FG add them to a list as they are
read in from the xml config files and assign them numbers then. That way
you could have the default ones, then add an arbitrary number of
personal ones, and after that an airplane designer can come along and
add as many as he wants (co-pilot, BN, tail gunner, view of munitions,
etc) without mucking up the already existing views that someone
obviously wants to be there. I got around this in the B-29 by having a
Nasal script modify the pilot view, but that is a hack. I should have
been able to define multiple views without cannibalizing existing ones.

Josh

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d