help!how can i overlay the image to the texture

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
nhsimon
Posts: 6
Joined: Wed Aug 23, 2006 1:01 am

help!how can i overlay the image to the texture

Post by nhsimon »

i build a 800*600 texture interface ,and load a 320*250 image(not 2^image stream ,video stream ,use directshow rendertotexture method) to the texture,than use draw2dimage(texture,position) to draw the image,but the image can't fix its size to the texture itself.if i use draw2dimage(texture,position,rect) to draw the image ,it can overlay the hold texture,but the quality is to bad.So,how can i draw the image into texture and made it fix the texture size just like the irr's skybox :(
By the way , i use Emil_halim's class to play video stream to the texture.see below
http://irrlicht.sourceforge.net/phpBB2/ ... ight=movie
Post Reply