Game Development Community

OpenGl merge image

by Aditya Kulkarni · in Torque Game Builder · 11/10/2010 (6:51 pm) · 5 replies

Need an exact copy of the canvas buffer translated to an offset. Trying to do this in guiCanvas.cc in
void GuiCanvas::renderFrame

Very much new to opengl. Ummm, how do you go about it without using stereo?

Tried doing this after drawing buffer the first time
glTranslatef(10, 10, 0);

Using glDrawBuffer twice doesn't help because, well it redraws everything the second time and the first one is lost.

#1
11/29/2010 (1:30 pm)
Maybe there's an easier way to do whatever you're trying to accomplish here?
#2
11/29/2010 (2:45 pm)
Anaglyphs.

I saw some posts in the TGEA forums, but the code is beyond me. Dunno how I can render the scene using that.
#3
12/01/2010 (9:25 pm)
You trying to do stereoscopic 3D Aditya?
#4
12/07/2010 (5:31 am)
Yup.

You know it would be cool if you had a 'Enable 3D' in the settings page of a released game...:P
#5
06/19/2013 (6:53 pm)
still not so familiar with merging images vb .net , after complish this aspect, i will try to understand 3D. it must be awesome.