http://bugs.winehq.org/show_bug.cgi?id=24267
Summary: Touhou 12.3 Hisoutensoku: Don't draw some sprites. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3dx9 AssignedTo: wine-bugs@winehq.org ReportedBy: thunder_8888@mail.ru CC: wine-bugs@winehq.org
Created an attachment (id=30556) --> (http://bugs.winehq.org/attachment.cgi?id=30556) Vertical lines instead of normal sprites
Anything that is rendered with depth buffer use, such as shadows, etc show a only one pixel wide chunk of the texture.
http://bugs.winehq.org/show_bug.cgi?id=24267
--- Comment #1 from thunder_8888@mail.ru 2010-09-04 13:32:47 CDT --- Created an attachment (id=30557) --> (http://bugs.winehq.org/attachment.cgi?id=30557) Part of trace d3d9 - how game drawing
http://bugs.winehq.org/show_bug.cgi?id=24267
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #30557|application/octet-stream |text/plain mime type| | Attachment #30557|tr |trace.txt filename| |
http://bugs.winehq.org/show_bug.cgi?id=24267
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|wine-bugs@winehq.org | Component|directx-d3dx9 |-unknown
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2010-09-05 00:36:38 CDT --- Please specify the Wine version you are using (in the Version field above).
http://bugs.winehq.org/show_bug.cgi?id=24267
thunder_8888@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.2
http://bugs.winehq.org/show_bug.cgi?id=24267
thunder_8888@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=24267
--- Comment #3 from thunder_8888@mail.ru 2010-09-07 02:41:50 CDT --- Force setting viewport, how it's discribed there http://hisouten.koumakan.jp/wiki/Linux_support don't solve problem.
http://bugs.winehq.org/show_bug.cgi?id=24267
rainy6144@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rainy6144@gmail.com
--- Comment #4 from rainy6144@gmail.com 2010-11-14 03:30:11 CST --- Seems to be a Z clipping problem. I have posted a workaround at http://hisouten.koumakan.jp/wiki/Talk:Linux_support
http://bugs.winehq.org/show_bug.cgi?id=24267
--- Comment #5 from thunder_8888@mail.ru 2010-11-15 14:05:19 CST --- Yes, after patching exe and setting SetRenderState(D3DRS_CLIPPING, 0) all views correct.
http://bugs.winehq.org/show_bug.cgi?id=24267
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #6 from joaopa jeremielapuree@yahoo.fr 2011-07-09 09:20:13 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=24267
--- Comment #7 from thunder_8888@mail.ru 2011-07-20 20:48:34 CDT --- Yes, still present and now no fixing by SetRenderState(D3DRS_CLIPPING, 0)
http://bugs.winehq.org/show_bug.cgi?id=24267
tyle7@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |tyle7@hotmail.com
http://bugs.winehq.org/show_bug.cgi?id=24267
--- Comment #8 from thunder_8888@mail.ru 2011-08-07 20:55:31 CDT --- This bug in (dlls/wined3d/state.c)
if (context->render_offscreen) glOrtho(x, x + w, -y, -y - h, 0.0, -1.0); else glOrtho(x, x + w, y + h, y, 0.0, -1.0);
i change to
if (context->render_offscreen) glOrtho(x, x + w, -y, -y - h, -10000.0, 10000.0); else glOrtho(x, x + w, y + h, y, -10000.0, 10000.0);
and all works now.
Thinking in this place must used maximal positive and negative values for far and near.
http://bugs.winehq.org/show_bug.cgi?id=24267
--- Comment #9 from Austin English austinenglish@gmail.com 2011-08-08 14:58:33 CDT --- Patches should be sent to wine-patches@wienhq.org, in git diff format. See http://wiki.winehq.org/SendingPatches.
http://bugs.winehq.org/show_bug.cgi?id=24267
--- Comment #10 from Luca Bennati lucak3@gmail.com 2011-11-05 13:49:49 CDT --- Can confirm in 1.3.32, when it does not crash because of bug 20847. Choose the black-haired red-dressed char or the red-haired green-dressed one. If you use the move mapped on Z, you can see the vertical lines. Maybe we should CC Henri Verbeet, since he recently changed this code and surely knows better.
http://bugs.winehq.org/show_bug.cgi?id=24267
Anton Yarth thunder_8888@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #11 from Anton Yarth thunder_8888@mail.ru 2012-02-26 06:37:52 CST --- Looks like fixed in wine-1.4-rc5 by this commit: "wined3d: Disable z-clipping for transformed vertices when WINED3D_RS_ZENABLE is disabled."
http://bugs.winehq.org/show_bug.cgi?id=24267
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d17f037fb11b8a654a38040aaef | |bdce5f2358963
http://bugs.winehq.org/show_bug.cgi?id=24267
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org 2012-03-02 13:02:47 CST --- Closing bugs fixed in 1.4-rc6.