Search found 34 matches
- Sat Jun 27, 2009 9:08 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 2631
hm, obviously I've really got a clever compiler... I tried it again with the memcpy method cvCvtColor( frame, m_AplphaFrame, CV_BGR2BGRA ); // must be set to alpha 255 because in OpenCV it is set to 0 cvSet( m_MaskFrame, cvScalar( 0, 0, 0, 255 ) ); cvAdd( m_AplphaFrame, m_MaskFrame, m_AplphaFrame );...
- Thu Jun 25, 2009 3:49 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 2631
@hybrid: sorry I don't get why is is possible to set vectors or matrices as parameters in the shaders but not an array of pixel values :-/... is it simply just to big? @Sudi: I thought so too but doing like you say did not lead to more speed; because the memcpy method was even a little more slowly t...
- Thu Jun 25, 2009 8:08 am
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 2631
- Wed Jun 24, 2009 1:43 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 2631
What I like to try right now is to deliver the imageData of the OpenCV Image to the shader to be returned as texture? Is that possible? What I try is: main: ShadManager->convertTexture( conversionNode ); ShadManager: node->setMaterialType( ( E_MATERIAL_TYPE )m_ConversionMaterial ); ShadCallback: Ipl...
- Sun May 31, 2009 5:29 pm
- Forum: Project Announcements
- Topic: Glass Pane and Rain Drop refraction demo - Source Included
- Replies: 71
- Views: 40450
- Sun May 31, 2009 9:52 am
- Forum: Project Announcements
- Topic: Glass Pane and Rain Drop refraction demo - Source Included
- Replies: 71
- Views: 40450
oh, I see... I tried to implement it into another project but got strange effects: this room: I did the same I did in your project and got this: http://www.uni-koblenz.de/~awollert/storage/box.jpg http://www.uni-koblenz.de/~awollert/storage/boxGlass.JPG so right now you can hardly see but the glass ...
- Sat May 30, 2009 6:25 pm
- Forum: Project Announcements
- Topic: Glass Pane and Rain Drop refraction demo - Source Included
- Replies: 71
- Views: 40450
- Sat May 30, 2009 4:24 pm
- Forum: Project Announcements
- Topic: Glass Pane and Rain Drop refraction demo - Source Included
- Replies: 71
- Views: 40450
the glass is wonderful!
how did you give your own mesh the texture? If I include the dwarf and do
my result looks pretty like this:
how did you give your own mesh the texture? If I include the dwarf and do
Code: Select all
node->setMaterialType(E_MATERIAL_TYPE(GlassMat));
- Fri May 29, 2009 2:54 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 2631
- Fri May 29, 2009 10:17 am
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 2631
ok, maybe this can be moved to snippets because I see that a couple of people tried to convert OpenCV Images to Irrlicht Textures, too, all the same way. Also I don't want to push-up the thread... to first again: I had to convert the OpenCV Image from BGR to BGRA to get it convertible with the textu...
- Thu May 28, 2009 5:04 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 2631
- Thu May 28, 2009 12:11 am
- Forum: Advanced Help
- Topic: Shader kills transparency
- Replies: 1
- Views: 478
- Wed May 27, 2009 9:45 pm
- Forum: Advanced Help
- Topic: Shader kills transparency
- Replies: 1
- Views: 478
Shader kills transparency
Hello, I made a billboard covered with a texture where all black parts are transparent. IBillboardSceneNode* videoLeftNode = Smgr->addBillboardSceneNode(0, core::dimension2d<f32>(60, 60), vector3df(0,0,0)); videoLeftNode->setMaterialFlag(video::EMF_LIGHTING, false); videoLeftNode->setMaterialType(vi...
- Tue May 26, 2009 1:36 pm
- Forum: Beginners Help
- Topic: Transparent Billboard
- Replies: 3
- Views: 376
ok, obviously it was the matter of the rendering order... but now I get another problem: if I build my scene and my billboard, give it the texture and draw it the way posted before the black is invisible. But unfortunately all the rest is transparent, too! But I want to have the black invisible and ...
- Tue May 26, 2009 12:52 pm
- Forum: Beginners Help
- Topic: Transparent Billboard
- Replies: 3
- Views: 376