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 ...
Search found 34 matches
- Sat Jun 27, 2009 9:08 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 3069
- Thu Jun 25, 2009 3:49 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 3069
- Thu Jun 25, 2009 8:08 am
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 3069
- Wed Jun 24, 2009 1:43 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 3069
- Sun May 31, 2009 5:29 pm
- Forum: Project Announcements
- Topic: Glass Pane and Rain Drop refraction demo - Source Included
- Replies: 71
- Views: 48838
- Sun May 31, 2009 9:52 am
- Forum: Project Announcements
- Topic: Glass Pane and Rain Drop refraction demo - Source Included
- Replies: 71
- Views: 48838
- Sat May 30, 2009 6:25 pm
- Forum: Project Announcements
- Topic: Glass Pane and Rain Drop refraction demo - Source Included
- Replies: 71
- Views: 48838
- Sat May 30, 2009 4:24 pm
- Forum: Project Announcements
- Topic: Glass Pane and Rain Drop refraction demo - Source Included
- Replies: 71
- Views: 48838
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: 3069
- Fri May 29, 2009 10:17 am
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 3069
- Thu May 28, 2009 5:04 pm
- Forum: Beginners Help
- Topic: Convert Image to IrrlichtTexture
- Replies: 16
- Views: 3069
- Thu May 28, 2009 12:11 am
- Forum: Advanced Help
- Topic: Shader kills transparency
- Replies: 1
- Views: 565
- Wed May 27, 2009 9:45 pm
- Forum: Advanced Help
- Topic: Shader kills transparency
- Replies: 1
- Views: 565
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 ...
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 ...
- Tue May 26, 2009 1:36 pm
- Forum: Beginners Help
- Topic: Transparent Billboard
- Replies: 3
- Views: 531
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 ...
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: 531