1D_texture cell shading overlay
sorry about them buzzwords, but it might filter out those who will know what im talking about :]
ive been having a look at cell shading (aka cartoon) rendering for some models (quake3 models to be precise :]) and am coming along well;
i get the outline by rendering my model in wireframe and culling the front faces, so only the behind and side "wires" show through, giving an outline on the edge:
thats sonic and a plasma gun.
now, as you can see the 1D_texture comes into affect on the darker areas of the model. the effect i want, is to use a flat texture, and then add the 1D_texture over the top, to get the cell shaded effect, but as a sort of blend on top of the actaul texture.
if i draw with the 2D_texture as it is, its fine, but if i apply the 1D_texture at the same time, all i see is thecell-shaded version (like the pic above)
does anyone having any suggestions?
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
so with a multi-texture i can mix 1D and 2D textures?
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
hoorah
anons are good for something :]
:]]
theres a description of how ive done it, (if someone wants a basic idea) on deadpenguin.org or download the exe and source (and md3 models and textures so its 1.1mb)
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
anons are good for something :]
:]]
theres a description of how ive done it, (if someone wants a basic idea) on deadpenguin.org or download the exe and source (and md3 models and textures so its 1.1mb)
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
hehehe :]
made it onto the front page too :]]
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
made it onto the front page too :]]
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
That second pic looks great. Grrr, I would write an .md3 loader myself if I could find some models (I downloaded a couple from polycount, but the .zips didn''t even contain a model... grrrr). So where did you get urs?
------------------------------
Trent (ShiningKnight)
E-mail me
OpenGL Game Programming Tutorials
------------------------------
Trent (ShiningKnight)
E-mail me
OpenGL Game Programming Tutorials
polycount :]
or just take some out of quake3''s pak0.pk3. like the plasma gun, its just sonic was a bit more appropriate for a cartoon rendering thiny. tankJr, ranger etc all work, but the textures arent plain enough, and just look brown
oh, and for some reason the homer model doesnt work properly with my program, not looked into it yet, but im not sure if its the texture or the md3
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
or just take some out of quake3''s pak0.pk3. like the plasma gun, its just sonic was a bit more appropriate for a cartoon rendering thiny. tankJr, ranger etc all work, but the textures arent plain enough, and just look brown
oh, and for some reason the homer model doesnt work properly with my program, not looked into it yet, but im not sure if its the texture or the md3
__________________
graham "red" reeves.
red@deadpenguin.org
www.deadpenguin.org
From the looks of it, the homer model''s texture was already cel shaded. Thanks.
------------------------------
Trent (ShiningKnight)
E-mail me
OpenGL Game Programming Tutorials
------------------------------
Trent (ShiningKnight)
E-mail me
OpenGL Game Programming Tutorials
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement