Hi, I want to a 2d background layer ,then a 3d graphics on the middle, then another 2d image on another layer. Can i do this without using textures?
I am looking a way to do that too, i am about to “hack the opengl context”, is it the only way to ?
probably u can use the concept of multiple viewports . u have to use two different viewports and their respective camera(i.e ugLookAT()s .).
one camera and its world is static pointing only the background textured plane.
and the other camera can move in the 3d world.
Why wouldn’t you want to use textures? You’ll get much faster renders if you do. A basic rule of 3D acceleration: never mix 2D and 3D.
Why wouldn’t you want to use textures? You’ll get much faster renders if you do. A basic rule of 3D acceleration: never mix 2D and 3D.[/quote]
I refuse to believe that…
Making some 4/3 ratio textures implies copy … why copy a full screen buffer when you can just blit it to a offscreen buffer ? especially when the background texture change on each frame …
Creating a texture cost at least 10ms on my driver (hardware)
This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.