Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: NevilleKemp

26. May 2012, 07:44:17 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)Z_INDEX_UNIT problems
Pages: [1]
Print
Author Topic: Z_INDEX_UNIT problems  (Read 942 times)
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« on: 28. February 2007, 04:04:47 pm »

Hi Marvin and all,

Why has the Z_INDEX_UNIT and Z_INDEX_UNIT_ASSEMBLER constants been reseted to really small values ? It has broken Digibots again...

I'll fix that in my local copy and wait for explanations.
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #1 on: 28. February 2007, 04:32:14 pm »

Finally it's working perfectly with these values :
Code:
protected static final float Z_INDEX_UNIT = 0.0001f;
protected static final float Z_INDEX_UNIT_ASSEMBLER = 0.00005f;
Marvin, is it OK for you ? Or should I try smaller values ?
   
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #2 on: 28. February 2007, 07:54:13 pm »

Finally it's working perfectly with these values :
Code:
protected static final float Z_INDEX_UNIT = 0.0001f;
protected static final float Z_INDEX_UNIT_ASSEMBLER = 0.00005f;
Marvin, is it OK for you ? Or should I try smaller values ?

I have reduced the values, because I found the correct values for near and far clip planes. So the depth-buffer is far more precise.

Please search the smallest value for Z_INDEX_UNIT_ASSEMBLER, for which the HUD still works for you and hold the Z_INDEX_UNIT at 10x of Z_INDEX_UNIT_ASSEMBLER.

Thanks.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic