Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-31 Thread Frederic Bouvier
Erik Hofman a écrit : Jim Wilson wrote: Uggh...sometimes plib really sucks. The ssg API seems pretty straight forward until some quirk rears its ugly head. There's just enough documentation to make you think it'll work. The above idea didn't pan out. It seems odd that I can write a

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-31 Thread Erik Hofman
Jim Wilson wrote: Uggh...sometimes plib really sucks. The ssg API seems pretty straight forward until some quirk rears its ugly head. There's just enough documentation to make you think it'll work. The above idea didn't pan out. It seems odd that I can write a GL_EMISSIVE state and it gets

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-31 Thread Erik Hofman
Frederic Bouvier wrote: Erik Hofman a écrit : There has been a hack to get alpha blending to work when display lists are activated. Maybe this is having the opposite effect at this time? You can disable that be commenting out the line ignore = true; for theSGBlendAnimation in

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-30 Thread Jim Wilson
Erik Hofman said: Jim Wilson wrote: Hah. That's funny, I didn't even notice that code and it does almost the same thing. I'll fix the alpha-blend and send a patch...unless you've already gotten it. The exact same code with the GL_DIFFUSE instead of GL_EMISSION, with a couple other

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-29 Thread Erik Hofman
Jim Wilson wrote: not part of cvs logtext Note the diff file has been renamed from the earlier submission. This version works better with more complex models. /not part of cvs logtext This patch adds support to the model animation system for modifying emissive states on the fly so that it is

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-29 Thread Frederic Bouvier
Erik Hofman wrote : Jim Wilson wrote: not part of cvs logtext Note the diff file has been renamed from the earlier submission. This version works better with more complex models. /not part of cvs logtext This patch adds support to the model animation system for modifying emissive states on the

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-29 Thread Erik Hofman
Frederic Bouvier wrote: Erik Hofman wrote : It's committed. Thanks. I have to figure out how you did this, the alpha-blend patch seemed to be broken at the moment, probably because of a change in plib :-/ Or because of display lists. We did a trick a the time. Something to disallow the use of

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-29 Thread Jim Wilson
Erik Hofman said: Jim Wilson wrote: not part of cvs logtext Note the diff file has been renamed from the earlier submission. This version works better with more complex models. /not part of cvs logtext This patch adds support to the model animation system for modifying emissive

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-29 Thread Frederic Bouvier
Jim Wilson wrote : Erik Hofman said: Jim Wilson wrote: not part of cvs logtext Note the diff file has been renamed from the earlier submission. This version works better with more complex models. /not part of cvs logtext This patch adds support to the model animation system for modifying

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-29 Thread Jim Wilson
Frederic Bouvier said: Jim Wilson wrote : Erik Hofman said: Jim Wilson wrote: not part of cvs logtext Note the diff file has been renamed from the earlier submission. This version works better with more complex models. /not part of cvs logtext This patch adds support

Re: [Flightgear-devel] [PATCH] Simgear support for emissive animation for instruments (ver 2)

2005-01-29 Thread Erik Hofman
Jim Wilson wrote: Hah. That's funny, I didn't even notice that code and it does almost the same thing. I'll fix the alpha-blend and send a patch...unless you've already gotten it. The exact same code with the GL_DIFFUSE instead of GL_EMISSION, with a couple other minor changes should work. Note