RE: [Flightgear-devel] Propeller animation speed fix

2002-05-03 Thread David Megginson
Jon Berndt writes: I was remembering first how the F-16 sim at Link was run at 25 Hz, which is of course 0.04 seconds. Wait ... (thinking, this time). Yes, that's right ;-) Then, I went to the numpad on my keyboard and hit 0.01 as I was typing in the dt for 100 Hz. Only I missed. On

RE: [Flightgear-devel] Propeller animation speed fix

2002-05-03 Thread Jon Berndt
? I don't see any harm in sticking with the integer value, but I agree that a better name, proper documentation, and some debugging is essential. This is true - particularly about documentation. Inline comments would help, too. I prefer (and we will continue to do this for JSBSim) that dt

RE: [Flightgear-devel] Propeller animation speed fix

2002-05-03 Thread Tony Peden
On Fri, 2002-05-03 at 04:20, Jon Berndt wrote: ? I don't see any harm in sticking with the integer value, but I agree that a better name, proper documentation, and some debugging is essential. This is true - particularly about documentation. Inline comments would help, too. I prefer

Re: [Flightgear-devel] Propeller animation speed fix

2002-05-03 Thread Christian Mayer
David Megginson wrote: Jon Berndt writes: I was remembering first how the F-16 sim at Link was run at 25 Hz, which is of course 0.04 seconds. Wait ... (thinking, this time). Yes, that's right ;-) Then, I went to the numpad on my keyboard and hit 0.01 as I was typing in the dt

Re: [Flightgear-devel] Propeller animation speed fix

2002-05-03 Thread Curtis L. Olson
I think I agree. When we go about fixing this up, I think we should pass a dt to the modules which would be in units = seconds and of type double. Regards, Curt. Christian Mayer writes: David Megginson wrote: Jon Berndt writes: I was remembering first how the F-16 sim at Link

Re: [Flightgear-devel] Propeller animation speed fix

2002-05-03 Thread Arnt Karlsen
On Thu, 2 May 2002 23:23:53 -0500, Jon Berndt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]: This is ridiculous. dt is short for delta T. In a 100 Hz simulation, the corresponding dt is 0.04. For 120 Hz it's 0.00833. For people that do simulation for a living this is one of

[Flightgear-devel] Billboard animation

2002-05-03 Thread David Megginson
I've just checked in changes to add a billboard animation to FlightGear 3D models. The billboard animation causes an object (or entire model) to rotate towards the camera about its z-axis and, optionally, its x-axis as well. Here's the XML wrapper for a sample billboarded tree (only 4 vertices)

RE: [Flightgear-devel] Billboard animation

2002-05-03 Thread Norman Vine
David Megginson writes: Feel free to play with the sample tree and to compare it to the non-billboarded tree. I don't know which approach would be better for an entire forest: 1. The non-billboarded tree has 18 vertices (or so), but doesn't require any special dynamic transformation. 2.