Search found 10 matches
- Tue Mar 31, 2009 9:26 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1513
- Tue Mar 31, 2009 6:26 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1513
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: 1513
- Tue Mar 31, 2009 4:16 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1513
- Tue Mar 31, 2009 3:01 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1513
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)255 ...
"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)255 ...
- Tue Mar 31, 2009 1:55 pm
- Forum: Beginners Help
- Topic: [solved] Convert data to texture(s)
- Replies: 11
- Views: 1513
[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=(int ...
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=(int ...
- Mon Mar 30, 2009 7:39 pm
- Forum: Advanced Help
- Topic: Playing movie in texture
- Replies: 118
- Views: 77929
- Thu Mar 19, 2009 6:40 pm
- Forum: Beginners Help
- Topic: Textures mixing and transparency in general
- Replies: 4
- Views: 568
- Sun Mar 15, 2009 10:03 am
- Forum: Beginners Help
- Topic: Textures mixing and transparency in general
- Replies: 4
- Views: 568
- Sat Mar 14, 2009 8:55 pm
- Forum: Beginners Help
- Topic: Textures mixing and transparency in general
- Replies: 4
- Views: 568
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 ...
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 ...