Becouse DX9 does not allow you to use transparent image and blending operation at the same time but with OpenGl you can,the funny thing is DX7 allows you to make it but DX9 not !!!!!!
very strange!!!!!!!!????????????
so Irrlicht Material types do not do it,if you want it do it yourself.
in blending stuff you could specify the Alpha value of entire Image or model,but With Vertex-Alpha you could specify more than Alpha value for each vertex of Model.
CAnimSprite Class with Alpha-Blending(Transparency)
-
- Posts: 518
- Joined: Tue Mar 29, 2005 9:02 pm
- Location: Alex,Egypt
- Contact:
Magic 2d Library For Irrlicht : http://www.freewebs.com/bcxgl/index.htm
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
?!?!?!?! LOL ?
if it is so, i'll change the renderType of my project to OpenGL.. now i have a good reason for it ^^
my project also runs much better with OpenGL:
DX8&9 around 1400 fps
OpenGL around 1700fps
it's a 2D game, so don't be afraid, if you don't have such framerates
the only thing in OpenGL is, that i saw some strange things happen with it on some systems.
At my workstation the Images are cutted off at the Top and at the Left.
At a friends system, the hole screen looks blurry...
Maybe i should update the Engine. Probably this is a bug of the Engine i'm not sure...
so it looks like, the Vertex-Alpha only works with the Sprite Class and not with 2D-Images.. well.. whatever ^^
thx for these wise words, now i'm really enlightened ^^
if it is so, i'll change the renderType of my project to OpenGL.. now i have a good reason for it ^^
my project also runs much better with OpenGL:
DX8&9 around 1400 fps
OpenGL around 1700fps
it's a 2D game, so don't be afraid, if you don't have such framerates
the only thing in OpenGL is, that i saw some strange things happen with it on some systems.
At my workstation the Images are cutted off at the Top and at the Left.
At a friends system, the hole screen looks blurry...
Maybe i should update the Engine. Probably this is a bug of the Engine i'm not sure...
so it looks like, the Vertex-Alpha only works with the Sprite Class and not with 2D-Images.. well.. whatever ^^
thx for these wise words, now i'm really enlightened ^^
IrrLicht v0.14
Audiere Sounds-API v1.9.3
Current Project: KoulesXD
Audiere Sounds-API v1.9.3
Current Project: KoulesXD
-
- Posts: 518
- Joined: Tue Mar 29, 2005 9:02 pm
- Location: Alex,Egypt
- Contact:
you are welcome.
ver 0.4 for Irrlicht0.14.0 tonight ,or tomorrow.
hay , i like 2d very much ,2d is my project by now, i will release Magic2dDaChief wrote: it's a 2D game, so don't be afraid, if you don't have such framerates
ver 0.4 for Irrlicht0.14.0 tonight ,or tomorrow.
Magic 2d Library For Irrlicht : http://www.freewebs.com/bcxgl/index.htm
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
hmm.. your Magic2d API looks very nice...
if i have to change the project to opengl i take a look at it for sure...
but first, i want to finish the running stuff. after everything works, i'll try your API.. it looks like the solution for much problems i had and maybe will have ^^
so i can use the new Irrlicht version as well
-> if(everything.works) me.happy=true; // ^^
Here are some screens of my running project:
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Screenshot 6
Screenshot 7
Screenshot 8
-> IrrForum: http://irrlicht.sourceforge.net/phpBB2/ ... php?t=9975
if i have to change the project to opengl i take a look at it for sure...
but first, i want to finish the running stuff. after everything works, i'll try your API.. it looks like the solution for much problems i had and maybe will have ^^
so i can use the new Irrlicht version as well
-> if(everything.works) me.happy=true; // ^^
Here are some screens of my running project:
Screenshot 1
Screenshot 2
Screenshot 3
Screenshot 4
Screenshot 5
Screenshot 6
Screenshot 7
Screenshot 8
-> IrrForum: http://irrlicht.sourceforge.net/phpBB2/ ... php?t=9975
IrrLicht v0.14
Audiere Sounds-API v1.9.3
Current Project: KoulesXD
Audiere Sounds-API v1.9.3
Current Project: KoulesXD
-
- Posts: 518
- Joined: Tue Mar 29, 2005 9:02 pm
- Location: Alex,Egypt
- Contact:
wow ,great work , but is this 2d work or mixing 2d with 3d?
Magic 2d Library For Irrlicht : http://www.freewebs.com/bcxgl/index.htm
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
http://www.freewebs.com/bcxdx/index.htm
http://groups.yahoo.com/group/bcxdxc/
the hole game is based on simply draw2dimage.
so the backgrounds aren't animated.
And yes, i'm quite content with our project. yeah, it's the work of two ^^
whatever, maybe we shouldn't discuss that in this Forum.
We can continue that in the Project Announcements Forum.. here ^^
so the backgrounds aren't animated.
And yes, i'm quite content with our project. yeah, it's the work of two ^^
whatever, maybe we shouldn't discuss that in this Forum.
We can continue that in the Project Announcements Forum.. here ^^
IrrLicht v0.14
Audiere Sounds-API v1.9.3
Current Project: KoulesXD
Audiere Sounds-API v1.9.3
Current Project: KoulesXD