ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/TODO
(Generate patch)

Comparing deliantra/Deliantra-Client/TODO (file contents):
Revision 1.118 by root, Sat Jun 3 23:47:46 2006 UTC vs.
Revision 1.124 by root, Mon Jun 5 00:56:44 2006 UTC

612:17 <@schmorp> i do list all libs manually for pclient 612:17 <@schmorp> i do list all libs manually for pclient
712:17 <@schmorp> will have to do that for gce too 712:17 <@schmorp> will have to do that for gce too
812:17 <@schmorp> remind me of it 812:17 <@schmorp> remind me of it
912:17 <@schmorp> qwhen i next bundle it 912:17 <@schmorp> qwhen i next bundle it
10 10
11- IMPORTANT: login host widget not updated correctly. 11- IMPORTANT: password-entry dialog (query!) not hidden, should be fixed
12- IMPORTANT: invite (and maybe others) _need_ to be documented 12 together with removing query dialog altogether.
13- IMPORTANT: message log window often loses contents after refreshes/res switches
14 (m,aybe not, maybe after loging out and in again?)
15- IMPORTANT: toplevel geometry is not respected on moves.
16- IMPORTANT: statusbox update timer 13- IMPORTANT: statusbox update timer
17- IMPORTANT: statusbox tooltip must not go away on updates 14- IMPORTANT: statusbox tooltip must not go away on updates
18- IMPORTANT: history for completer (cursor-up) 15- IMPORTANT: history for completer (cursor-up)
19- IMPORTANT: toggle stats/messgae log window to visible while character creation is active. 16- IMPORTANT: toggle stats/messgae log window to visible while character creation is active.
20- IMPORTANT: stats window looks like shit initially (widget allocation?) 17- IMPORTANT: stats window looks like shit initially (widget allocation?)
92allocating id 73 89allocating id 73
93OK 90OK
94set_face 4784 => 73 91set_face 4784 => 73
95libpng warning: Ignoring gAMA chunk with gamma=0 92libpng warning: Ignoring gAMA chunk with gamma=0
96 93
94 To achieve a more complete blending, you can have your drawing engine rasterize each transparent object more than once, altering in each pass the blending mode, object alpha channel, and buffer write masks. The first pass should perform RGB blending. Accordingly, you should disable writing any alpha channel or z buffer data during this pass.
95 /*first pass*/
96 glColorMask(TRUE, TRUE, TRUE, FALSE); /*disable alpha channel*/
97 glDepthMask(FALSE); /*disable Z buffer*/
98 if (premultpliedTransparency)
99 glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
100 else
101 glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
102 /*render the object here*/
103
104 On the second pass, you should set the frame buffer alpha channel value to (1- a s )(1- a d ). To do this, you need to render the object again, with a different alpha value, as follows:
105 /*second pass*/
106 glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/
107 glDepthMask(FALSE); /*disable Z buffer*/
108 glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO);
109 /*render the object with alpha replaced with 1-a*/
110
111 Finally, the third pass should replace the value in the alpha channel with the final value 1-((1- a s )(1- a d )). To do this, you need to render the object again, with its alpha value set to 1, as follows:
112 /*third pass*/
113 glColorMask(FALSE, FALSE, FALSE, TRUE); /*enable alpha channel*/
114 glDepthMask(TRUE); /*enable Z buffer*/
115 glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_ZERO);
116 /*render the object with alpha replaced with 1*/
117
118

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines