OpenGL expert ?

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

OpenGL expert ?

#1 Post by darkgod »

Hello

I'm trying to use OpenGL (in 2D) for rendering instead of plain SDL. it works fine even though my code is most crude yet. And it works quite fast, but I am having some problems, mostly related to tarnsparency effects which I cannot seem to get right.

So any GL guru down here ?

As a side note I have made the AI system, increased the speed of ticking quite a lot and started making objects. I am making the object generator currently (well when my GL adventure will be done ;) )
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Xandor Tik'Roth
Keeper
Posts: 1546
Joined: Tue Aug 12, 2003 3:08 pm
Location: The edge of the Abyss

Re: OpenGL expert ?

#2 Post by Xandor Tik'Roth »

You may want to ask this in the general forums if no one comes forward.
And it was such a good idea...

Falconis
Uruivellas
Posts: 743
Joined: Tue Jan 27, 2004 3:10 pm
Location: UK

Re: OpenGL expert ?

#3 Post by Falconis »

Hardly an expert but I've used OpenGL a fair bit. What's the problem?

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: OpenGL expert ?

#4 Post by darkgod »

Nevermind I found the problem :)
It was a texturing weirdness but that was actually my SDL surface taht was badly drawn :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Falconis
Uruivellas
Posts: 743
Joined: Tue Jan 27, 2004 3:10 pm
Location: UK

Re: OpenGL expert ?

#5 Post by Falconis »

Fair do's.

I hope you aren't using SDL_OPENGLBLIT though, as that's deprecated...

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: OpenGL expert ?

#6 Post by darkgod »

I'm trying to do things good when I do things ;) So no I am not don't worry.
Although there are still many uglythings with it, most notably for anything but the map I create a GL texture each time I need to display it ..
(And yet this is still faster than SDL !)

You can now checkout a version from my svn repository with opengl rendering !
It's nearly all good except from internal dialogs text that is alpha blended a bit too much
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Falconis
Uruivellas
Posts: 743
Joined: Tue Jan 27, 2004 3:10 pm
Location: UK

Re: OpenGL expert ?

#7 Post by Falconis »

Cool. :)

elcugo
Reaper
Posts: 440
Joined: Thu Sep 27, 2007 6:26 am
Location: México
Contact:

Re: OpenGL expert ?

#8 Post by elcugo »

OpenGL rendering? You are my hero! =P
sign: File not found.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: OpenGL expert ?

#9 Post by darkgod »

hehe :)
SDL was a bit slow :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply