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.
How to create a 3D node make it looks like "no backgrou
How to create a 3D node make it looks like "no backgrou
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.
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
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.
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
2) turn on layered window with setWindowLong .. WS_EX_LAYERED
3) use SetLayeredWindowAttributes to set transparency options
-
WoodKeeper
- Posts: 2
- Joined: Fri Sep 14, 2007 2:03 pm
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
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