Sign in to follow this  
  • entries
    149
  • comments
    510
  • views
    94311

Better never than late

Sign in to follow this  
noaktree

151 views

The OpenGL itch...

So I jumped fences for a couple of days and programmed my very first OpenGL application. I built a little wrapper around a few common 3D operations (transformations, cube maps, textures, cameras, lights, shaders) and then made a demo to show what I did. The end result is an application that displays three shaders. The shaders are environmental gloss, cel shading, and specular normal mapping. You can download the binary and the source from my site. Here are some images of the shaders.



The OpenGL bitch...

Ok so like I said it was my first time with OpenGL and I probably don't have a very good grasp on it, but already I'm noticing a lot of little things I don't like about it. To use an analogy lets say that you want to build a model airplane. You go out to the store and get an airplane kit. When you get home and start to assemble the plane you notice that it didn't come with any propellers and the rear wing is missing. Maybe I've just been spoiled by DirectX for so long that I've come to expect a complete package (which OpenGL is not). In order to get OpenGL on par with DirectX you'll need to use other developer's licensed libraries or build your own. Like I said I'm really new to GL and I don't know if these issues are already being addressed but it seems to me that the best thing for OpenGL is to get taken over by Microsoft. [grin] That way we can have decent texture loading, font classes, and other little niceties that DX developers have come to enjoy - right out of the box.

The good news...

I'm not dead and I did manage to get a small framework that I can build on, should I feel then need to stab myself with OpenGL again.

In other news I've been continuing my work on the Troll character. I'm doing mostly animations at the moment. Also I've been playing around with asm and SSE for the fun of it.
Sign in to follow this  


6 Comments


Recommended Comments

I'm really feeling the love for OpenGL in this journal entry [smile]

Quote:
it seems to me that the best thing for OpenGL is to get taken over by Microsoft.

[lol] Best hope no OpenGL fanboys spot this...[attention]

Jakc

Share this comment


Link to comment
Nice looking stuff.

From what i've heard D3D does sound pretty nice. However, since my dev machine is linux (and i'm working with SDL), it's pretty much out of the question for me.

Share this comment


Link to comment
OpenGL was made primarily for graphic output, although it would be nice if they provided everything needed. I'm a DirectX guy at heart as well (even with my lack of Direct3D experience). I find it funny that I've been using SDL.NET for my latest project as SDL was created using OpenGL's graphical output and .NET, well.

Make him do the YMCA [smile]. Oh, and if you didn't notice.

Share this comment


Link to comment
Quote:
Best hope no OpenGL fanboys spot this...
Yeah I didn't really want to start a fight! [smile]
Quote:
However, since my dev machine is linux (and i'm working with SDL), it's pretty much out of the question for me.
That's really what GL and SDL have going for them (which is a pretty big thing) and one of the reasons I decided to learn it.
Quote:
Make him do the YMCA
[lol] I'm not that talented. I'll check out v1.2 later. I've been using your app for all my screens! [smile]

Share this comment


Link to comment
Quote:
That's really what GL and SDL have going for them (which is a pretty big thing) and one of the reasons I decided to learn it.


Yeah, when using 3rd party libraries, APIs, etc. portability is usually pretty high on my list of things I look for. I can understand why Microsoft does a lot of the things they do - it makes good business sense - but that doesn't mean I have to like it.
If D3D was easily available on other platforms, there's a good chance I would use it. OpenGL could be better, but since I have 3 different operating systems running on different computers at home - I really have little choice.

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now