Jump to content
  • Advertisement
Sign in to follow this  
elanhickler

OpenGL Need OpenGL Programmer with basic experience

This topic is 563 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Was going to post in the jobs part of the website but it seemed overly complicated.

Need help debugging my code. The important code is not that long, I can go over everything with you pretty quickly. The problem is a basic one. I can't bind a frame buffer object without getting an opengl error. I have almost no experience with openGL and I've been unable to figure out the problem after many many hours of trying, and this problem is causing a delay in product release. I want to create an FBO so that I can read/write pixel brightness values, then finally display an RGB image, translating the brightness values through a colormap texture. Actually, the colormap thing is already implemented and working. Now I just need a way of storing/reading/manipulating pixels with the fragment shader.

 

Contact me: soundemote@gmail.com

Paid gig (name your price, will pay your hourly fee). Less than a day's worth of work. If debugging goes quickly, probably just a few hours of work at most.

Edited by elanhickler

Share this post


Link to post
Share on other sites
Advertisement

HPP http://pastebin.com/tV8z1w8c

CPP http://pastebin.com/5V8hfjGN

shader http://pastebin.com/AXkLjSNk

(unimportant bits removed)

 

if I comment out line 88 and 89 (FBO stuff) in the CPP then things will be working. Otherwise I get Error 1286 INVALID_OPERATION: http://docs.gl/gl3/glBindFramebuffer

 

I think I just need to start a scratch project and follow some tutorials. The problem may be my lack of understanding of how binding should work and what order things need to be done, but I'm basically calling it quits on learning openGL, I have to get back to my normal work to pay the bills. Don't have time to learn openGL, but I have the funds to hire.

Edit: At the same time, if someone could find where I'm going wrong with the FBO (the goal is to have the fragment shader draw to that, so basically I would see nothing being drawn), I might be able to figure out the rest.

Edited by elanhickler

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!