JOGL - FPS and Fly Through Code

No it was a joke but I use it as an occasion to explain why I use the GPL license.

GPL is viral in that way:

[quote]You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force.
[/quote]
As it is not clear, I explain it again, I use GPL to encourage people to share. In France, some corporations have been prosecuted because they violated this license. I’m not going to bother someone for 2 lines. If I share some source code, I expect that people that use it will share them too, I would find it unfair if someone uses an open source code to write a closed source code.

I’m completely relaxed…I don’t have any problems or concerns here. Probably because I don’t believe in licenses but I do believe in ethics. If I use a code I will give credit. If the code is non-trivial then I would adhere to the wishes of the originator and then likely go forth and develop my own code without having to use the original and hence I will not give any credit to the inspiration. If the code is trivial I will still give credit but I will not feel obligated to anyone.

In my opinion, software licenses are what stifle development and progress…but I understand the need for some protection and I don’t have any better alternatives.

Can we end this now…my original FPS code post is now a damn licensing post.

Yes, your source code is beautiful, keep the 2 lines; even for a non trivial code, I don’t ask anyone to quote me.

About your source code, do you think it is slower to build the model-view matrix by yourself rather than using gluLookAt? One of my teachers asked me this question some years ago.

hmm…I don’t know…tough question since I’ve never looked at the gluLookAt code to see how they implement things. You’d have to add up the various math calculations that are required for each of the two methods.