Note: You must be registered in order to post a reply.
|
Marvin |
Posted - Oct 10 2004 : 11:43:24 PM Hi all,
I am using DaBooda Engine 1.4. I would like to know how add a blending filtering effect to an image. For example I have a 512x512 bmp that load into a texture and display as a sprite at 1024x768. The image looks very pixelated. (as it should...)
I would like to enable a filter like bi-linear filtering to 'smooth' out the image.
If I create a this same image 512x512 into a simple vb directx prgram, I can display the same image at 1024x768 and it has a soft filtered look to it. How can I achieve the same effect with Dabooda?
Marvin |
Eric Coleman |
Posted - Oct 11 2004 : 07:03:47 AM In the Texture class (DBTexture.cls) do a search for "D3DX_FILTER_POINT" and replace it with D3DX_FILTER_LINEAR.
I noticed you have an interest in robots and microcontrollers. I've been looking into getting one of those BASIC stamp kits myself. Do you have any cool devices that can be controlled on the internet? Here is a really cool website I found on slashdot a few weeks ago, http://www.sentex.net/~mwandel/tech/changer.html It's pretty cool stuff. |
Scorpion_Blood |
Posted - Oct 11 2004 : 05:30:44 AM tell me the code u did plz (the display code), isnt 512*512 a little(BIG) to be a sprite? |
|
|
VBGamer |
© |
|
|
|
|