Re: [Flightgear-devel] AI objects with hardened surface not possible? Dave Culp?

2006-03-11 Thread Mathias Fröhlich
On Saturday 11 March 2006 01:44, Georg Vollnhals wrote:
 Of course the ship-model is hardened when put into the scenery as a
 static object. It also works when I make a moving ship-object with fixed
 direction (see listed XML-file at the bottom of this message).
 Also creating a flight-plan and let the ship fly at ground-level works
 very fine and impressive.
 But I cannot get a hardened and landable surface.

 May be anyone (Dave Culp?) can answer whether it is possible to create
 flightplan-models with hardened surface?
I hope I am allowed to answer too :)

Well flightplans are ignored by the AICarrier that is true.
Also AIAircraft do not contribute to the ground computaitions.

Carriers have their own 'flightplan'. Vivian has coded the typical 'stay in an 
operation box' 'flightplan' for the carrier. So it is not easy to make that 
work with flightplans.

I believe that AIModels will need a SGSubsystem which could either be 
something interpreting usual flightplans or that carrier box thing or may be 
a nasal subsystem, so that every AIModel can behave like the author scripted 
in nasal without hardcoding that in c++.

For the solidness we will need IMO a hierarchical bounding box collider which 
is updated instead of rebuilt at each update(). The presence of movable 
objects like the carrier and the need to keep aircraft on the deck even if 
the carrier turns, this must be done with special care for these movements.
Any yes I know that this does not yet work right, but this is not due to the 
way the FDM 'see' the carrier surface move rather than a usual problem of 
viscosous friction models in all our FDM's.

For this current short term problem.
I believe that it would be possible to make ship's surfaces solid and make 
ships but not carriers follow flightplans.
An other alternative would be to move that solid tag into AIBase ...
Let's see ...

... but not in this current release cycle.
Please remeind me past the pending release ...

Greetings

Mathias

-- 
Mathias Fröhlich, email: [EMAIL PROTECTED]


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


RE: [Flightgear-devel] AI objects with hardened surface not possible? Dave Culp?

2006-03-11 Thread Vivian Meazza
Mathias Fröhlich

 
 On Saturday 11 March 2006 01:44, Georg Vollnhals wrote:
  Of course the ship-model is hardened when put into the scenery as a
  static object. It also works when I make a moving ship-object with fixed
  direction (see listed XML-file at the bottom of this message).
  Also creating a flight-plan and let the ship fly at ground-level works
  very fine and impressive.
  But I cannot get a hardened and landable surface.
 
  May be anyone (Dave Culp?) can answer whether it is possible to create
  flightplan-models with hardened surface?
 I hope I am allowed to answer too :)
 
 Well flightplans are ignored by the AICarrier that is true.
 Also AIAircraft do not contribute to the ground computaitions.
 
 Carriers have their own 'flightplan'. Vivian has coded the typical 'stay
 in an
 operation box' 'flightplan' for the carrier. So it is not easy to make
 that
 work with flightplans.
 
 I believe that AIModels will need a SGSubsystem which could either be
 something interpreting usual flightplans or that carrier box thing or may
 be
 a nasal subsystem, so that every AIModel can behave like the author
 scripted
 in nasal without hardcoding that in c++.
 
 For the solidness we will need IMO a hierarchical bounding box collider
 which
 is updated instead of rebuilt at each update(). The presence of movable
 objects like the carrier and the need to keep aircraft on the deck even if
 the carrier turns, this must be done with special care for these
 movements.
 Any yes I know that this does not yet work right, but this is not due to
 the
 way the FDM 'see' the carrier surface move rather than a usual problem of
 viscosous friction models in all our FDM's.
 
 For this current short term problem.
 I believe that it would be possible to make ship's surfaces solid and make
 ships but not carriers follow flightplans.
 An other alternative would be to move that solid tag into AIBase ...
 Let's see ...
 

Just to add a little to that - stay-in-a-box mode is selectable on/off from
the nimitz-demo file, and the limits of the box are selectable.

If you want a ship which has solid decks, add it to the nimitz-demo file as
another carrier, and make the path to the 3d model whatever you want it to
be. You might be able to constrain the operations box enough for your needs,
otherwise it's only a straight course and fixed speed atm, I'm afraid.

HTH

Vivian



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] AI objects with hardened surface not possible? Dave Culp?

2006-03-11 Thread Georg Vollnhals

Vivian Meazza schrieb:

Mathias Fröhlich




For the solidness we will need IMO a hierarchical bounding box collider
which
is updated instead of rebuilt at each update(). The presence of movable
objects like the carrier and the need to keep aircraft on the deck even if
the carrier turns, this must be done with special care for these
movements.
Any yes I know that this does not yet work right, but this is not due to
the
way the FDM 'see' the carrier surface move rather than a usual problem of
viscosous friction models in all our FDM's.

For this current short term problem.
I believe that it would be possible to make ship's surfaces solid and make
ships but not carriers follow flightplans.
An other alternative would be to move that solid tag into AIBase ...
Let's see ...



**Hi Mathias,*
thank you for your explanation!
now I understand why it works with a fixed course (no turnings) but not 
with a flightplan - yet!

Let's see is always promising for the future :-)
Regards
Georg
**



Just to add a little to that - stay-in-a-box mode is selectable on/off from
the nimitz-demo file, and the limits of the box are selectable.

If you want a ship which has solid decks, add it to the nimitz-demo file as
another carrier, and make the path to the 3d model whatever you want it to
be. You might be able to constrain the operations box enough for your needs,
otherwise it's only a straight course and fixed speed atm, I'm afraid.

HTH

Vivian


***Hi Vivian,**
I'll have a look into that this evening and try to change the 
operations box limits. If it works with flightplans I'll give feedback.

Thank you for the answer anyway, it is a chance!

As for a fixed course the solution is quite easier as I found out by 
experiments. I used a modified version of Eric's freighter and gave it 
the type carrier and some solid parameter like the carrier has.

This works (for a fixed course).

Regards
Georg


?xml version=1.0?
PropertyList
 scenario
  entry
   typecarrier/type
   modelModels/Work/gen-freighter01.ac/model
   solidcabin/solid
   solidchull/solid
   solidwavefront/solid
   latitude53.12707079/latitude
   longitude8.679790884/longitude
   speed6.0/speed
   rudder3.0/rudder
  /entry
 /scenario
/PropertyList



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] AI objects with hardened surface not possible? Dave Culp?

2006-03-10 Thread Georg Vollnhals

Hi,
for my upcoming Bremen scenery I tried to get moving ships which follow
the river Weser. There should be at least a hardened hull (deck) to be
landable for the BO105.

Of course the ship-model is hardened when put into the scenery as a
static object. It also works when I make a moving ship-object with fixed
direction (see listed XML-file at the bottom of this message).
Also creating a flight-plan and let the ship fly at ground-level works
very fine and impressive.
But I cannot get a hardened and landable surface.

May be anyone (Dave Culp?) can answer whether it is possible to create
flightplan-models with hardened surface?

Thank you for your time and energy.
Regards
Georg EDDW

Appendix:

--
WORKS:
(no flightplan, fixed direction, like ship-demo)

?xml version=1.0?
PropertyList
 scenario
  entry
   typecarrier/type
   modelModels/Work/gen-freighter01.ac/model
   solidcabin/solid
   solidchull/solid
   solidwavefront/solid
   latitude53.12707079/latitude
   longitude8.679790884/longitude
   speed6.0/speed
   rudder3.0/rudder
  /entry
 /scenario
/PropertyList
--

DOES NOT WORK:
(with flightplan, ship moves along the river Weser as it should but
 has no hardened surface,
 one example, made a lot of different files to test)

?xml version=1.0?
PropertyList
 scenario
  entry
   callsignWeserAIZero/callsign
   typeaircraft/type
   classcarrier/class
   modelModels/Work/gen-freighter01.ac/model
   solidcabin/solid
   solidchull/solid
   solidwavefront/solid
   flightplanweser-test01.xml/flightplan
   repeat1/repeat
  /entry
 /scenario
/PropertyList
-




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel