[Bug 12066] Jade Empire character models are invisible

wine-bugs at winehq.org wine-bugs at winehq.org
Sun May 3 13:17:33 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=12066





--- Comment #9 from Claudio <sick_soul at yahoo.it>  2009-05-03 13:17:33 ---
(In reply to comment #0)
> Charater's models and some locations are invisible, and this makes this game
> unplayable.
> 
> Wine drops tons of lines like the following:
> 
> fixme:d3d:state_fog Implement table fog for foggy vertex shader
> fixme:d3d:state_pscale >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from
> glPointSize(...); @ state.c / 1495
> fixme:d3d9:IDirect3DDevice9Impl_GetTexture Call to get texture  (1) failed
> ((nil))
> 

the d3d:state_pscale error is not related to the bug.
The repeated error message is caused by a call to GL function glPointSize with
argument 0.0, which is invalid (GL_INVALID_VALUE).

http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/pointsize.html

I changed scale.c (wined3d) to check before calling glPointSize, normalizing
values <= 0.0 to 1.0.

This removes the error message, but has no effect on the visibility of the
models.

When you start a new game, and browse the available characters, you can make
the models briefly appear by quickly changing character. This makes me think
that maybe the background is actually drawn on top of the models.

To summarize, I see no causality between the state_pscale msg and the
invisibility of the models.

NB: I am not a wine developer, only a (frustrated) wine user.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list