Omnimaga

General Discussion => Technology and Development => Computer Programming => Topic started by: Binder News on July 01, 2011, 03:05:21 pm

Title: Anyone good with OpenGL?
Post by: Binder News on July 01, 2011, 03:05:21 pm
Does anyone know how to use OpenGL? I really need help with textures specifically, but any insight would be appreciated.

Thanks,
Binder News
Title: Re: Anyone good with OpenGL?
Post by: ben_g on July 01, 2011, 03:12:03 pm
what exactely do you want to know abouth textures in openGL? How to write shaders to display them?
Title: Re: Anyone good with OpenGL?
Post by: fb39ca4 on July 01, 2011, 03:42:07 pm
Try these tutorials: http://nehe.gamedev.net/ (http://nehe.gamedev.net/), texture mapping is in the 6th section. I was using them but I only got to #5 :P
Title: Re: Anyone good with OpenGL?
Post by: Binder News on July 01, 2011, 03:50:38 pm
Try these tutorials: http://nehe.gamedev.net/ (http://nehe.gamedev.net/), texture mapping is in the 6th section. I was using them but I only got to #5 :P
Thanks for the link. I'll check it out.

what exactely do you want to know abouth textures in openGL? How to write shaders to display them?
Specifically, I am trying to load a png file as a texture. However, when I go to display it, it has a black background, not a transparent one.
Title: Re: Anyone good with OpenGL?
Post by: Scipi on July 01, 2011, 10:51:31 pm
/me starts hyperventilating

@Binder News, Idk what language you are using, but if it's a 2D texture SFML could be a good choice.

http://www.sfml-dev.org/ (http://www.sfml-dev.org/)