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.

DarkBASIC Professional Discussion / matrix mipmapping

Author
Message
Ermes
23
Years of Service
User Offline
Joined: 27th May 2003
Location: ITALIA
Posted: 16th Feb 2011 00:24
hi, sounds incredible but i can't set the mipmapping on for a matrix.

i think the way is "set matrix texture nmatrix,0,1" but it doesn't work. some advices?? thanks.


Ciao facce da sedere!
Ermes
23
Years of Service
User Offline
Joined: 27th May 2003
Location: ITALIA
Posted: 17th Feb 2011 08:35 Edited at: 17th Feb 2011 08:35
thanks for the help guys, i found the problem:

the image must be a square of 2, but need to be a square itself.

1024x516 doesn't work, use 1024x1024 or 512x512.

thanks!


Ciao facce da sedere!
beginner98
17
Years of Service
User Offline
Joined: 22nd Jun 2009
Location:
Posted: 17th Feb 2011 16:05
Er... Don't you mean to the power of two? 2^ 2,4,8,16,32,64,128,256,512,1024,2048 etc.

c++ = easy GDK = IMPOSSIBLE lol
Ermes
23
Years of Service
User Offline
Joined: 27th May 2003
Location: ITALIA
Posted: 17th Feb 2011 16:22
yes, sorry for this English italianization....
power of 2 (in italian we say "square of two"...)


Ciao facce da sedere!

Login to post a reply

Server time is: 2026-07-16 03:10:23
Your offset time is: 2026-07-16 03:10:23