Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 01 Feb 2004
Offline Last Active May 03 2015 08:46 AM

Posts I've Made

In Topic: Rotate to face a direction, by applying angular acceleration?

30 December 2013 - 03:02 AM

@Mike, just a few questions about that equation:

  • Is "timestep" the fractional 1/60.0 or the number of steps in a second (e.g. 60)?
  • Is "angle", the result of acos(desired.dot(current)) ?
  • Is "angular velocity" the current angular velocity of the ship?
  • What's "moment of inertia"?

Sorry if I'm being dumb :)

In Topic: Rotate to face a direction, by applying angular acceleration?

17 December 2013 - 04:19 AM

Yeah, I need to do that. So I've worked out that angular rotation is represented by the axis of rotation, and the magnitude is the amount of rotation. This means that I can use the cross-product between the two vectors to work out the torque I need to apply.


This seems to work for small rotations, but the moment my ship crashes into something the whole thing goes haywire. I'm going to debug some more but if using the cross-product is a bad idea for some reason please let me know! Are there edge cases when the difference between the two vectors is large?

In Topic: Radial Blur tutorial link broken?

10 November 2011 - 02:01 PM

Should be working fine now :)

In Topic: "Beginning OpenGL Game Programming 2nd edition" fragment shader compi...

20 September 2011 - 12:19 PM

Hi torelocks,

Sorry you are having trouble with the source code that came with the book. Could you try the latest bug fix release from here: http://www.kazade.co.uk/downloads/boglgp/

Let me know if you still have trouble,



In Topic: NeHe's legacy tutorials and LWJGL are outdated!

06 September 2011 - 03:05 AM

LWJGL has been updated many (many) times since all the tutorials were written, or at least since they were converted.

I'm going to be reading through (hopefully) all of the tutorials and converting them to LWJGL for my own learning purposes anyway, so i figure i might as well share the code. No use keeping to myself what I can share for free.

I guess what I came here to ask is whether or not it would be worth it to go through the extra time and effort to add extra comments, write readmes, etc. etc. If I were to do all that and put them in a nice zip or jar file, would I be able to send them to NeHe and have them replace the old, outdated conversions? Or is the website 'dead'?


We are planning a new set of tutorials that will bring the old ones up-to-date. So, it's probably not worth updating the existing ones. But, when the new ones are released you are more than welcome to port those! :D

The delay at the moment is that the site is now hosted on Google AppEngine and they dropped a bombshell price increase on us the other day so all my free time is going on optimizing the site to reduce the billing cost. Just a bit more optimizing to do and then I can begin work on the new lessons :)

Stay tuned!