Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (517)
Games in Android Showcase (123)
games submitted by our members
Games in WIP (578)
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  
  Weird results on different machines/video cards  (Read 1807 times)
0 Members and 1 Guest are viewing this topic.
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Posted 2011-05-07 15:29:54 »

Images tells more than words :

-This is on my 4 year old laptop, with crappy Intel 965 Graphics Card:




-And this is on my girlfriend's pc, with NVIDIA GeForce FX 5200, up to date drivers : (click to enlarge and see how the edges of the model have a white line, as if the texture was not correctly bound)



besides that, it runs at 60 fps on my laptop with no problems, but in hers it runs at 40 fps at most.

On other tests:
-A friend's notebook with SiS351 graphics card, things were even more messed up, I don't have a screenshot though.

-On a pc with geforce 8600gt , things were normal .

I'm using immediate mode for some stuff (like the UI), vertex Arrays for the animated models and VBO for the static stuff (for example the spear on the screenshot) .

I wanted to believe this is only an out of date driver issue, but I've updated and installed myselft the NVIDIA GeForce FX 5200 drivers on my girlfriend's computer, and still the problem happens .

Any ideas of what I could be doing wrong ?


Offline lhkbob

JGO Knight


Medals: 32



« Reply #1 - Posted 2011-05-07 16:51:12 »

Isn't the FX 5200 pretty old?  Intel's cards have been getting better so maybe the 965 isn't as bad as you'd think, at least not compared to the 5200.

The only thing I can think of is if the 5200 doesn't support the texture clamp mode you're using when you render it with textures (such as CLAMP_TO_EDGE or CLAMP_TO_BORDER, etc.) or maybe its texture filtering engine is really bad.

Are the triangles in the models being smoothed with OpenGL's primitive anti-aliasing? The images look a lot like what happens when you enable polygon smoothing but the edges are set up poorly, or the card can't handle it correctly. If you look closely at the hood on the bad model, the cracks are yellow instead of the white/gray everywhere else, as if the head is bleeding through.  This makes me think it might be a polygon rendering issue of some type.

All guesses, though Smiley

Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #2 - Posted 2011-05-07 17:17:56 »


Are the triangles in the models being smoothed with OpenGL's primitive anti-aliasing? 

Damn, you're good !

I disabled GL11.GL_POLYGON_SMOOTH and now the funky lines disappeared . The FPS is still low, though VBOs are available .
I guess there is no LWJGL utility isCrappyPolygonSmooth() , right ? I think I'll just leave it enabled as default, and have as an option to disable .

Thanks again !

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline delt0r

JGO Knight


Medals: 27
Exp: 18 years


Computers can do that?


« Reply #3 - Posted 2011-05-08 09:38:28 »

FX5200 is a really old card. Your low FPS is almost certainly because of that. The intel cards are crap, but mostly because they have very buggy drivers. For a on board card their fill rates etc are not so bad compared to a fossil like a FX5200.

OTOH I have a new NV 300 at work, which is a fanless OEM model. It is new, and has pretty low fill rate etc. Check card specs, the model number/age does not give you a accurate view of what performance you should get.

Finally, i wouldn't use smooth triangles. Its got fairly odd behavior and you must render the triangles in the correct order. These days folks who want AA will be using FSAA and probably have the card to do it. 

I have no special talents. I am only passionately curious.--Albert Einstein
Offline teletubo
« League of Dukes »

JGO Ninja


Medals: 48
Projects: 4
Exp: 8 years



« Reply #4 - Posted 2011-05-08 12:59:12 »

FX5200 is a really old card. Your low FPS is almost certainly because of that. The intel cards are crap, but mostly because they have very buggy drivers. For a on board card their fill rates etc are not so bad compared to a fossil like a FX5200.

OTOH I have a new NV 300 at work, which is a fanless OEM model. It is new, and has pretty low fill rate etc. Check card specs, the model number/age does not give you a accurate view of what performance you should get.

Finally, i wouldn't use smooth triangles. Its got fairly odd behavior and you must render the triangles in the correct order. These days folks who want AA will be using FSAA and probably have the card to do it. 


Ok, thank you for the information !

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

DarkCart (16 views)
2014-10-31 21:44:48

DarkCart (21 views)
2014-10-31 21:43:57

TehJavaDev (40 views)
2014-10-27 03:28:38

TehJavaDev (31 views)
2014-10-27 03:27:51

DarkCart (44 views)
2014-10-26 19:37:11

Luminem (27 views)
2014-10-26 10:17:50

Luminem (30 views)
2014-10-26 10:14:04

theagentd (36 views)
2014-10-25 15:46:29

Longarmx (64 views)
2014-10-17 03:59:02

Norakomi (62 views)
2014-10-16 15:22:06
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!