Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Smoothing a pixelated image?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Marvin
Neophyte

USA
1 Posts

Posted - Oct 10 2004 :  11:43:24 PM  Show Profile  Reply with Quote
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

Scorpion_Blood
Warrior

Portugal
118 Posts

Posted - Oct 11 2004 :  05:30:44 AM  Show Profile  Click to see Scorpion_Blood's MSN Messenger address  Reply with Quote
tell me the code u did plz (the display code), isnt 512*512 a little(BIG) to be a sprite?


Edited by - Scorpion_Blood on Oct 11 2004 05:48:28 AM
Go to Top of Page

Eric Coleman
Gladiator

USA
811 Posts

Posted - Oct 11 2004 :  07:03:47 AM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.08 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.