Search found 7 matches

by daveslip
Tue Jul 03, 2007 9:46 am
Forum: Advanced Help
Topic: RTT + draw2DImage, not working under OpenGL!
Replies: 2
Views: 914

i have the same problem with opengl running on linux
by daveslip
Fri Jun 22, 2007 12:21 pm
Forum: Beginners Help
Topic: RTT question
Replies: 9
Views: 656

why not?

is there an alternative?

also this happened before i changed the RGBA stuff

as originally i was calculating the alpha channel by doing two renders against different backgrounds and using a spot the difference type thing
by daveslip
Fri Jun 22, 2007 8:42 am
Forum: Beginners Help
Topic: RTT question
Replies: 9
Views: 656

the code im using is

#include <irrlicht.h>
#include <COpenGLTexture.h>
#include <iostream>



using namespace irr;



#pragma comment(lib, "Irrlicht.lib")


int main()

{
IrrlichtDevice *device =createDevice(video::EDT_OPENGL, dimension2d<s32>(0,0), dimension2d<s32>(640, 480), 32, false, false ...
by daveslip
Fri Jun 22, 2007 8:39 am
Forum: Beginners Help
Topic: RTT question
Replies: 9
Views: 656

the card is a nVidia geforce go 6100 and the driver is version 9746
by daveslip
Thu Jun 21, 2007 4:56 pm
Forum: Beginners Help
Topic: RTT question
Replies: 9
Views: 656

yeah the tutorial works but not every time i run it

wanted to know if anyone else had a problem with a white/blank texture that didnt seem to get updated when rendered to
by daveslip
Thu Jun 21, 2007 4:21 pm
Forum: Beginners Help
Topic: RTT question
Replies: 9
Views: 656

having modified stuff a little i now get a plain white texture instead of the area of the screen.

as i set the clear colour to black there is definatly something going a miss.

as far as code goes its simply the same as the RTT tutorial.

i have removed everything else from the program now

cheers
by daveslip
Thu Jun 21, 2007 9:48 am
Forum: Beginners Help
Topic: RTT question
Replies: 9
Views: 656

RTT question

When i try to do a render to texture 50% of the time it will work fine however the other 50% of the time i get a random section of my main scene.

The code is pretty much the same as the example.

I am using a texture size of 256 by 256.

On the times when it doesn't work, when i try to draw the ...