dx displaying 2d images/sprites/pre-rendered 3D

Started by
17 comments, last by marc_moy 15 years, 11 months ago
THE PINK OUTLINE IS STILL THERE!!! waaaa!!

please help me and its better if there's a screen shot..or if it is tried and tested..thanks!!!!!!!
Just DO it!
Advertisement
Sorry, but can't imagine why the outline's still there. Did you use the bucket tool multiple times (without anti-alias?!!!) on the pink background? Did you use the sharpen filter? And the TextureFilter within DirectX?
How do you show the picture in DirectX? As a texture on a mesh?
no! not as a texture on a mesh..
as a sprite on a RECT...
Just DO it!
when applying texture filter,,there are no changes...
T_T
please..help..
Just DO it!
Ok, maybe it just doesn't work, cause you don't use textured meshes, as I do. Sorry.
You might have more success posting this in the Visual Arts forum, since it's a problem with Photoshop rather than D3D (The alpha isn't correct where you think it is).
i did it guys!! it's very simple!!!

[Edited by - marc_moy on May 27, 2008 7:52:56 AM]
Just DO it!
So? How did you do?
Quote:
d3dsprite->Begin(D3DXSPRITE_ALPHABLEND);

and just make the png picture has the transparent part or semi transparent.. don't make the BG of your sprite HOT PINK,,just delete the BG (it will be transparent in Photoshop) then it will be also transparent in DX...but make sure you include the code above..

it's really simple,isn't it? hehe
Just DO it!

This topic is closed to new replies.

Advertisement