Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am new to Python openGl, i need to take the screen short or else write the openGL rendered data into an image with openning or render the rendered data in to an opengl window.

Thanks in advance.
Posted
Updated 26-Sep-13 0:25am
v2
Comments
Sergey Alexandrovich Kryukov 23-Sep-13 9:49am    
I suspect you did not show whole error message. Should be at least the name of it, no?
—SA

I suspect your graphics card do not have framebuffer extension.

Have look at the procedure to call opengl extensions from python.

[^]

I have no experience in opengl in python. In windows I have retrieve the function pointers to get framebuffer extension functions. If I try to run my application in a pc without Graphics card it will return NULL pointer for glgenframebuffer function.
 
Share this answer
 
How to write openGl offscreen data in to JPG image[^]

Find the above the link which is woking fine.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900