RTT OpenGL produces only stripes

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
jreuschel1
Posts: 25
Joined: Sun Nov 12, 2006 7:51 pm
Contact:

RTT OpenGL produces only stripes

Post by jreuschel1 »

I am trying to render a skybox from distant objects to speed up rendering but when i render to texture, i get only a few stripes of non-background color with OpenGL, only background color with Direct3D, and it works with Burinngsvideo. but very low detail.

I am rendering only Billboard objects onto a texture at this stage.

Can anyone help?
Directory of E:\RI-1

00/00/0000 12:00 AM <DIR> .
00/00/0000 12:00 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) All bytes free

E:\RI-1>_
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Both D3D and OpenGL RTTs have some problems which wait for application of patches: D3D RTTs must not be larger than the device, and OpenGL has sometimes only vertical stripes (for an unknown reason, but I hope that it will be fixed with the renderbuffer patch).
jreuschel1
Posts: 25
Joined: Sun Nov 12, 2006 7:51 pm
Contact:

Thanks

Post by jreuschel1 »

thanks for the quick reply, I was begining to think it was my single computer with this problem with everyone in the forums talking about how opengl flips horizontally. btw, my openGL driver->getName()==2.1.1
Directory of E:\RI-1

00/00/0000 12:00 AM <DIR> .
00/00/0000 12:00 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) All bytes free

E:\RI-1>_
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, many OpenGL drivers don't support FBOs, and then this artifact never occurs. But even with FBO support you can get correctly working versions. I'm simply not able to tell the actual cause of the problem, no OpenGL debugger did find any problems, yet. And the specs also didn't show any problematic things.
Post Reply