Offscreen rendering

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
Sektor_3700

Offscreen rendering

Post by Sektor_3700 »

Hey,

is there a way to render to an offscreen buffer?

tnx
ErUs
Posts: 165
Joined: Thu Oct 07, 2004 6:13 pm

Post by ErUs »

Sektor_3700

Post by Sektor_3700 »

I've tried that, but when i call lock () on the texture (to access the pixel data), it always returns NULL
turboferret
Posts: 49
Joined: Thu Aug 12, 2004 12:42 pm
Location: Sweden
Contact:

Post by turboferret »

Here's the url to my fix for that in 0.14
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=10154
This monkey is useless, it only has ONE ass!!!
Sektor_3700

Post by Sektor_3700 »

tnx a lot, worked like a charm

PS: in your bugfix you call return NULL; in the lock() function, my compiler didn't like that :-), I think it's better not to return anything
Post Reply