Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (767)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (854)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Wierd error on Geforce FX5200  (Read 2316 times)
0 Members and 1 Guest are viewing this topic.
Offline ozak

Junior Devvie




Java demon has no respect for bad code!!!


« Posted 2005-02-16 18:39:43 »

The following error occurs in my game:

http://www.jpct.net/pics/aleria.jpg

It looks like small splashes of alpha, since I can see through them.

Maybe some default state not being set? Anyway. Any help would be much appreciated Smiley

Want to do multiplayer? Why not try my free Socky socket server?
It's scriptable through JavaScript!
Check it out at http://www.furi.dk/socky
Offline ozak

Junior Devvie




Java demon has no respect for bad code!!!


« Reply #1 - Posted 2005-02-16 18:55:58 »

Now. It's definately some kind of alpha offset problem or something, but it works on all other cards I tested on. Even on OS X with ATI Rage 8500!!!

Want to do multiplayer? Why not try my free Socky socket server?
It's scriptable through JavaScript!
Check it out at http://www.furi.dk/socky
Offline ozak

Junior Devvie




Java demon has no respect for bad code!!!


« Reply #2 - Posted 2005-02-17 06:17:34 »

Please tell me it's a lie that the GeForce FX5200 only draws completely square textures correcly. Non-square such as 320x240 and 640x480 exhibits the mentioned alpha error.
Sounds like a driver bug to me.

Want to do multiplayer? Why not try my free Socky socket server?
It's scriptable through JavaScript!
Check it out at http://www.furi.dk/socky
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Spasi
« Reply #3 - Posted 2005-02-17 07:18:22 »

If you want to use a non-power-of-two texture (not being square has nothing to do with it), you need to use one of the texture_rectangle extensions (ARB and NV are supported with the latest Forceware). Then, make sure you're using the right texture coordinates, with rectangle textures they go [0..w][0..h] instead of [0..1][0..1].
Offline ozak

Junior Devvie




Java demon has no respect for bad code!!!


« Reply #4 - Posted 2005-02-17 07:39:45 »

But it works fine on other geforce cards + ATI?
It's this specific card that won't work.
If I make my texture square it works. Otherwise I get holes in my image due to some screwup in the alpha channel  Huh

Want to do multiplayer? Why not try my free Socky socket server?
It's scriptable through JavaScript!
Check it out at http://www.furi.dk/socky
Offline turquoise3232

Junior Devvie




Java (games) rock!


« Reply #5 - Posted 2005-02-17 07:44:12 »

Hi,

With a FX5200 and a wrong texture size (non power of two) i experienced strange behaviours...

But i agree with Spasi, you should definitively use the extension for non power of 2 textures...
Offline Spasi
« Reply #6 - Posted 2005-02-17 08:52:15 »

Quote
But it works fine on other geforce cards + ATI?
It's this specific card that won't work.


Sounds really weird. Could you please post a part of your texture loading code?

Quote
If I make my texture square it works. Otherwise I get holes in my image due to some screwup in the alpha channel  Huh


Making it square (e.g. 320x320) doesn't change anything. What matters is whether it's power-of-two or not (e.g. make a 512x256 texture and use a 320x240 part of it, with the right texcoords).
Offline Orangy Tang

JGO Kernel


Medals: 57
Projects: 11


Monkey for a head


« Reply #7 - Posted 2005-02-17 09:03:43 »

I see that exact same pattern when I play DVD's and movie files (which are probably using a non-pot surface) on my Fx 5200. I'd never seen them before when I was running the same system but with a GeForce 4 Ti. Methinks its a driver bug.

[ TriangularPixels.com - Play Growth Spurt, Rescue Squad and Snowman Village ] [ Rebirth - game resource library ]
Offline ozak

Junior Devvie




Java demon has no respect for bad code!!!


« Reply #8 - Posted 2005-02-17 10:31:57 »

I agree. It's 2005 and new cards should just use nonpow textures without ANY problems   Angry

Want to do multiplayer? Why not try my free Socky socket server?
It's scriptable through JavaScript!
Check it out at http://www.furi.dk/socky
Offline Spasi
« Reply #9 - Posted 2005-02-17 11:43:49 »

Quote
It's 2005 and new cards should just use nonpow textures without ANY problems   Angry


Well, you should buy a 2005 card then. Any 6X00 would run fine with NPOT textures (NV40 is the only chip with support for ARB_texture_non_power_of_two right now).
Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (1314 views)
2018-06-10 19:43:48

EgonOlsen (1179 views)
2018-06-10 19:43:44

EgonOlsen (916 views)
2018-06-10 19:43:20

DesertCoockie (1317 views)
2018-05-13 18:23:11

nelsongames (1106 views)
2018-04-24 18:15:36

nelsongames (1338 views)
2018-04-24 18:14:32

ivj94 (2080 views)
2018-03-24 14:47:39

ivj94 (1231 views)
2018-03-24 14:46:31

ivj94 (2230 views)
2018-03-24 14:43:53

Solater (798 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!