Welcome to Dream.In.Code
Getting Help is Easy!

Join 131,671 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,730 people online right now. Registration is fast and FREE... Join Now!




How is OpenGL?

 
Reply to this topicStart new topic

How is OpenGL?

abgorn
post 8 Oct, 2008 - 12:19 PM
Post #1


Hello Crap for Brains

Group Icon
Joined: 5 Jun, 2008
Posts: 849



Thanked 4 times

Dream Kudos: 25
My Contributions


I've been thinking of trying to use OpenGL but I'm not sure how it is. I've seen some upsides (actually an incredible amount of them) but not a whole lot about peoples experience with it. So I'd like you to help me find out what you think about it (e.g how hard/easy it is, compatibiltiy etc).
User is offlineProfile CardPM

Go to the top of the page


no2pencil
post 8 Oct, 2008 - 12:25 PM
Post #2


My fridge be runnin OH NOEZ!

Group Icon
Joined: 10 May, 2007
Posts: 6,288



Thanked 54 times

Dream Kudos: 2375

Expert In: Goofing Off

My Contributions


I have not used OpenGL very much,but I would compare it to the Microsoft Windows API. Simply catch messages from the loop.
User is offlineProfile CardPM

Go to the top of the page

.Maleficus.
post 8 Oct, 2008 - 01:38 PM
Post #3


D.I.C Head

**
Joined: 7 Mar, 2008
Posts: 126



Thanked 2 times
My Contributions


Well, besides DirectX, OpenGL is the standard for graphics libraries (I say standard because it is cross-platform, unlike the "real" standard DirectX). OpenGL has been used in huge games, like the UT series, a lot of id titles and a bunch more. Like any graphics library, there's a big learning curve and I myself have spent very little time with it, but if you want to program cross-platform games, it's the way to go.
User is offlineProfile CardPM

Go to the top of the page

gabehabe
post 8 Oct, 2008 - 04:07 PM
Post #4


Working Girl.

Group Icon
Joined: 6 Feb, 2008
Posts: 5,377



Thanked 94 times

Dream Kudos: 2625

Expert In: Dingleberries

My Contributions


I tried it ages ago, but I ended up crapping myself, curling up in the foetal position, and sucking my thumb.

OK, not really~ But I didn't like it.

Then again, I hadn't been programming for too long. If I did it now, I think (read: at least the basics) would seem quite easy. smile.gif

If you're only just getting into games/graphics, you might want to look at SDL just to get the gist of things~ it's nice and easy for a beginner.
User is offlineProfile CardPM

Go to the top of the page

WolfCoder
post 9 Oct, 2008 - 08:50 PM
Post #5


ギュウ~

Group Icon
Joined: 5 May, 2005
Posts: 3,553



Thanked 5 times

Dream Kudos: 1450
My Contributions


OpenGL is much easier than DirectX. DirectX HASMACRODEFINITIONSWITHENTIREPARAGRAPHSUSEDINSIDE while OpenGL has functions that actually have meaningful names. Plus it's open platform. SDL in OpenGL mode makes things very simple for 3D stuff.
User is offlineProfile CardPM

Go to the top of the page

Salv0
post 9 Oct, 2008 - 11:24 PM
Post #6


New D.I.C Head

*
Joined: 31 Jul, 2008
Posts: 17



Thanked 2 times
My Contributions


If you are a real beginner in graphics programming then use OpenGL wink2.gif
User is offlineProfile CardPM

Go to the top of the page

stayscrisp
post 10 Oct, 2008 - 03:49 AM
Post #7


D.I.C Regular

***
Joined: 14 Feb, 2008
Posts: 257



Thanked 6 times
My Contributions


QUOTE(Salv0 @ 10 Oct, 2008 - 12:24 AM) *

If you are a real beginner in graphics programming then use OpenGL wink2.gif


if you are a real beginner in graphics programming, use a pre built engine.

OpenGL is difficult but the results are excellent and it is a very good learning experience, obviously you cant just use OpengGL to make games you need to know a lot of other stuff smile.gif

good luck
User is offlineProfile CardPM

Go to the top of the page

Noldona
post 10 Oct, 2008 - 09:42 AM
Post #8


Space for rent

****
Joined: 2 Jul, 2002
Posts: 872



Thanked 2 times
My Contributions


I don't have a lot of experience with OpenGL, but I have written a audio sub-system for an engine with OpenAL which models it's APIs after the style of OpenGL and I picked this up really easy so OpenGL shouldn't be to hard either. I also suggest SDL with OpenGL. I have played with SDL and worked on a game engine in that (didn't get to the 3D stuff though) and picked it quick especially with LazyFoo's tutorials.
User is online!Profile CardPM

Go to the top of the page

WolfCoder
post 10 Oct, 2008 - 11:26 AM
Post #9


ギュウ~

Group Icon
Joined: 5 May, 2005
Posts: 3,553



Thanked 5 times

Dream Kudos: 1450
My Contributions


SDL isn't really a game engine, it's pretty simillar to programming using DirectDraw. You've got your layers, clippers, and channels. Does SDL do image rotation? You can't use OpenGL and SDL's native graphics at the same time, you have to pick one and one engine only, but it only goes for Video. In OpenGL mode, every single other SDL system works normally.

This post has been edited by WolfCoder: 10 Oct, 2008 - 11:26 AM
User is offlineProfile CardPM

Go to the top of the page

csmanoj
post 10 Oct, 2008 - 11:39 AM
Post #10


D.I.C Head

Group Icon
Joined: 6 Aug, 2007
Posts: 139



Thanked 3 times

Dream Kudos: 50
My Contributions


Even I feel OpenGL is easier and gentler to learn than DirectX if you're a beginner (I learnt them side-by-side in a 3D programming course). Except for making windows games, OpenGL is substitutable to, if not better than DirectX. I was able to start my own programs in OpenGL right on day one but not the case with DirectX. And cross-platformness is a neat perk. So, I'd say go ahead with OpenGL.
User is offlineProfile CardPM

Go to the top of the page

Pontus
post 12 Oct, 2008 - 11:37 AM
Post #11


Dreaming Coder / Coding Dreamer

Group Icon
Joined: 28 Dec, 2006
Posts: 519



Thanked 2 times

Dream Kudos: 275
My Contributions


I tried some OpenGL myself, and I find the commands really self-explanatory. I've never used DirectX but the code just seems so messy and confusing. OpenGL is cross platfrom and better understandable, but you dont have alot of support for it.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/20/08 07:12AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month