Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (290)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  GLU  (Read 4623 times)
0 Members and 1 Guest are viewing this topic.
Offline Matzon
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


« Reply #30 - Posted 2004-01-09 16:44:39 »

Ok, so I talked with some people and seached a lot - basically, lgpl is bad in conjunction with LWJGL.
1 - Using the import statement(!) against a LGPL library is enough to invoke it.
2 - If making import statements is enough to "infect" surely rewriting something once LGPL would be even worse.

Some info:
http://article.gmane.org/gmane.comp.jakarta.poi.devel/5900

Oh, and the guys in #gnu @ freenode.net are not particularly friendly regarding license issues:
Quote
[17:55:25] * mortal changes topic to 'GNU: It's all about software freedom || Consult your lawyer in questions related to licensing of Free Software'


I don't really know where to go from here, GLU would be nice - but at the price of a 200 kb mipmap file - thats a bit daunting!
I'll see if I can find another "free" implementation which is more simple.

Offline erikd

JGO Knight


Medals: 3
Projects: 3


Maximumisness


« Reply #31 - Posted 2004-01-09 21:48:19 »

Hi Matzon

Thanks for doing the research  Cheesy
I was afraid of this. In the meantime, I will just do some research using the sources I have now so I can do a proper rewrite without violating licenses. As I see it, using some techniques to write my own code is ok. The SGI code is very complicated because they cover all cases while maybe it's not necessary for LWJGL (being targeted to games and all). I mean, I don't think we have to support all pixel formats and optimize for openGL version 1.0 do we?

Erik

Offline Matzon
« League of Dukes »

JGO Knight


Medals: 13
Projects: 2


I'm gonna wring your pants!


« Reply #32 - Posted 2004-01-09 21:52:38 »

Well, basically I'd just start out with the most simple cases, and then progress slowly from there - no need in optimizing each and every case, and doing all methods in fell swoop. I'm in no hurry Smiley

Games published by our own members! Check 'em out!
Try the Free Demo of Titan Attacks
Offline elias

Senior Member





« Reply #33 - Posted 2004-01-10 08:06:11 »

You can safely assume GL 1.1 and an RGB pixel format, because that's the minimum LWJGL runs on. So yes, there's probably a lot to carve away.

- elias

Offline erikd

JGO Knight


Medals: 3
Projects: 3


Maximumisness


« Reply #34 - Posted 2004-01-11 13:22:04 »

Can I also safely assume type GL_UNSIGNED_BYTE or is anyone frequently using other types? (I only had to use this type so far).

FYI, I got mesa's mipmap function working for GL_UNSIGNED byte types, using point sample scaling. It doesn't look very good because of the simple scaling algo, but I can use what I have now to rewrite it using some of Mesa's techniques. That would be okay, right?

EDIT: rewrote scaling, so everything now looks silky smooth  Kiss

And do we really need gluBuild1DMipmaps? I couldn't think of one possible use for it in games...

Offline cfmdobbie

Senior Member




Who, me?


« Reply #35 - Posted 2004-01-11 22:53:30 »

It's about as useful as a chocolate glutSolidTeapot.  Ditch it.

Hellomynameis Charlie Dobbie.
Offline erikd

JGO Knight


Medals: 3
Projects: 3


Maximumisness


« Reply #36 - Posted 2004-01-12 08:37:19 »

Quote
It's about as useful as a chocolate glutSolidTeapot.  Ditch it.


Grin
That's what I thought.

The current status is that I replaced the glu functions with new ones ported from SGI, except for:

* mipmaps are now just partially ported. I rewrote scaling and it looks now much better than the original mesa code. I also fixed 1 or 2 bugs in the mesa code here. I also did some refactoring in the code so there's just very little mesa code left. Is this sufficient to call it our own code, you reckon?
* quads are also still partially from mesa. I looked in the SGI code and it's *very* similar (it's really almost the same). Since I refactored it to make it OO code, you think it's still violating the LGPL license? I mean how many ways are there to draw a sphere, really...

Now I just have the tesselation code and the nurbs code left. Which is *lots* of code to port. Anyone using that?

Erik

Offline pepijnve

Junior Member




Java games rock!


« Reply #37 - Posted 2004-02-18 15:55:15 »

I already ported the tesselation stuff from the SGI sample implementation some time ago. It's integrated into jogl...
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #38 - Posted 2004-04-29 21:42:09 »

Quote

[...]
Now I just have the tesselation code and the nurbs code left. Which is *lots* of code to port. Anyone using that?


Well, I was about to use the tesselation stuff... but I just found that it isn't there... oh well :-/

Once again it's time to reinvent the wheel... or switch to C/C++ or JOGL...

Crap :l

弾幕 ☆ @mahonnaiseblog
Offline erikd

JGO Knight


Medals: 3
Projects: 3


Maximumisness


« Reply #39 - Posted 2004-04-30 11:01:28 »

Typical how java developers often claim they are switching to C++ or C# whenever there's a little set back ... :-/

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #40 - Posted 2004-04-30 11:28:35 »

Quote
Typical how java developers often claim they are switching to C++ or C# whenever there's a little set back ... :-/


Nah. I ment for that part (level building process).

I have to do something about this and the options are:

-more timeconsuming level building (won't work)
-build that part by myself
-port something that does the trick
-do that part in jogl
-do that part in c/c++

Well, it won't convert me into a C/C++ guy... it's just another minor annoyance :]

弾幕 ☆ @mahonnaiseblog
Offline erikd

JGO Knight


Medals: 3
Projects: 3


Maximumisness


« Reply #41 - Posted 2004-04-30 22:57:51 »

Of course.
Never mind me, that was just a comment from somebody with a hangover Grin

Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (65 views)
2013-05-17 21:29:12

alaslipknot (74 views)
2013-05-16 21:24:48

gouessej (105 views)
2013-05-16 00:53:38

gouessej (102 views)
2013-05-16 00:17:58

theagentd (112 views)
2013-05-15 15:01:13

theagentd (102 views)
2013-05-15 15:00:54

StreetDoggy (147 views)
2013-05-14 15:56:26

kutucuk (169 views)
2013-05-12 17:10:36

kutucuk (168 views)
2013-05-12 15:36:09

UnluckyDevil (177 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.136 seconds with 20 queries.