RenatoUtsch / nulldc

Automatically exported from code.google.com/p/nulldc
0 stars 0 forks source link

[drkPvr] Problems with shadows #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. problems with shadows, it happen in older versions, in 1.0.3 was fixed, 
and in 1.0.4 broken again.

What is the expected output? What do you see instead?
Picture from version 1.0.3 - 
http://s005.radikal.ru/i211/1005/2a/69e9a22efe2b.jpg

Picture from version 1.0.4 -

http://s51.radikal.ru/i133/1005/c2/9ea622101182.jpg

What version of the product are you using? On what operating system?

NullDC v1.0.4 r13

Windows 7 Ultimate x64

Original issue reported on code.google.com by Metal.So...@yandex.ru on 10 May 2010 at 11:34

GoogleCodeExporter commented 9 years ago
Do you have modifier volumes enabled?

Original comment by Mr.PsyMan on 10 May 2010 at 11:41

GoogleCodeExporter commented 9 years ago
Yes, modifier volumes enabled.

Original comment by Metal.So...@yandex.ru on 10 May 2010 at 11:44

GoogleCodeExporter commented 9 years ago
Try changing Z-Buffer mode. Might be working with one.

Original comment by Mr.PsyMan on 10 May 2010 at 11:48

GoogleCodeExporter commented 9 years ago
I try all Z-Buffer modes: D24S8 Mode2 (lower precition), D24S8 Mode1 (lower 
precition), 
D24S8+FPE (Slow, good precition), D24FS8 

Shadows of characters not displayed, this problem make game not playable when 
fight 
with Ghost Boss, i can't see his shadow.

Original comment by Metal.So...@yandex.ru on 10 May 2010 at 11:59

GoogleCodeExporter commented 9 years ago
Will investigate, maby, if i'm not bored, and its not rainy, nor too sunny or 
hot
/me suspects it has to do with Z buffering

Original comment by drkIIRaziel on 12 May 2010 at 10:14

GoogleCodeExporter commented 9 years ago
I was testing Dead or Alive 2 and Soul Calibur, and same issue. No matter the
Z-Buffer mode used, no kind of shadow was shown, not even MV: Volumes showed a 
thing.

Original comment by KrossX3 on 13 May 2010 at 3:20

GoogleCodeExporter commented 9 years ago
Looks like i found this problem, this happen only on Radeon video cards, i ask 
on 
forums and people say what on GeForce all work perfectly, but all users with 
Radeon 
have problems with shadows in many games. 

Original comment by Metal.So...@yandex.ru on 15 May 2010 at 6:19

GoogleCodeExporter commented 9 years ago
Strange, one user say what he have problems with shadows (GeForce) :-/

Original comment by Metal.So...@yandex.ru on 15 May 2010 at 7:34

GoogleCodeExporter commented 9 years ago
-Mine:
Windows 7 x64
ATI HD5770

No shadow at all

-@ruan test:
Windows Vista x64
Geforce 8800 GTS OC 

Shadows working nicely.

Original comment by KrossX3 on 20 May 2010 at 7:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Mine:
Windows Xp sp3 x86
GF9800gt

Shadows work only on Zbuffer Mode: D24s8 Mode2(lower precition) with graphics 
bugs
(in SA2 for example)
Shadows working nicely not everywhere!!! In Nulldc 1.0.3 much better!

Original comment by N2008eo...@rambler.ru on 20 May 2010 at 7:56

GoogleCodeExporter commented 9 years ago
There's no shadows in Shenmue, Jet Set Radio, Powerstone 2 and Zombie Revenge 
unless 
you use the lower precision Z-buffer, though Dynamite Cop has shadows on every 
Z-buffer 
setting.

Using a Geforce 8800 GTS here.   

Original comment by jason.bo...@googlemail.com on 22 May 2010 at 9:39

GoogleCodeExporter commented 9 years ago
Changed summary since it seems to affect more games than just SA2.

Original comment by KrossX3 on 24 May 2010 at 9:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Same for Daytona USA.

Shadows only works if lower precision mode 2 Z-buffer is used, the rest no 
shadows.

Original comment by vadimurputi on 10 Jun 2010 at 5:12

GoogleCodeExporter commented 9 years ago
Just to add the same for Test Drive Le Mans.

Shadows only works if lower precision mode 2 Z-buffer is used, the rest no 
shadows. However it's glitchy, too. Shadow of my car only appears during pause, 
it disappears if i'm playing the game. The way the shadows of other cars appear 
during race is also weird. It seems that there's some kind of invisible texture 
blocking the shadows at certain angles or positions.

Original comment by vadimurputi on 11 Jun 2010 at 3:55

GoogleCodeExporter commented 9 years ago
NVIDIA--ZBUFFER-->SHADOWS+BUGS LIST:

tested on r46

Note: ---Shadows work only on Zbuffer Mode: D24s8 Mode2(lower precition)---

a) problem shadows+graphic bugs (sometimes very strong)+ no shadows (or not so 
much)
*********
Zombie revenge
SA2
Berserk
Jedi pow.battles
Record of logos war
Alone in the dark 4
Head Hunter
Heavy metal geomatrix
Spawn
expendable M.S.
ecco
SA1
Berserk (sometimes very strong bugs with shadows&poligons)
Outtrigger (no shadows or very little)

b) Shadows half-normal or normal + some bugs
***********
SA1
REDDOG
MK GOLD
Incoming
Draconus
18 wheeler
Doa2
deadly skies
Incoming 
TD6
bomberman online
Fighting Forse 2
Get Gr. Radio
MakenX
Prince of persia
Rayman2
RE Code Veronica
San Francissko Rash 2049
Crazi Taxi 1,2
P.S.
Metropolis street racer

P.S.

Please somebody create the list for ATI video. Becouse I have no ATI card!

Thank you all!!!

Original comment by N2008eo...@rambler.ru on 11 Jun 2010 at 10:33

GoogleCodeExporter commented 9 years ago
Alright, here's the list for ATI cards:

ATI 5770HD => No modifier volumes of any kind are visible. =P

Note, this is about Modifier Volumes shadows. As opposed to sprite based 
shadows like a dark smoothed circle under characters for example. 

Note that Grandia II does have a circle... but it's actually a modifier volume. 
XD

Original comment by KrossX3 on 11 Jun 2010 at 2:33

GoogleCodeExporter commented 9 years ago
... Really very bad thing with ATI, you know... :(

But what did you say about bugs textures+poligons on Zbuffer Mode: D24s8 
Mode2(lower precition) for ATI? 
I think its different...  

Original comment by N2008eo...@rambler.ru on 11 Jun 2010 at 3:12

GoogleCodeExporter commented 9 years ago
For my comments 15 & 16.

I'm using a nvidia GTX260.

Original comment by vadimurputi on 11 Jun 2010 at 3:14

GoogleCodeExporter commented 9 years ago
 vadimur@yahoo.com, 15&16 possible to add for my list for NVIDIA. Thank you. 
But I ask about ATI! About poligon & textures bugs on ATI card when we must see 
a shadows... 

Original comment by N2008eo...@rambler.ru on 11 Jun 2010 at 3:24

GoogleCodeExporter commented 9 years ago
I don't know about what you're talking about. Keep this Issue focused on 
Modifier Volume shadows.

There are already enough titles to test the Issue. Until there's any commit 
about it, there's no need to bump this Issue.

Original comment by KrossX3 on 11 Jun 2010 at 7:25

GoogleCodeExporter commented 9 years ago
Test please => http://www.mediafire.com/?nkytwnzugny

Original comment by KrossX3 on 12 Jun 2010 at 12:44

GoogleCodeExporter commented 9 years ago
New PowerVR Plugin appears to do the trick... Have tested Crazy Taxi, CT2, 
Sonic Adventure 2, Jet Grind Radio.  ATI Radeon HD card modifier volumes all 
now functioning correctly as in 1.0.3

Original comment by kwisatz1...@gmail.com on 12 Jun 2010 at 6:15

GoogleCodeExporter commented 9 years ago
Also, as a follow up, Have tested Shenmue and all four different Z-buffer 
settings and all show shadows fine (modifier volumes normal+clipped).  Problem 
definitely appears rectified ... excellent work KrossX3!!

Original comment by kwisatz1...@gmail.com on 12 Jun 2010 at 6:27

GoogleCodeExporter commented 9 years ago
Neat! Now lets just wait for some nVIDIA results. :)

Original comment by KrossX3 on 12 Jun 2010 at 6:29

GoogleCodeExporter commented 9 years ago
GTX 260, shadows is fine in all modes, tnx!

Original comment by MadRabbi...@gmail.com on 12 Jun 2010 at 9:16

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Excellent work KrossX3 :D 

Shadows works perfectly in Sonic Adventure 2 (ATI Radeon HD 4850)

Original comment by Metal.So...@yandex.ru on 12 Jun 2010 at 10:47

GoogleCodeExporter commented 9 years ago
Fixed by r48. Thanks for the testing!

@N2008eogen: Don't mix Issues, make a new one instead. >_<

Original comment by KrossX3 on 12 Jun 2010 at 2:55

GoogleCodeExporter commented 9 years ago
Ok! I understood! 

That is why I created issue 130.

THANKS! YOU ARE GREAT MAN!

Original comment by N2008eo...@rambler.ru on 12 Jun 2010 at 3:44

GoogleCodeExporter commented 9 years ago
Nice. Seems to have fixed the shadows for most games, however, it's still 
glitchy for Test Drive Le Mans. There's seems to be a invisible square texture 
in the middle of the screen blocking shadows showing or affects how the shadows 
appear from the other cars. Anywhere outside of the 'square', shadows will be 
visible.

Original comment by vadimurputi on 13 Jun 2010 at 1:57

GoogleCodeExporter commented 9 years ago
Doesn't seem to be a shadow problem, but also something else. If you press 
start, the shadows are visible. Something's just covering them. >_<

Original comment by KrossX3 on 14 Jun 2010 at 7:28

GoogleCodeExporter commented 9 years ago
Yes! In my comment 16.

Related to z-buffer? O_o

Original comment by vadimurputi on 14 Jun 2010 at 7:39

GoogleCodeExporter commented 9 years ago
Hey Kross, can you give antoher link for your solution? It dissapears! And i 
have also the problems with the shadows on shenmmue!
Thanks!

Original comment by cpei.lic...@gmail.com on 10 Dec 2010 at 9:59

GoogleCodeExporter commented 9 years ago
The issue has been already fixed. Just use any new revision.

Original comment by KrossX3 on 10 Dec 2010 at 11:30

GoogleCodeExporter commented 9 years ago
But i have the 1.0.4 r50 version and i have the problem, is it normal?

Original comment by cpei.lic...@gmail.com on 10 Dec 2010 at 8:56

GoogleCodeExporter commented 9 years ago
It's either another problem, or a wrong configuration.

Original comment by KrossX3 on 10 Dec 2010 at 9:15

GoogleCodeExporter commented 9 years ago
But i don't understand: the problem should be solved with my version? The 
shadows indeed appears when the zbuffer is in the minimal, but in the 1.03 
version, i didn't have this problem.

Should i stay in the 1.03 version? And finally, what are the good updates with 
the 1.04 version?

Original comment by cpei.lic...@gmail.com on 10 Dec 2010 at 9:24

GoogleCodeExporter commented 9 years ago
I'm sorry, but how do the sources work? we have to download it? it's like a new 
vesion of nulldc? There are 108 versions! Which should i download?

Original comment by cpei.lic...@gmail.com on 11 Dec 2010 at 7:16

GoogleCodeExporter commented 9 years ago
Dude, it's fixed...what are you not getting here. Sorry the way to make it work 
is not exactly the same as a 3 year old version of the emu.

Just stay up to date:
http://www.emucr.com

Original comment by wespipe...@gmail.com on 11 Dec 2010 at 7:19

GoogleCodeExporter commented 9 years ago
Ok but just one last question, i'm very sorry!

Is it normal if i have to the zbuffer in the lowest precision to see the whole 
shadow? if i put it in "fast when available", i just have a part of the shadow 
in Shenmue, in kinf of circle, not the whole body!

Thank you!

Original comment by cpei.lic...@gmail.com on 11 Dec 2010 at 2:28

GoogleCodeExporter commented 9 years ago
cpei.licence3, - more info of your PC, graphics card, driver, etc.

Original comment by powercybershock on 11 Dec 2010 at 5:17

GoogleCodeExporter commented 9 years ago
well, E6850, 8800GT, 2go ram DDR2, driver nvidia 260.99

There are no reasons that i still have this problem!

Original comment by cpei.lic...@gmail.com on 11 Dec 2010 at 5:19

GoogleCodeExporter commented 9 years ago
And i put: textures dynamix full, sort per triangle, voulume normal and clip, 
zbuffer D24DS8 and Vsynch!

Original comment by cpei.lic...@gmail.com on 11 Dec 2010 at 5:24

GoogleCodeExporter commented 9 years ago
>>>>>cpei.licence3

No, no, no! 260.99 is very bad version of drivers for your videocard. Belive me 
I know. Cuz problem of shadows appeared somewhere in the 256....260.99 versions 
of drivers. I tested it!

 You can fix this problem just easy. You need to download and reinstall drivers. Try something around 181.71 - 191.07 --  wonderful drivers! But I recommend: 
"182.06_geforce_winxp_32bit_international_whql" (for XP) and

 185.85_desktop_win7_32bit_english_whql (for win 7 only)

And you will see. Shadows works.

P.S.

It is only problem with drivers, and nothing more.

Original comment by N2008eo...@rambler.ru on 11 Dec 2010 at 8:19

GoogleCodeExporter commented 9 years ago
Wow! Thank you, i will try that! But how could you find this solution, it's not 
easy!

But you think that 260.99 is a bad driver in general or only for emulation?

Original comment by cpei.lic...@gmail.com on 11 Dec 2010 at 8:26

GoogleCodeExporter commented 9 years ago
And just a precision: with nulldc 1.03, i didn't have this problem! 

So shouldn't use 1.03 version? I have to admit that i didn't see many 
differences in 1.04! And of course, i play on recent games and last drivers, 
obviously, are better!

Original comment by cpei.lic...@gmail.com on 11 Dec 2010 at 8:34

GoogleCodeExporter commented 9 years ago
>>>>>>>cpei.licence3,

In general ofcourse! Cuz your videocard is old. 

260.99 better for new videocards GTX460 - 480.

Just dont worry and be happy! Enjoy!

P.S. By the way,... for example on 

182.06_geforce_winxp_32bit_international_whql"

and

185.85_desktop_win7_32bit_english_whql

 you can play in new games and old games like "Soldier Of Fortune - 1" without problems. BUT on 260.99 you cant do that. 

Original comment by N2008eo...@rambler.ru on 11 Dec 2010 at 8:43