How to create a 3D node make it looks like "no backgrou

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Arlov
Posts: 5
Joined: Sun Jul 22, 2007 3:35 pm

How to create a 3D node make it looks like "no backgrou

Post 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. :idea:
catsunny
Posts: 3
Joined: Thu Jul 26, 2007 7:12 am

Re: How to create a 3D node make it looks like "no back

Post 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.
siberzeka
Posts: 13
Joined: Sat Mar 31, 2007 2:31 pm

Post by siberzeka »

what is your texture model ? jpg or gif ?
Arlov
Posts: 5
Joined: Sun Jul 22, 2007 3:35 pm

mesh

Post 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.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post 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
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
WoodKeeper
Posts: 2
Joined: Fri Sep 14, 2007 2:03 pm

Post 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
Locked