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?
> 
>   7
> 
> No idea, why we don't simply count the  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


[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?
> 
>   7
> 
> No idea, why we don't simply count the  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


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

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

>
>   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.


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 Ima Sudonim


  Originally, I modified another view instead of adding a new one  
because I didn't want to have too many views. Someone on the list was  
kind enough to suggest the modifications, so I added them to my local  
preferences.


What about also increasing the number of views in the preferences  
file,

if you add some?

  7

 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. Adding the same view xml in  
preferences works just fine as the 7th view, thanks for the suggestion.


It seems there is a requirement to leave the first six views there,  
at least in this instance.



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




My bad! I get flightgear-devel in digest form, and was copying from  
the web page. There is no new digest yet and I was trying to respond  
in a timely fashion without having to retype a lot or open mutliple  
browser windows. (The web interface is not as convenient as a  
newsreader or mail app unfortunately). I have an arm problem that  
makes keyboarding difficult, so I just click-shift-clicked the whole  
thing and then did paste quote.


I thought that whoever didn't want to read the thread would just  
ignore it.


I am sorry to have troubled you, I will try to be less verbose in  
quoting in the future.


I top posted because lee asked me to put my new text at the top or  
bottom, so I put it at the bottom as it was closer to the question I  
was answering. I prefer to answer in line as it involves less  
keyboarding/mouse movement and is easier on the arms.


Again, I apologize for the trouble.

Thanks very much!

Ima


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


___
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 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?

  7

No idea, why we don't simply count the  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