Tutorials for 2D OpenGL

Game development specific discussions.
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Postby 1000101 » Oct 30, 2006 22:01

Well, what is the problem exactly?
JohnB
Posts: 236
Joined: Jul 22, 2005 3:53
Location: Minnesota Arizona

Another translator

Postby JohnB » Oct 31, 2006 7:26

Bablefish seem to translate all the text but mess up the example formating.

http://babelfish.altavista.com/translate.dyn

http://other.storm-master.de/ogl/index.html

JohnB
Lster
Posts: 73
Joined: May 25, 2006 14:53

Postby Lster » Oct 31, 2006 9:41

Im not quite sure how to use createTexture(). I keep getting errors whenever I try to use it. If possible I would learn best from an example.

Really sorry for being so nooby... and thanks for your time.
Stormy
Posts: 198
Joined: May 28, 2005 17:57
Location: Germany
Contact:

Postby Stormy » Oct 31, 2006 14:48

Hi there,
the original author of this tutorial is writing here. :) I'm really happy, that also the English speaking community is interested in my tutorial. I'll ask at my German forum for someone who wants to translate my work. Unfortunately I'm pretty busy right now to do this on my own. =/
Veggiet
Posts: 156
Joined: Apr 17, 2006 19:41

Postby Veggiet » Oct 31, 2006 19:25

Lster wrote:... Although the translation by Google is bad....



Although It did only translate half the page. I found that (what I'm assuming) googles word for word translation is actually pleasant reading, not at all like some of the quickly written purelly technical articles written in english. Though I would like it translated. :)
Lster
Posts: 73
Joined: May 25, 2006 14:53

Postby Lster » Nov 02, 2006 9:48

That would be great Stormy...

Thanks,
Lster
TbbW
Posts: 348
Joined: Aug 19, 2005 10:08
Contact:

Postby TbbW » Nov 03, 2006 23:43

Stormy wrote:Hi there,
the original author of this tutorial is writing here. :) I'm really happy, that also the English speaking community is interested in my tutorial. I'll ask at my German forum for someone who wants to translate my work. Unfortunately I'm pretty busy right now to do this on my own. =/


make google translation do the dirty work and then have someone that knows german and english good to fix the robotic gramma errors and some words google dont have a clue what they mean :P
super_castle
Posts: 289
Joined: Oct 10, 2006 7:19

Postby super_castle » Dec 23, 2006 20:35

this line always gives an error, where is the function:

AbortGL( ERROR_TEXTURE, TextureCreate_Abort, __LINE__ )

mfg
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Postby 1000101 » Dec 24, 2006 4:18

It's actually a macro to set the internal error variable and then exit the function.

Just change it to whatever is an apropriate method to return failure for your own code.
super_castle
Posts: 289
Joined: Oct 10, 2006 7:19

Postby super_castle » Dec 24, 2006 10:05

I do not find the macro. where I can merge it I always get an error message:

AbortGL( ERROR_TEXTURE, TextureCreate_Abort, __LINE__ )


mfg
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Postby 1000101 » Dec 24, 2006 14:49

Probably because you don't have the rest of my code which I just did a cut'n'paste of for that snippit. You will have to just remove the macro reference all together and put in your own code to handle early function termination.
super_castle
Posts: 289
Joined: Oct 10, 2006 7:19

Postby super_castle » Dec 24, 2006 15:58

this sub/function cannot find:

"BGRA_To_RGBA( col )"

col = BGRA_To_RGBA( col )

MFG
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Postby 1000101 » Dec 26, 2006 22:16

That just converts colour encoding from BGRA to RGBA. It's pretty simple to figure out if you try.

In the future, you may have to engage your brain. I'm not just handing out 'drop-in-code,' you may have to look at it and make it work for you. What do you expect for nothing?

Return to “Game Dev”

Who is online

Users browsing this forum: No registered users and 3 guests