Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
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  
  Odd culling behavior under Linux  (Read 1536 times)
0 Members and 1 Guest are viewing this topic.
Offline fbi

Senior Newbie





« Posted 2003-03-24 13:33:32 »

Hi people, this is my first post...sorry, it's cause of a bug  Sad
I found out that running two examples in LWJGL 0.5 (under RedHat 8), namely Blending and Fog, the faces that should point outward point inward and viceversa. Running the same example in LWJGL 0.4 all is fine  Smiley
My system is a 800 Mhz Athlon, GeForce 2 Titanium, 384 Mb, latest nVidia drivers (GLX 1.0-4191 and kernel 2.4.18-18.8.0).
Did anyone else experiment this strange behavior?
Were the examples sources modified in the 0.5 release (but I don't think so)?!?

PhD Student@Virtual ArtificiaL Intelligent Systems (VALIS) Laboratory

Fatti non foste a viver come bruti...ma per seguir vertute e canoscenza.
Offline elias

Senior Member





« Reply #1 - Posted 2003-03-24 14:06:37 »

It works here on a similar configuration, rh8, geforce. It sounds like a z buffer problem. Could you take a snapshot of the demos?

- elias

Offline EgonOlsen
« Reply #2 - Posted 2003-03-24 21:02:02 »

Quote
It sounds like a z buffer problem.
Sounds more like a reversed backface-culling to me than a zbuffer problem...

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

Senior Member





« Reply #3 - Posted 2003-03-25 05:05:27 »

Maybe, but that's even moere weird when it's the same demo.

- elias

Offline fbi

Senior Newbie





« Reply #4 - Posted 2003-03-25 11:29:15 »

Quote
Maybe, but that's even moere weird when it's the same demo.

- elias


Yeah...it sounded more like a reversed backface-culling problem to me, too  Grin
Anyway I'm gonna a take a snapshot of the "weird" demo as soon as I come back home...I'm currently at work.
I could also try to test what happens on another GeForce 2 in my laboratory...I'll give you more details as soon as possible.

PhD Student@Virtual ArtificiaL Intelligent Systems (VALIS) Laboratory

Fatti non foste a viver come bruti...ma per seguir vertute e canoscenza.
Offline fbi

Senior Newbie





« Reply #5 - Posted 2003-03-26 05:31:41 »

Hi elias, I took two screenshots from one of the "weird" linux demos Wink All the demos where you get a rotating cube with some textures on, behave basically the same!
It seems like we both are right: some faces seem to disappear cause of uncorrect normals but even some others seem to have wrong z-values in the depth buffer.  
You can see the shots at:

http://ant1.di.uniba.it/lwjgl/04 (the correct one from 0.4 version)
http://ant1.di.uniba.it/lwjgl/05 (the wrong one from 0.5 version)

Hope I gave some help...  Wink

PhD Student@Virtual ArtificiaL Intelligent Systems (VALIS) Laboratory

Fatti non foste a viver come bruti...ma per seguir vertute e canoscenza.
Offline elias

Senior Member





« Reply #6 - Posted 2003-03-26 06:49:03 »

That helped, kind of. There's definitely something wrong, but I still can't figure out exactly what. So I added a printf to the debug build in cvs that prints out the selected pixel format. CVS won't help you much I guess, so I also compiled it for rh 8 and uploaded the debug library to

http://odense.kollegienet.dk/~naur/liblwjgl_d.so.tar.bz2

Look for a line saying something like:

Pixel format chosen sizes: r = 8, g = 8, b = 8, a = 8, depth = 24, stencil = 8

We're especially interested in the depth size.

- elias

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.

CogWheelz (17 views)
2014-07-30 21:08:39

Riven (23 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43
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!