Search found 10 matches
- Tue Mar 31, 2009 9:26 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1267
- Tue Mar 31, 2009 6:26 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1267
Uh, okay... I have to place an object to the scene (e.g. cube), set size of front side of this object to the desired texture size and then draw this texture on the cube? Maybe I understand it wrong, because I am still a total beginner to Irrlicht :), but I think I cannot go this way, because I need ...
- Tue Mar 31, 2009 5:17 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1267
You can call an overloaded version of driver->draw2DImage which scals your image hardwareside. But you have to set a SMaterial before to clean the Renderstates and with your own SMaterial you can use a trilinear filter to improve the result afaik. Thanks for quick answer! Unfortunately, I tried tha...
- Tue Mar 31, 2009 4:16 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1267
Hint: Usage of a rendertargettexture will speed up the lock/unlock process :) Thanks, I'll use it... BTW, is it possible to resize a texture in irrlicht? I know, that there are many threads about this issue here in the forum, but I am not very clever of them and what I have understood so far is tha...
- Tue Mar 31, 2009 3:01 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1267
Re: Convert data to texture(s)
Problem solved, it has nothing to do with pitch/stride (hopefully). You have to use the following caps for gstreamer "video/x-raw-rgb,pixel-aspect-ratio=1/1,bpp=(int)32,depth=(int)32,endianness=(int)4321,red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216, alpha_mask=(int)25...
- Tue Mar 31, 2009 1:55 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1267
[solved] Convert data to texture(s)
Hello everyone, I am trying to turn unsigned char * data into the irrlicht texture (from gstreamer, but it is not important here), but I get only some messed B&W picture. The format of input data is video/x-raw-rgb,pixel-aspect-ratio=1/1,bpp=(int)24,depth=(int)24,endianness=(int)4321,red_mask=(i...
- Mon Mar 30, 2009 7:39 pm
- Forum: Advanced Help
- Topic: Playing movie in texture
- Replies: 118
- Views: 61136
- Thu Mar 19, 2009 6:40 pm
- Forum: Beginners Help
- Topic: Textures mixing and transparency in general
- Replies: 4
- Views: 482
- Sun Mar 15, 2009 10:03 am
- Forum: Beginners Help
- Topic: Textures mixing and transparency in general
- Replies: 4
- Views: 482
- Sat Mar 14, 2009 8:55 pm
- Forum: Beginners Help
- Topic: Textures mixing and transparency in general
- Replies: 4
- Views: 482
Textures mixing and transparency in general
Hello everyone, I have a beginner's problem with transparency. The core of my problem is shown on following three figures: http://atomek.cz/sklad/nakres-2d.png On the first one, there is a green box (center) between a camera (on right side) and some blue object (left side). The second one shows a lo...