Page 1 of 1
How to create a 3D node make it looks like "no backgrou
Posted: Sun Jul 22, 2007 3:54 pm
by Arlov
How to create a 3D node make it looks like "no background".
It will be interesting if a person created in 3D model , and let its backgroun be transparent. so we can only see it, but no background. is it easy,anybody can tell me how to program it? thanks.
Re: How to create a 3D node make it looks like "no back
Posted: Thu Jul 26, 2007 7:40 am
by catsunny
If you created a model using 3DS MAX , and exported to a .3ds file, loaded the mesh in irrlicht, and created a node, it's certainly 3D, and no "background". You can see the examples.
Posted: Thu Jul 26, 2007 5:47 pm
by siberzeka
what is your texture model ? jpg or gif ?
mesh
Posted: Fri Jul 27, 2007 1:00 am
by Arlov
"no background" , I mean we just see the spirit, no background window. the spirit is all. when I make the main window transparent, but the spirit background is black.
Normally, we use .jpg.
Posted: Fri Jul 27, 2007 1:15 am
by bitplane
1) turn off window border at device creation
2) turn on layered window with setWindowLong .. WS_EX_LAYERED
3) use
SetLayeredWindowAttributes to set transparency options
Posted: Fri Sep 14, 2007 3:01 pm
by WoodKeeper
Did this actally work for someone??
I tried it with mixed results.
Burningvideo seem to work,
Direct3D/OpenGL are seem to be very slow and are not working correct.
I used the Win32Window example (#14).
I removed the SkyBox and used a ColorKey for the Background. The Background disappeared correctly in the final testrun, but the cube was just plain white, no textures no shading.
bye
bitplane wrote:1) turn off window border at device creation
2) turn on layered window with setWindowLong .. WS_EX_LAYERED
3) use
SetLayeredWindowAttributes to set transparency options