Re: [Flightgear-devel] b1900d livery put-together (was: OSG and material animation, livery change ??)

2007-09-04 Thread
On Tue, 4 Sep 2007 13:13:04 +0200
"K. Hoercher" <[EMAIL PROTECTED]> wrote:

> On 8/31/07, Syd&Sandy <[EMAIL PROTECTED]> wrote:
> > Oh man I hope you put it back together again !
> 
> Ah well, you probably don't want to know to what extend I keep messing
> with it for unrelated learning, testing and general tweaking around
> purposes. But that's only because I like it very much. Thanks for your
> great effort there.
> 
> So on putting it together for now: considering the latest cvs I gather
> you want to use the generic livery handling. But perhaps something
> went wrong with the cvs stuff; the "livery describing xmlfiles" must
> live in the directory the aircraft.livery.init specifies. Even more so
> as the otherwise empty dir won't get created by regular "cvs -d -P",
> thus that call fails and subsequently the rest of systems.nas doesn't
> get evaluated.
> 
> Some further trial and error showed that even with my suggested
> inclusion of  in the pre-existing material animations these
> won't work; even when combined into one and using a single changing
> node specified in  unless the condition is removed .
> (Perhaps I should restart digging into the code from there...)
> 
> So unless needed by something else (plib?) I suggest removing those. I
> moved some objects I previously wasn't aware of from the prior
> animations to the new one. For now I kept those, which aren't changed
> by the two existing liveries, but seem reasonably to be variable.
> 
> I've attached a patch along those lines, not including the
> moving/renaming of NZA.xml and CMA.xml to Liveries/. (Unfortunately I
> wasn't able to direct git to shut up about the newline business)
> 
> Best regards
> K. Hoercher
> 

Hi , the left over liveries were my screw up , Ive already removed them here , 
I'll fix that tonight , and check your new patch.
Ideally I'd like the separate liveries to show up online , so everyone isn't 
flying the same one 
But I never seem to have time to really dig into it ...
But thanks again for your help :)
Cheers

-- 
Syd&Sandy <[EMAIL PROTECTED]>

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] b1900d livery put-together (was: OSG and material animation, livery change ??)

2007-09-04 Thread K. Hoercher
On 8/31/07, Syd&Sandy <[EMAIL PROTECTED]> wrote:
> Oh man I hope you put it back together again !

Ah well, you probably don't want to know to what extend I keep messing
with it for unrelated learning, testing and general tweaking around
purposes. But that's only because I like it very much. Thanks for your
great effort there.

So on putting it together for now: considering the latest cvs I gather
you want to use the generic livery handling. But perhaps something
went wrong with the cvs stuff; the "livery describing xmlfiles" must
live in the directory the aircraft.livery.init specifies. Even more so
as the otherwise empty dir won't get created by regular "cvs -d -P",
thus that call fails and subsequently the rest of systems.nas doesn't
get evaluated.

Some further trial and error showed that even with my suggested
inclusion of  in the pre-existing material animations these
won't work; even when combined into one and using a single changing
node specified in  unless the condition is removed .
(Perhaps I should restart digging into the code from there...)

So unless needed by something else (plib?) I suggest removing those. I
moved some objects I previously wasn't aware of from the prior
animations to the new one. For now I kept those, which aren't changed
by the two existing liveries, but seem reasonably to be variable.

I've attached a patch along those lines, not including the
moving/renaming of NZA.xml and CMA.xml to Liveries/. (Unfortunately I
wasn't able to direct git to shut up about the newline business)

Best regards
K. Hoercher
diff --git a/Models/b1900d-anim.xml b/Models/b1900d-anim.xml
index 0582b92..9df2596 100755
--- a/Models/b1900d-anim.xml
+++ b/Models/b1900d-anim.xml
@@ -11,12 +11,17 @@
   LHflap
   LHflap1
   RHaileron
+  LHgeardoor1
+  LHgeardoor2
   RHelevator
   RHflap
   RHflap1
   Rudder
+  RHgeardoor2
+  RHgeardoor1
   Trim
   Wing
+  frtWheeldoor
   /sim/model/livery/all
   texture
   NZAlivery.rgb
@@ -670,46 +675,6 @@
 
 
 
-material
-
-
-sim/model/b1900d/livery-num
-0
-
-
-Fuselage
-Rudder
-Engines
-Wing
-frtWheeldoor
-RHgeardoor2
-RHgeardoor1
-LHgeardoor1
-LHgeardoor2
-/sim/model/b1900d/texture
-
-
-
-material
-
-
-sim/model/b1900d/livery-num
-1
-
-
-Fuselage
-Rudder
-Engines
-Wing
-frtWheeldoor
-RHgeardoor2
-RHgeardoor1
-LHgeardoor1
-LHgeardoor2
-/sim/model/b1900d/texture[1]
-
-
-
 select
 pilot
 
@@ -2817,4 +2782,4 @@
 
 
 
-
\ No newline at end of file
+
diff --git a/b1900d-base.xml b/b1900d-base.xml
index 9bf4796..b9fa8d9 100644
--- a/b1900d-base.xml
+++ b/b1900d-base.xml
@@ -32,9 +32,6 @@ July 2004 Syd Adams
 
 Aircraft/b1900d/Models/b1900d-anim.xml
 
-NZAlivery.rgb
-CMAlivery.rgb
-0
 true
 
 
@@ -220,4 +217,4 @@ July 2004 Syd Adams
 
 
 
-
\ No newline at end of file
+
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel