Jump to content

View more

Image of the Day

Adding some finishing touches...
Follow us for more
#screenshotsaturday #indiedev... by #MakeGoodGames https://t.co/Otbwywbm3a
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Need OpenGL Programmer with basic experience

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
5 replies to this topic

#1 elanhickler   Members   

96
Like
-1Likes
Like

Posted 10 March 2017 - 03:51 PM

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, 10 March 2017 - 04:02 PM.


#2 WiredCat   Members   

1429
Like
0Likes
Like

Posted 10 March 2017 - 04:28 PM

>>>is this a joke?<<<



#3 elanhickler   Members   

96
Like
-1Likes
Like

Posted 10 March 2017 - 08:18 PM

>>>nope!<<<


Edited by elanhickler, 10 March 2017 - 08:19 PM.


#4 Mike2343   Members   

1150
Like
0Likes
Like

Posted 10 March 2017 - 11:23 PM

Just post the code and ask a question.  That is what this site is for.... *face palm*



#5 elanhickler   Members   

96
Like
0Likes
Like

Posted 11 March 2017 - 12:04 AM

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, 11 March 2017 - 12:11 AM.


#6 elanhickler   Members   

96
Like
0Likes
Like

Posted 11 March 2017 - 10:14 PM

This topic can be closed. I found someone.






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.