Commit graph

17 commits

Author SHA1 Message Date
gmiranda
6696bd3761 This file just changed (Microsoft Visual C++ 6.0 project file)
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@30 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-30 22:54:30 +00:00
gmiranda
3c1057083b Reverted to old blur algorithm. Anyways, now it doesn't seem to affect the skybox.
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@29 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-30 22:34:51 +00:00
gmiranda
fe9904fb15 Sprites are not being cel-shaded. They won't be filtered!!!! (almost 2 hours of work).
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@28 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-30 19:50:12 +00:00
gmiranda
4d69b79ca7 I implemented a new blur algorithm. Works better, but there's something in the second pass that introduces more dots.
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@26 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-28 12:46:49 +00:00
gmiranda
76b1e0f621 Revision 24 featured cleaner code, but a pointer bug was also in the same bag.
Also, I tried to solve the blur problem, changing setImage and getImage, but that downgraded (IMHO) blurring.

So... we have the same blurring problems (as of revision 22), but cleaner code.

git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@25 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-28 11:47:38 +00:00
gmiranda
f378cc2a2d Code clean.
Filtering is only applied in one place, when the texture is loaded (it was being applied in each loading function, i.e. LoadBMP).

I tried solving the dots problem of blurring, with no success.

git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@24 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-26 11:54:53 +00:00
rutdaun
0109c81576 git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@22 db09e94b-7117-0410-a7e6-85ae5ff6e0e9 2006-07-23 20:10:37 +00:00
gmiranda
63c4ad4d41 Changed Kuwahara filter size to 10. The blur is applied after, not before. I think it gives the best look. Later, I will try a bigger window size.
The problem are sprites like buttons (next, play, ...). Thus, it would be nice to see if we can also differentiate from the rest of the models.

git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@21 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-20 18:57:13 +00:00
gmiranda
09a0d67e50 Variable primitives at function R_DrawCel(), file tr_shade.c was not declared at the beginning of the function. This strict C compiler wasn't happy :P
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@20 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-20 18:35:23 +00:00
gmiranda
195ee1fd6e Added CHANGES.txt.
Deleted unused variables in tr_image.c.

git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@19 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-20 18:29:32 +00:00
paied
13742c7f2d cel outline updates + r_celoutline 0/1 non-cheat
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@17 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-20 17:52:37 +00:00
gmiranda
883c92fb5d There's even no need to restore depthrange state. Don't even touch it.
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@8 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-08 10:02:00 +00:00
gmiranda
0bd5b79001 Depth bug FIXED.
Code cleaned.
Cell shading code moved to void RB_StageIteratorGeneric( void ) [tr_shade.c].

:D:D:D:D:D:D:D:D

git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@7 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-08 09:52:41 +00:00
gmiranda
5f5dc500bc Little changes...
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@6 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-07 19:01:30 +00:00
gmiranda
bd2629a753 WhiteTexture algorithm revised.
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@5 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-07 11:30:33 +00:00
gmiranda
b5a218091b Code cleaning: proper function names.
Added r_celshadalgo variable, so you can choose which texture algorithm to use: 0=none, 1=kuwahara, 2=whiteTexture.

git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@4 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-07 10:42:50 +00:00
gmiranda
db8ca37fa3 Initial commit
git-svn-id: https://svn.code.sf.net/p/q3cellshading/code/trunk@2 db09e94b-7117-0410-a7e6-85ae5ff6e0e9
2006-07-05 14:05:49 +00:00