[Flightgear-devel] PATCH: building 0.9.11-pre1 on ppc

2007-05-24 Thread Ladislav Michnovič

Hello.
Compilation on ppc machines crashed on unknown CPU in
simgear/nasal/naref.h file.
I've changed __ppc__ to uppercase and detection works fine.
Regards Ladislav.
--- simgear/nasal/naref.h
+++ simgear/nasal/naref.h
@@ -12,7 +12,7 @@
 #elif defined(_M_IX86)   || defined(i386)|| defined(__x86_64) || \
 defined(__ia64__) || defined(_M_IA64) || defined(__ARMEL__) 
 # define NASAL_LE
-#elif defined(__sparc) || defined(__ppc__) || defined(__mips) || \
+#elif defined(__sparc) || defined(__PPC__) || defined(__mips) || \
   defined(__ARMEB__)
 # define NASAL_BE
 #else
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Material animation and textures

2007-05-24 Thread Detlef Faber
Hello everybody,

I've noticed that the livery select option of the Lightning, the bf109
and ec135 doesn't work as expected in OSG. 

The Textures won't change with ec135 and bf109 and on the Lightning only
the color of the fuselage changes, but not the logos.

In Plib everything works fine. 

Greetings

Detlef


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Material animation and textures

2007-05-24 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Detlef Faber wrote:
 Hello everybody,
 
 I've noticed that the livery select option of the Lightning, the bf109
 and ec135 doesn't work as expected in OSG. 
 
 The Textures won't change with ec135 and bf109 and on the Lightning only
 the color of the fuselage changes, but not the logos.
 
 In Plib everything works fine. 
 
 Greetings
 
 Detlef
 
Do you get Use of global in material animation is no longer
supported messages with those aircraft? If so, that's probably the reason.

Tim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGVZBHeDhWHdXrDRURAijQAJkBnDLWpAI3ISboOT4npStms7GHXACfRN64
S/FThtGd4gTOcUrXR+WsUiA=
=IY4z
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] error in SimGear-pre1

2007-05-24 Thread Stewart Andreason
Did anybody else get the error I reported May21?
 during make check for simgear-0.3.11-pre1?

Could it be a math bug, and be related to the instability Michelle 
reported May20?

Stewart

make[2]: Entering directory `/usr/src/SimGear-0.3.11-pre1/simgear/math'
make  SGMathTest
make[3]: Entering directory `/usr/src/SimGear-0.3.11-pre1/simgear/math'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../simgear -I../..  
-I/usr/X11R6/include  -g -O2 -D_REENTRANT -MT SGMathTest.o -MD -MP -MF 
.deps/SGMathTest.Tpo -c -o SGMathTest.o SGMathTest.cxx; \
then mv -f .deps/SGMathTest.Tpo .deps/SGMathTest.Po; else rm -f 
.deps/SGMathTest.Tpo; exit 1; fi
g++  -g -O2 -D_REENTRANT  -L/usr/X11R6/lib -o SGMathTest  SGMathTest.o 
libsgmath.a -lm
make[3]: Leaving directory `/usr/src/SimGear-0.3.11-pre1/simgear/math'
make  check-TESTS
make[3]: Entering directory `/usr/src/SimGear-0.3.11-pre1/simgear/math'
FAIL: SGMathTest
===
1 of 1 tests failed
===
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/usr/src/SimGear-0.3.11-pre1/simgear/math'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/src/SimGear-0.3.11-pre1/simgear/math'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/src/SimGear-0.3.11-pre1/simgear'
make: *** [check-recursive] Error 1



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] FlightGear-0.9.11-pre1---JSBSim update ?

2007-05-24 Thread gh.robin


Hello,

the JSBSim cvs stand alone has got some improvements , 
would not it be useful to update FG 0.9.11  with the last JSBSim version ?

Regards 
-- 
Gérard


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] error in SimGear-pre1

2007-05-24 Thread Vadym Kukhtin

2007/5/24, Stewart Andreason [EMAIL PROTECTED]:


Did anybody else get the error I reported May21?
during make check for simgear-0.3.11-pre1?




make[3]: Entering directory `/usr/src/SimGear-0.3.11-pre1/simgear/math'

FAIL: SGMathTest



I'm got same.

(Ubuntu Fiesty)

--
---
WBR, Vadym.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear-0.9.11-pre1---JSBSim update ?

2007-05-24 Thread Martin Spott
gh.robin wrote:

 the JSBSim cvs stand alone has got some improvements , 

Of which flavour ?

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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear-0.9.11-pre1---JSBSim update ?

2007-05-24 Thread gh.robin
On Thu 24 May 2007 16:03, Martin Spott wrote:
 gh.robin wrote:
  the JSBSim cvs stand alone has got some improvements ,

 Of which flavour ?

   Martin.


hmmm, was only a question.
And i don't understand your answer
-- 
Gérard


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] FlightGear-0.9.11-pre1---JSBSim update ?

2007-05-24 Thread gh.robin
On Thu 24 May 2007 16:09, gh.robin wrote:
 On Thu 24 May 2007 16:03, Martin Spott wrote:
  gh.robin wrote:
   the JSBSim cvs stand alone has got some improvements ,
 
  Of which flavour ?
 
  Martin.

 hmmm, was only a question.
 And i don't understand your answer

Well, i just get the translation of your question on IRC from Tim

The answer is:

the last FG JSBSim update has been done 2007-01-20 

just checking some Jon anuncements  on JSBSim devel:

I've made some fixes/enhancements in FGForce, FGNozzle, etc. that allow for
thrust vectoring. I've tested this in a rocket model, with various guidance
 
FGActuator class models: rate limiting, position limiting, hysteresis,

from cvs i can read 
FGPiston.cpp 1.103 weeks jberndt Improve piston starter 
power


I hope these answer right., and Jon could say more on it.
Probably that list is not completed, only looked for these which looked  
interesting.

Regards

-- 
Gérard


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Material animation and textures

2007-05-24 Thread Detlef Faber
Am Donnerstag, den 24.05.2007, 15:16 +0200 schrieb Tim Moore:

  
 Do you get Use of global in material animation is no longer
 supported messages with those aircraft? If so, that's probably the reason.
 
The bf109 doesn't use the global tag anymore, so I get no errors. The
ec135 and Lightning give this error. Removing the global tag from ec135
doesn't cure it either.

 Tim
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)
 Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
 
 iD8DBQFGVZBHeDhWHdXrDRURAijQAJkBnDLWpAI3ISboOT4npStms7GHXACfRN64
 S/FThtGd4gTOcUrXR+WsUiA=
 =IY4z
 -END PGP SIGNATURE-
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Cygwin Error when compiling 0.9.11pre1

2007-05-24 Thread Laurence Homer
Hi all,

 

I'm having a go at compiling the new 0.9.11-pre1 version of FlightGear, and
I'm coming across a few errors.

 

I've checked I have all the pre-requisites (and installed the new SimGear)
and fixed one error I got from 'groundnetworks.cxx' which was complaining
about 'HUGE' not being defined, I changed this to 'HUGE_VAL' based on the
rest of the file, and that seemed to fix it.

 

But now, I am getting an error that seems to relate to gcc and its include
files. I've put the error printout at the bottom (sorry its quite long..)

 

Is there some kind of new gcc version or something that I need?? as I have
been compiling 0.9.10 with cygwin without problems for a while and this
error seems ot be suggesting there is a problem with the gcc include file,
Or is this error pointing to something else?

 

Any help much appreciated,

 

Cheers,

 

Loz

 

 

make[2]: Leaving directory
`/cygdrive/c/cygwin/usr/local/Source/FlightGear-0.9.11-pre1/src/Cockpit'

Making install in Environment

make[2]: Entering directory
`/cygdrive/c/cygwin/usr/local/Source/FlightGear-0.9.11-pre1/src/Environment'

if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/include  -g -O2 -D_REENTRANT -MT fgmetar.o -MD -MP -MF
.deps/fgmetar.Tpo

-c -o fgmetar.o fgmetar.cxx; \

then mv -f .deps/fgmetar.Tpo .deps/fgmetar.Po; else rm -f
.deps/fgmetar.Tpo; exit 1; fi

In file included from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/streambuf:781,

 from /usr/local/include/simgear/debug/logstream.hxx:35,

 from ../../src/Main/fg_props.hxx:9,

 from fgmetar.cxx:38:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/streambuf.tcc: In member
function `virtual std::streamsize std::basic_streambuf_CharT,
_Traits::xsgetn(_Cha

rT*, std::streamsize)':

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/streambuf.tcc:54: error:
expected unqualified-id before '(' token

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/streambuf.tcc: In member
function `virtual std::streamsize std::basic_streambuf_CharT,
_Traits::xsputn(cons

t _CharT*, std::streamsize)':

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/streambuf.tcc:88: error:
expected unqualified-id before '(' token

In file included from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/locale:47,

 from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:40,

 from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:545,

 from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iostream:45,

 from /usr/local/include/simgear/debug/logstream.hxx:36,

 from ../../src/Main/fg_props.hxx:9,

 from fgmetar.cxx:38:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc:514:57:
macro min requires 2 arguments, but only 1 given

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc:563:57:
macro max requires 2 arguments, but only 1 given

In file included from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/locale:47,

 from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/ostream.tcc:40,

 from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/ostream:545,

 from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iostream:45,

 from /usr/local/include/simgear/debug/logstream.hxx:36,

 from ../../src/Main/fg_props.hxx:9,

 from fgmetar.cxx:38:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc: In
member function `_InIter std::time_get_CharT,
_InIter::_M_extract_name(_InIter, _InIt

er, int, const _CharT**, size_t, std::ios_base, std::_Ios_Iostate)
const':

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc:2056:
error: expected unqualified-id before '(' token

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc: In
function `bool std::__verify_grouping(const char*, size_t, const
std::string)':

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/locale_facets.tcc:2499:
error: expected unqualified-id before '(' token

In file included from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/istream:771,

 from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iostream:46,

 from /usr/local/include/simgear/debug/logstream.hxx:36,

 from ../../src/Main/fg_props.hxx:9,

 from fgmetar.cxx:38:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/istream.tcc:146:36: macro
min requires 2 arguments, but only 1 given

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/istream.tcc:147:46: macro
max requires 2 arguments, but only 1 given

In file included from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/istream:771,

 from
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/iostream:46,

 from /usr/local/include/simgear/debug/logstream.hxx:36,

 from 

Re: [Flightgear-devel] FlightGear-0.9.11-pre1---JSBSim update ?

2007-05-24 Thread Anders Gidenstam

On Thu, 24 May 2007, gh.robin wrote:


Hello,

the JSBSim cvs stand alone has got some improvements ,
would not it be useful to update FG 0.9.11  with the last JSBSim version ?


I'm all for this. The last time FlightGear was synchronized with JSBSim 
was in early to mid January (the plib and osg branches were updated 9 days 
apart and are different).


Since January JSBSim has changed version number to 1.0 and some 
new features and bug fixes has been added. I used cvs2cl to summarize 
changes since 2007-01-06 when the plib branch was last synchronized and 
attached it to this message.



A word of caution on the synchronization - it seems FlightGear local 
improvements to aircraft FDMs sometimes gets overwritten. E.g. Dave Culp
might want to check if the changes he made to the F80C FDM that were later 
overwritten by the last synchronization with JSBSim were important.


Now with ongoing work to fix misalignment between 3-d model and FDM 
model this is even more important. (There are IMHO few reasons to 
try to push these VRP adjustments into the JSBSim CVS other than for 
our/FlightGear's convenience. Other FDM improvements OTOH should probably 
be sent to both places.)


Cheers,

Anders
--
---
Anders Gidenstam
mail: anders(at)gidenstam.org
WWW: http://www.gidenstam.org/FlightGear/JSBSim-LTA/2007-05-24 14:17  jberndt

* models/FGGroundReactions.cpp: Fix landing gear data logging

2007-05-22 14:44  jberndt

* models/FGOutput.cpp: Adjusted precision of lat/lon output

2007-05-20 17:02  jberndt

* input_output/FGScript.cpp, models/FGAircraft.cpp: Minor fixes to
  code

2007-05-18 05:17  jberndt

* FGFDMExec.cpp, initialization/FGInitialCondition.cpp,
  input_output/FGScript.cpp, math/FGFunction.cpp,
  models/FGAerodynamics.cpp, models/FGAuxiliary.cpp,
  models/FGFCS.cpp, models/FGGroundReactions.cpp,
  models/FGLGear.cpp, models/FGMassBalance.cpp,
  models/FGPropulsion.cpp, models/flight_control/FGSwitch.cpp,
  models/propulsion/FGEngine.cpp,
  models/propulsion/FGPropeller.cpp,
  models/propulsion/FGTurboProp.cpp, simgear/compiler.h,
  simgear/props/props.hxx: Cleanups for warnings

2007-05-17 01:59  jberndt

* models/FGAuxiliary.cpp: Various tweaks

2007-05-17 01:56  jberndt

* input_output/FGScript.cpp: Moved the echo of set parameters to
  after the setting takes place for scripting

2007-05-17 01:53  jberndt

* FGFDMExec.cpp, FGFDMExec.h: Added the ability to terminate a
  simulation run via setting a property

2007-05-12 17:12  jberndt

* models/FGAuxiliary.cpp: Implemented Matthew Gongs atan2 fixes in
  FGAuxiliary

2007-05-12 16:34  jberndt

* models/FGAuxiliary.cpp: Fixed a problem with turn coordinator
  bounding while at rest on the runway

2007-05-11 02:23  jberndt

* input_output/: FGScript.cpp, FGScript.h: Fixed script
  notifications to console so that they are properly given when an
  event has a delay

2007-04-29 15:52  jberndt

* math/FGFunction.cpp: Added a helpful error message for a
  situation that bit me real good: when a property is specified in
  a function but outside of the property/property tags

2007-04-29 05:54  jberndt

* math/FGFunction.cpp, models/FGFCS.cpp: Various tweaks

2007-04-29 05:53  jberndt

* models/flight_control/FGActuator.h: Tweak to actuator, removing
  extraneous code

2007-04-29 05:53  jberndt

* models/propulsion/FGPiston.cpp: Improve piston starter power

2007-04-29 05:52  jberndt

* models/FGPropagate.cpp: Initialize vectors and matrices

2007-04-29 05:51  jberndt

* utilities/aeromatic/: Aeromatic.cpp, Aeromatic.h: changed
  aeromatic source file to unix type

2007-04-01 14:09  jberndt

* JSBSim.cxx: Modified JSBSim.cxx per patch from Ron Jensen

2007-03-30 04:42  jberndt

* utilities/aeromatic/: Aeromatic.cpp, Aeromatic.h: Dave Culp's C++
  version of Aeromatic (don't want this to get lost)

2007-03-25 00:56  jberndt

* models/flight_control/: FGActuator.h, FGPID.cpp: Fix to PID
  controller anti-windup logic

2007-03-19 16:26  jberndt

* JSBSim.cxx, JSBSim.hxx, input_output/FGPropertyManager.cpp,
  input_output/FGPropertyManager.h: Melchior's memory leak fix

2007-03-03 04:39  jberndt

* models/flight_control/: FGActuator.cpp, FGActuator.h,
  FGFCSComponent.cpp, FGSensor.cpp: Fixes to the actuator

2007-03-01 04:29  jberndt

* models/flight_control/: FGActuator.cpp, FGActuator.h: Fixed
  hysteresis in new actuator code

2007-02-28 04:15  jberndt

* FGJSBBase.cpp, FGJSBBase.h, JSBSim.cpp, models/FGMassBalance.cpp:
  Memory leak fixes by John Denker

2007-02-27 14:15  jberndt

* 

Re: [Flightgear-devel] Material animation and textures

2007-05-24 Thread Heiko Schulz
Hi,

Fine - and now?
Even if the global tag is removed I can get the same
error message. 
Is there any displace for this material and texture
animation ?

Greetings
HHS

-who is been working for hours to get the second
version of the ec135 ready with livery changing-

--- Tim Moore [EMAIL PROTECTED] schrieb:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Detlef Faber wrote:
  Hello everybody,
  
  I've noticed that the livery select option of the
 Lightning, the bf109
  and ec135 doesn't work as expected in OSG. 
  
  The Textures won't change with ec135 and bf109 and
 on the Lightning only
  the color of the fuselage changes, but not the
 logos.
  
  In Plib everything works fine. 
  
  Greetings
  
  Detlef
  
 Do you get Use of global in material animation is
 no longer
 supported messages with those aircraft? If so,
 that's probably the reason.
 
 Tim
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)
 Comment: Using GnuPG with Fedora -
 http://enigmail.mozdev.org
 

iD8DBQFGVZBHeDhWHdXrDRURAijQAJkBnDLWpAI3ISboOT4npStms7GHXACfRN64
 S/FThtGd4gTOcUrXR+WsUiA=
 =IY4z
 -END PGP SIGNATURE-
 

-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2
 express and take
 control of your XML. No limits. Just data. Click to
 get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 



   __ Yahoo! Clever - Der einfachste Weg, 
Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Material animation and textures

2007-05-24 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Heiko Schulz wrote:
 Hi,
 
 Fine - and now?
 Even if the global tag is removed I can get the same
 error message. 
 Is there any displace for this material and texture
 animation ?
 
 Greetings
 HHS
 
 -who is been working for hours to get the second
 version of the ec135 ready with livery changing-
 
The point isn't to remove the global tag, which can't really work in
OSG. You need to attach the animation to all the groups whose material
will be affected by the animation.

Tim

 --- Tim Moore [EMAIL PROTECTED] schrieb:
 
 Detlef Faber wrote:
 Hello everybody,

 I've noticed that the livery select option of the
 Lightning, the bf109
 and ec135 doesn't work as expected in OSG. 

 The Textures won't change with ec135 and bf109 and
 on the Lightning only
 the color of the fuselage changes, but not the
 logos.
 In Plib everything works fine. 

 Greetings

 Detlef

 Do you get Use of global in material animation is
 no longer
 supported messages with those aircraft? If so,
 that's probably the reason.
 
 Tim


 -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2
express and take
control of your XML. No limits. Just data. Click to
get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/flightgear-devel

__ Yahoo! Clever - Der einfachste Weg, 
 Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGVbu4eDhWHdXrDRURAhXYAJkBWW3zDG0kV8G1Gk3MnOxzDMvE9QCgjiCF
TytPXOG/cFn727b6nrrYEIM=
=GXGN
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] PATCH: building 0.9.11-pre1 on ppc

2007-05-24 Thread Andy Ross
Ladislav Michnovič wrote:
 Hello.
 Compilation on ppc machines crashed on unknown CPU in
 simgear/nasal/naref.h file.
 I've changed __ppc__ to uppercase and detection works fine.

Can you provide more details about your platform?  I was under the
impression that OS X on PowerPC used the __ppc__ symbol, but I don't
have a box to test against.  If your compiler is gcc, can you post the
results of:

  echo | gcc -E -dM -

Thanks,
Andy


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Material animation and textures

2007-05-24 Thread Heiko Schulz
Hi,

Hmmm... so you mean vertice groups?
Can you give an example?

HHS
--- Tim Moore [EMAIL PROTECTED] schrieb:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Heiko Schulz wrote:
  Hi,
  
  Fine - and now?
  Even if the global tag is removed I can get the
 same
  error message. 
  Is there any displace for this material and
 texture
  animation ?
  
  Greetings
  HHS
  
  -who is been working for hours to get the second
  version of the ec135 ready with livery changing-
  
 The point isn't to remove the global tag, which
 can't really work in
 OSG. You need to attach the animation to all the
 groups whose material
 will be affected by the animation.
 
 Tim
 
  --- Tim Moore [EMAIL PROTECTED] schrieb:
  
  Detlef Faber wrote:
  Hello everybody,
 
  I've noticed that the livery select option of
 the
  Lightning, the bf109
  and ec135 doesn't work as expected in OSG. 
 
  The Textures won't change with ec135 and bf109
 and
  on the Lightning only
  the color of the fuselage changes, but not the
  logos.
  In Plib everything works fine. 
 
  Greetings
 
  Detlef
 
  Do you get Use of global in material animation
 is
  no longer
  supported messages with those aircraft? If so,
  that's probably the reason.
  
  Tim
 
 
 

-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2
 express and take
 control of your XML. No limits. Just data. Click to
 get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 
 

https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 
 __ Yahoo!
 Clever - Der einfachste Weg, Fragen zu stellen und
 Wissenswertes mit Anderen zu teilen.
 www.yahoo.de/clever
 
 
 

-
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2
 express and take
  control of your XML. No limits. Just data. Click
 to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Flightgear-devel mailing list
  Flightgear-devel@lists.sourceforge.net
 

https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)
 Comment: Using GnuPG with Fedora -
 http://enigmail.mozdev.org
 

iD8DBQFGVbu4eDhWHdXrDRURAhXYAJkBWW3zDG0kV8G1Gk3MnOxzDMvE9QCgjiCF
 TytPXOG/cFn727b6nrrYEIM=
 =GXGN
 -END PGP SIGNATURE-
 

-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2
 express and take
 control of your XML. No limits. Just data. Click to
 get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 



  Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s 
mit dem neuen Yahoo! Mail. www.yahoo.de/mail

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] AN-225 patch

2007-05-24 Thread Joacim Persson

Patch attached.

Added steering to the four aftmost main gear axels -- with animations!

Found out just the other day that the AN-225 indeed steers on some of the
main gear wheels. The minimum turning radius is a wild guess however.
(Assumed a 45 deg average on the nose gears.) It now turns (quite
effortlessly) around a point straight out to the side from the second main
gear axel (nr 2 of the 3 non-steerable main gear axels), with a minimum
radius of 25.75 meters. (i.e. near engine nr 1 or 6) The option squared
was removed on steering. (Squaring radians messed up my calculations of the
turning angle of the respective wheels. Not that it's a perfect calculation
now either.) Ground wheel steering should, rather, not be connected to
directly the rudder pedals I think...

Also added transition-time(s) for the steering.

By the way:
README.yasim says the semi-deprecated transition-time is Time in
seconds to slew through input range. I'm not quite sure what it is, but
it's not that. ;) (seconds for 2*1.0 on the output property? I.e. for a
rotation, that'd be 2.0 radians --? It doesn't operate on the input range
taking src/dst translations into account anyway.) Can't tell if this is a
code bug or a doc error.Index: data/Aircraft/AN-225/AN-225-yasim.xml
===
RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/AN-225/AN-225-yasim.xml,v
retrieving revision 1.5
diff -p -u -r1.5 AN-225-yasim.xml
--- data/Aircraft/AN-225/AN-225-yasim.xml   2 Mar 2006 22:40:56 -   
1.5
+++ data/Aircraft/AN-225/AN-225-yasim.xml   24 May 2007 18:01:25 -
@@ -164,7 +164,8 @@ them out of my 3d modeller.
 !-- Landing Gear --
 !-- Front Left --
  gear x=20.0 y=1.0 z=-4.6 retract-time=10 compression=1.0 
spring=1.1
-  control-input axis=/controls/flight/rudder control=STEER square=true/
+  control-input axis=/controls/flight/rudder control=STEER
+src0=-1.0 dst0=-0.8052 src1=1.0 dst1=0.7664/
   control-input axis=/controls/gear/gear-down control=EXTEND/
 !--
   control-input axis=/controls/gear/brake-left control=BRAKE/
@@ -173,13 +174,15 @@ them out of my 3d modeller.
   control-input axis=/controls/gear/brake-parking control=BRAKE/
   control-speed control=EXTEND transition-time=10/
   control-speed control=BRAKE transition-time=0.7/
+  control-speed control=STEER transition-time=2.5/
   control-output control=EXTEND prop=/gear/gear[0]/position-norm/
   control-output control=STEER prop=/gear/gear[0]/steering-norm/
  /gear
 
 !-- Front Right --
  gear x=20.0 y=-1.0 z=-4.6 retract-time=10 compression=1.0 
spring=1.1
-  control-input axis=/controls/flight/rudder control=STEER square=true/
+  control-input axis=/controls/flight/rudder control=STEER
+src0=-1.0 dst0=-0.7664 src1=1.0 dst1=0.8052/
   control-input axis=/controls/gear/gear-down control=EXTEND/
 !--
   control-input axis=/controls/gear/brake-left control=BRAKE/
@@ -188,6 +191,7 @@ them out of my 3d modeller.
   control-input axis=/controls/gear/brake-parking control=BRAKE/
   control-speed control=EXTEND transition-time=10/
   control-speed control=BRAKE transition-time=0.7/
+  control-speed control=STEER transition-time=2.5/
   control-output control=EXTEND prop=/gear/gear[1]/position-norm/
   control-output control=STEER prop=/gear/gear[1]/steering-norm/
  /gear
@@ -224,43 +228,63 @@ them out of my 3d modeller.
  /gear
 
  gear x=-9.05 y=3.2 z=-4.6 retract-time=10 compression=1.0 
spring=0.6
+  control-input axis=/controls/flight/rudder control=STEER
+src0=-1 dst0=-0.1453 src1=1.0 dst1=0.1135
+invert=true/
   control-input axis=/controls/gear/gear-down control=EXTEND/
   control-input axis=/controls/gear/brake-left control=BRAKE/
   control-input axis=/controls/gear/brake-right control=BRAKE/
   control-input axis=/controls/gear/brake-parking control=BRAKE/
   control-speed control=EXTEND transition-time=10/
   control-speed control=BRAKE transition-time=0.7/
+  control-speed control=STEER transition-time=15.7/
   control-output control=EXTEND prop=/gear/gear[5]/position-norm/
+  control-output control=STEER prop=/gear/gear[5]/steering-norm/
  /gear
 
  gear x=-10.72 y=3.2 z=-4.6 retract-time=10 compression=1.0 
spring=0.6
+  control-input axis=/controls/flight/rudder control=STEER
+src0=-1 dst0=-0.2169 src1=1.0 dst1=0.1694
+invert=true/
   control-input axis=/controls/gear/gear-down control=EXTEND/
   control-input axis=/controls/gear/brake-left control=BRAKE/
   control-input axis=/controls/gear/brake-right control=BRAKE/
   control-input axis=/controls/gear/brake-parking control=BRAKE/
   control-speed control=EXTEND transition-time=10/
   control-speed control=BRAKE transition-time=0.7/
+  control-speed control=STEER transition-time=10.5/
   control-output control=EXTEND prop=/gear/gear[6]/position-norm/
+  control-output control=STEER prop=/gear/gear[6]/steering-norm/
  /gear
 
  gear x=-12.42 y=3.2 z=-4.6 retract-time=10 compression=1.0 
spring=0.6
+  control-input 

Re: [Flightgear-devel] AN-225 patch

2007-05-24 Thread Andy Ross
Joacim Persson wrote:
 README.yasim says the semi-deprecated transition-time is Time in
 seconds to slew through input range. I'm not quite sure what it is,
 but it's not that. ;)

It's coded to assume that the input range is 0-1.  It was really
written for landing gear.  If you want to model hydraulic delays
(which is what I think is happening here) you'd probably be happier
with some Nasal anyway.  Thus the semi-deprecated note: this feature
still works as intended, but there are far more robust ways to solve
the same problem in the modern environment.

Andy

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Material animation and textures

2007-05-24 Thread syd sandy
On Thu, 24 May 2007 14:59:39 +0200
Detlef Faber [EMAIL PROTECTED] wrote:

 Hello everybody,
 
 I've noticed that the livery select option of the Lightning, the bf109
 and ec135 doesn't work as expected in OSG. 
 
 The Textures won't change with ec135 and bf109 and on the Lightning only
 the color of the fuselage changes, but not the logos.
 
 In Plib everything works fine. 
 
 Greetings
 
 Detlef
 


Changing livery textures hasn't worked with OSG since the start , unless Ive 
missed some recent changes ... changing material properties does ...
 

-- 
syd  sandy [EMAIL PROTECTED]

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Material animation and textures

2007-05-24 Thread Heiko Schulz
Hi,

That's not right - livery changing did work - only the
material animation (color changing) didn't work
since the start.
--- syd  sandy [EMAIL PROTECTED] schrieb:

 On Thu, 24 May 2007 14:59:39 +0200
 Detlef Faber [EMAIL PROTECTED] wrote:
 
  Hello everybody,
  
  I've noticed that the livery select option of the
 Lightning, the bf109
  and ec135 doesn't work as expected in OSG. 
  
  The Textures won't change with ec135 and bf109 and
 on the Lightning only
  the color of the fuselage changes, but not the
 logos.
  
  In Plib everything works fine. 
  
  Greetings
  
  Detlef
  
 
 
 Changing livery textures hasn't worked with OSG
 since the start , unless Ive missed some recent
 changes ... changing material properties does ...
  
 
 -- 
 syd  sandy [EMAIL PROTECTED]
 

-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2
 express and take
 control of your XML. No limits. Just data. Click to
 get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/flightgear-devel
 



  __  Yahoo! Clever: Stellen Sie Fragen und 
finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] electrical system patch

2007-05-24 Thread Curtis Olson

On 5/24/07, Javky wrote:


I solved this problem with this condition:
if ( volts  node-get_volts() || node-get_volts()==0 )
I know, it's not the best, but it works (I think much more better than 24
volts everywhere and useless switches).
The correct solution is to fill the internal structures first, and then
copy all values to properties, but it is not as easy as replace the if
condition. ;-)



I know this isn't helpful to this specific discussion, but I would like to
point out that this original electric system model has some horrible
limitations that make it difficult to model electrical systems that are more
advanced than what you would find on a C172.  In addition, it's really
difficult to use this system to accurately drive volt and ammeter type
gauges.  The underlying circuit modeling just can't handle it.

So *really*, people should be moving away from this old, depricated xml
based electrical system model and instead, code up exactly what they need in
nasal.  The nasal approach is a lot more straight forward, much more
flexible, more concise.

It's different though and I figured it would talk folks a little while to
adapt to the new system, which is why we didn't just immediately yank the
old code.

Long term, every one is going to be a lot better off if they code up their
electrical systems in nasal.  The c172 should have an example implementation
that should be much easier to follow and understand than the xml based
example.

Regards,

Curt.
--
Curtis Olson - University of Minnesota - FlightGear Project
http://baron.flightgear.org/~curt/  http://www.humanfirst.umn.edu/
http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] An-2 v0.2 ready!

2007-05-24 Thread Martin Spott
Yurik V. Nikiforoff wrote:

 I write tutorial like A-10. If my description of procedures not correct,=20
 please, set right my English...
 
 and there is small fdm patch for tune gear appearance. So, tires has pumped=
 :)

Both are applied. Unfortunately the mouse currently does not work for
me at all in FG/OSG, I can't even operate the menu. So I simply guess
it will be in a working state  :-)

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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] small thread safe patch

2007-05-24 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
OSG reference counting doesn't need to be thread safe, even in the
multi-threaded OSG modes, unless you're doing something very tricky. In
any event, it shouldn't be turned on in the model reader initialization.

Tim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGVggfeDhWHdXrDRURAk2kAJ9DWJVdmEU8i6krjA4ODUPxf4YisgCgwGsi
VZwOGnZ7EdzfCjR2FhOVjtA=
=J8L3
-END PGP SIGNATURE-
diff -ru -x CVS -x .cvsignore -x Makefile.in ../../fgcvs/SimGear/source/simgear/scene/model/model.cxx SimGear/source/simgear/scene/model/model.cxx
--- ../../fgcvs/SimGear/source/simgear/scene/model/model.cxx	2007-04-03 13:25:07.0 +0200
+++ SimGear/source/simgear/scene/model/model.cxx	2007-05-24 23:10:35.0 +0200
@@ -327,8 +327,6 @@
 public:
   SGReadCallbackInstaller()
   {
-osg::Referenced::setThreadSafeReferenceCounting(true);
-
 osgDB::Registry* registry = osgDB::Registry::instance();
 osgDB::ReaderWriter::Options* options = new osgDB::ReaderWriter::Options;
 options-setObjectCacheHint(osgDB::ReaderWriter::Options::CACHE_ALL);
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] 737-300 FDM patch for gear location

2007-05-24 Thread Martin Spott
Berndt, Jon S wrote:
 Reagan Thomas wrote:
  Short version:
  
  Here is the link to an updated patch which (a) corrects the 
  VRP precisely as Anders did with the F80C while removing the 
  somewhat incorrect Z offset in /Models and (b) adds several 
  contact points. It does not change any other pre-existing 
  gear, etc coordinates:

 The VRP is supposed to be a way for the 3D modeler and the FDM modeler
 to agree on a way to make sure that the 3D model is placed exactly where
 it is supposed to be placed.

Did you get to an agreement wether the patch is correct or not ?

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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Flightgear visualization as streaming video

2007-05-24 Thread Adam Dershowitz

On May 22, 2007, at 7:29 PM, Ron Jensen wrote:

 On Tue, 2007-05-22 at 18:13 +0100, Antonio Almeida wrote:
 Hi,

 I would like to use FlightGear to generate the scene observed by a
 UAV's onboard camera.

 Basically, this would translate to feeding FlightGear the FDM data
 and visualizing the image generated by FlightGear in another  
 computer,
 across a network, using for example streaming video.

 I suppose this is a bit of a far-fetched idea, but is there any sort
 of support for this (or something similar) already implemented?

 If not, do you have any suggestions on how to achieve it, using
 external tools and/or contributing to FlightGear?

 At the moment I'm just brainstorming!

 Thanks,
 António Almeida

 Have you looked at the --jpg-httpd option yet?
 From fgfs --help --verbose:
 --jpg-httpd=portEnable screen shot http server on the  
 specified
 port


 This works to send jpeg images over the net that can be refreshed  
 fairly
 rapidly...  Not exactly streaming video, but close.  I'm not sure  
 if/how
 you could scale it down short of scaling the window on the server
 machine.

 Ron





Hmm?  I have used jpg-httpd to try to capture video and have been  
surprised at how slow the performance is.  I always assumed that it  
was just a limit in the FG implementation, but now that I see the  
above it makes me wonder why I am running so slowly.  I can probably  
get something like a frame every 2 seconds.  I have tried using  
firefox and curl to grab images and they are slow to download.
Any ideas why I might be having that kind of performance when others  
are seeing fast performance?
I am running with FG 9.10 (release version not CVS) on a MacBookPro  
(2.16 GHz Intel Core Duo) and FG itself gives a good frame rate.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Flightgear visualization as streaming video

2007-05-24 Thread Leidson Campos A. Ferreira

Hi Adam,

In fact, the 0.9.10 is very slow, but I did a rewrite of httpd-jpg code and
I believe that this feature will be released with 0.9.11 version.

Try get latest CVS code and you'll see that is really very fast. FlightGear
now is capable to stream the images almost so fast as simulator screen.

Leidson
PlanetaMessenger.org - Java Universal Messenger

On 5/24/07, Adam Dershowitz [EMAIL PROTECTED] wrote:



On May 22, 2007, at 7:29 PM, Ron Jensen wrote:

 On Tue, 2007-05-22 at 18:13 +0100, Antonio Almeida wrote:
 Hi,

 I would like to use FlightGear to generate the scene observed by a
 UAV's onboard camera.

 Basically, this would translate to feeding FlightGear the FDM data
 and visualizing the image generated by FlightGear in another
 computer,
 across a network, using for example streaming video.

 I suppose this is a bit of a far-fetched idea, but is there any sort
 of support for this (or something similar) already implemented?

 If not, do you have any suggestions on how to achieve it, using
 external tools and/or contributing to FlightGear?

 At the moment I'm just brainstorming!

 Thanks,
 António Almeida

 Have you looked at the --jpg-httpd option yet?
 From fgfs --help --verbose:
 --jpg-httpd=portEnable screen shot http server on the
 specified
 port


 This works to send jpeg images over the net that can be refreshed
 fairly
 rapidly...  Not exactly streaming video, but close.  I'm not sure
 if/how
 you could scale it down short of scaling the window on the server
 machine.

 Ron





Hmm?  I have used jpg-httpd to try to capture video and have been
surprised at how slow the performance is.  I always assumed that it
was just a limit in the FG implementation, but now that I see the
above it makes me wonder why I am running so slowly.  I can probably
get something like a frame every 2 seconds.  I have tried using
firefox and curl to grab images and they are slow to download.
Any ideas why I might be having that kind of performance when others
are seeing fast performance?
I am running with FG 9.10 (release version not CVS) on a MacBookPro
(2.16 GHz Intel Core Duo) and FG itself gives a good frame rate.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Material animation and textures

2007-05-24 Thread syd sandy
On Thu, 24 May 2007 21:26:50 +0200 (CEST)
Heiko Schulz [EMAIL PROTECTED] wrote:

 Hi,
 
 That's not right - livery changing did work - only the
 material animation (color changing) didn't work
 since the start.

OK I guess I did miss something :). My b1900d has 2 liveries , but only the 
Blender-mapped one works ... in OSG 


syd  sandy [EMAIL PROTECTED]

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] patch for osgViewer and statistics

2007-05-24 Thread Laurence Vanek
Nick Warne wrote:
 Hi Georg,
 
 On Wednesday 23 May 2007 19:05:43 Georg Vollnhals wrote:
 
 But where do you apply this -O3 parameter? Configure or Make when
 compiling the FlightGear sources? Thank you very much in advance for your
 help.

 Regards
 Georg EDDW
 
 Sorry, I read this too quick.  You can build SG/FG with optimisations like 
 this:
 
 ./configure CXXFLAGS=-O3 ...
 
 If you wish to include further flags, they need to enclosed in double quotes:
 
 ./configure CXXFLAGS=-march=athlon-tbird -O3
 
 This is my full FG configure option:
 
 ./configure CXXFLAGS=-march=athlon-tbird -O3 --prefix=/usr --enable-sdl
 
 Nick
 

wow!  I can confirm the frame rate increase on this system as well using 
the above suggestions.  It approx. doubled my frame rates.

thank you gentlemen.

Fedora Core 6, Intel core 2 duo, nVidia GeForce 7600 GS w/256 meg.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] patch for osgViewer: more keys supported

2007-05-24 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,
This adds support for the keypad and the ever-important backspace and
delete (!) to the osgViewer code.

Tim
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGVnbyeDhWHdXrDRURArgEAKCBLhaVdJOnV27DPPcPHw5Bn1tXjgCgxeji
INyCAxSJgHnV4MFaufiqXkw=
=1FyD
-END PGP SIGNATURE-
Index: src/Main/FGManipulator.cxx
===
RCS file: /var/cvs/FlightGear-0.9/source/src/Main/FGManipulator.cxx,v
retrieving revision 1.3
diff -d -u -r1.3 FGManipulator.cxx
--- src/Main/FGManipulator.cxx  23 May 2007 17:57:05 -  1.3
+++ src/Main/FGManipulator.cxx  25 May 2007 05:38:19 -
@@ -152,6 +152,8 @@
 switch (key) {
 case osgGA::GUIEventAdapter::KEY_Escape: key = 0x1b; break;
 case osgGA::GUIEventAdapter::KEY_Return: key = '\n'; break;
+case osgGA::GUIEventAdapter::KEY_BackSpace: key = '\b'; break;
+case osgGA::GUIEventAdapter::KEY_Delete: key = 0x7f;
 case osgGA::GUIEventAdapter::KEY_Left: key = PU_KEY_LEFT;  break;
 case osgGA::GUIEventAdapter::KEY_Up:   key = PU_KEY_UP;break;
 case osgGA::GUIEventAdapter::KEY_Right:key = PU_KEY_RIGHT; break;
@@ -173,6 +175,17 @@
 case osgGA::GUIEventAdapter::KEY_F10:  key = PU_KEY_F10;   break;
 case osgGA::GUIEventAdapter::KEY_F11:  key = PU_KEY_F11;   break;
 case osgGA::GUIEventAdapter::KEY_F12:  key = PU_KEY_F12;   break;
+case osgGA::GUIEventAdapter::KEY_KP_0: key = 364; break;
+case osgGA::GUIEventAdapter::KEY_KP_1: key = 363; break;
+case osgGA::GUIEventAdapter::KEY_KP_2: key = 359; break;
+case osgGA::GUIEventAdapter::KEY_KP_3: key = 361; break;
+case osgGA::GUIEventAdapter::KEY_KP_4: key = 356; break;
+case osgGA::GUIEventAdapter::KEY_KP_5: key = 309; break;
+case osgGA::GUIEventAdapter::KEY_KP_6: key = 358; break;
+case osgGA::GUIEventAdapter::KEY_KP_7: key = 362; break;
+case osgGA::GUIEventAdapter::KEY_KP_8: key = 357; break;
+case osgGA::GUIEventAdapter::KEY_KP_9: key = 360; break;
+case osgGA::GUIEventAdapter::KEY_KP_Enter: key = 269; break;
 }
 modifiers = osgToFGModifiers(ea.getModKeyMask());
 currentModifiers = modifiers;
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel