School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
You're Browsing As A Guest! Register Now...
Become an Expert!

Join 357,969 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,562 people online right now.Registration is fast and FREE... Join Now!



How is OpenGL?

52 Weeks of Code Challenge: Android

Week #11 of the 52 Weeks of Code Challenge is Android, you should give it a shot. Click Here!

How is OpenGL? Rate Topic: -----

#1 abgorn  Icon User is offline

  • sudo apt-get install brain
  • Icon

Reputation: 25
  • View blog
  • Posts: 1,377
  • Joined: 05-June 08


Dream Kudos: 50

Posted 08 October 2008 - 12:19 PM

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).
Was This Post Helpful? 0
  • +
  • -


#2 no2pencil  Icon User is offline

  • Grandma Nut
  • Icon

Reputation: 559
  • View blog
  • Posts: 15,791
  • Joined: 10-May 07


Dream Kudos: 2875

Expert In: Goofing Off

Re: How is OpenGL?

Posted 08 October 2008 - 12:25 PM

I have not used OpenGL very much,but I would compare it to the Microsoft Windows API. Simply catch messages from the loop.
Was This Post Helpful? 0
  • +
  • -

#3 .Maleficus.  Icon User is offline

  • D.I.C Head
  • PipPip

Reputation: 2
  • View blog
  • Posts: 129
  • Joined: 07-March 08


Dream Kudos: 0

Re: How is OpenGL?

Posted 08 October 2008 - 01:38 PM

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.
Was This Post Helpful? 0
  • +
  • -

#4 gabehabe  Icon User is offline

  • Black Scatmaster
  • Icon

Reputation: 214
  • View blog
  • Posts: 9,100
  • Joined: 06-February 08


Dream Kudos: 3300

Expert In: Lots of things.

Re: How is OpenGL?

Posted 08 October 2008 - 04:07 PM

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. :)

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.
Was This Post Helpful? 0
  • +
  • -

#5 WolfCoder  Icon User is offline

  • Also a resident Witch. Yes, really.
  • Icon

Reputation: 104
  • View blog
  • Posts: 5,984
  • Joined: 05-May 05


Dream Kudos: 1675

Expert In: ゲームのプログラム、かわいい

Re: How is OpenGL?

Posted 09 October 2008 - 08:50 PM

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.
Was This Post Helpful? 0
  • +
  • -

#6 Salv0  Icon User is offline

  • New D.I.C Head
  • Pip

Reputation: 2
  • View blog
  • Posts: 17
  • Joined: 31-July 08


Dream Kudos: 0

Re: How is OpenGL?

Posted 09 October 2008 - 11:24 PM

If you are a real beginner in graphics programming then use OpenGL ;)
Was This Post Helpful? 0
  • +
  • -

#7 stayscrisp  Icon User is offline

  • Cheek-> Insert(Tongue);
  • Icon

Reputation: 69
  • View blog
  • Posts: 1,568
  • Joined: 14-February 08


Dream Kudos: 300

Re: How is OpenGL?

Posted 10 October 2008 - 03:49 AM

View PostSalv0, on 10 Oct, 2008 - 12:24 AM, said:

If you are a real beginner in graphics programming then use OpenGL ;)


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 :)

good luck
Was This Post Helpful? 0
  • +
  • -

#8 Noldona  Icon User is offline

  • Addicted to DIC
  • PipPipPipPipPip

Reputation: 4
  • View blog
  • Posts: 1,040
  • Joined: 02-July 02


Dream Kudos: 0

Re: How is OpenGL?

Posted 10 October 2008 - 09:42 AM

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.
Was This Post Helpful? 0
  • +
  • -

#9 WolfCoder  Icon User is offline

  • Also a resident Witch. Yes, really.
  • Icon

Reputation: 104
  • View blog
  • Posts: 5,984
  • Joined: 05-May 05


Dream Kudos: 1675

Expert In: ゲームのプログラム、かわいい

Re: How is OpenGL?

Posted 10 October 2008 - 11:26 AM

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 October 2008 - 11:26 AM

Was This Post Helpful? 0
  • +
  • -

#10 csmanoj  Icon User is offline

  • D.I.C Head
  • Icon

Reputation: 7
  • View blog
  • Posts: 144
  • Joined: 06-August 07


Dream Kudos: 50

Re: How is OpenGL?

Posted 10 October 2008 - 11:39 AM

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.
Was This Post Helpful? 0
  • +
  • -

#11 Pontus  Icon User is offline

  • Dreaming Coder / Coding Dreamer
  • Icon

Reputation: 8
  • View blog
  • Posts: 575
  • Joined: 28-December 06


Dream Kudos: 275

Re: How is OpenGL?

Posted 12 October 2008 - 11:37 AM

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.
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month