Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Anisotropic Filtering Code

Author
Message
kaedroho
17
Years of Service
User Offline
Joined: 21st Aug 2007
Location: Oxford,UK
Posted: 16th Dec 2009 11:36 Edited at: 16th Dec 2009 11:39
For those of you who know what anisotropic filtering is, heres some code for you.

This code is from my Anisotropic Filtering DLL for DBPro. The DLL is open source too.

http://forum.thegamecreators.com/?m=forum_view&t=159383&b=5


And the code:




Screenshot:
Special thanks to roka. Screen shots from Rush Team (FPS)



Freedom Fighters
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 17th Dec 2009 01:03
hmm, i see some difference, looks great. but the code im a little confused on how to use, could you explain it to me please?

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
Outscape
16
Years of Service
User Offline
Joined: 23rd May 2008
Location:
Posted: 17th Dec 2009 01:10
the variables arnt defined, and arrays, how do we know what to assign em to?



dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 17th Dec 2009 01:21 Edited at: 17th Dec 2009 01:22
Well he did post this in the GDK section, thus one assumes you'd paste the code into a file that includes it .

One thing you may wish to change is to check if dbGetObject() returns non NULL(assuming it returns this if the object doesn't exist), or dbObjectExist() else you'll get a lovely crash if the object doesn't exist.

Login to post a reply

Server time is: 2024-10-01 20:23:50
Your offset time is: 2024-10-01 20:23:50