Page 1 of 2

Cell shading

Posted: Sat Apr 24, 2004 10:03 am
by faissal
Hello guys
first of all i want to say that i'm just new in the IrrLicht world and i found it very interesting .
secondo, i plan to make a game with irrlicht using cell shading
but unfortunately i didn't found any tutorial about the subject

if somone knows about that , please respond :D
if no one knows about that :( we will work together to make it loool

good reflection
glEnd();

Posted: Sat Apr 24, 2004 11:13 am
by Robomaniac
Nope, there are no tool, code, or capabilities in Irrlicht for Cel Shading.

Posted: Sat Apr 24, 2004 12:23 pm
by Dataleap
You can try Pseudo cel-shading

Posted: Sun Apr 25, 2004 7:28 pm
by faissal
thanx you all
anyway , i'll try my best to make it , if i do so i'll post it :D

Posted: Mon Apr 26, 2004 4:46 am
by Domarius
Actually you might want to check out this really cool method of Cel shading before you embark on such an ambitios project.

This form of cel shading works on pretty much any 3D graphics engine, and can be done using pretty much any 3D modeler.

The effect is totally awesome, especially for how easy it is, and allthough you can't get some of the super advanced effects you might see on Game Cube, it's probably good enough to suit most people's needs.

http://www.chrisevans3d.com/tutorials/cel_lines/

I have seen this used in an ameteur game, and man, it is flawless, and looks awesome. Every detail at every angle, has a line of the right thickness. Small details have small lines, others have large lines.
The game I'm talking about is called "Ghost House" and is a demo game, that can be found here;
http://perso.wanadoo.fr/peggy-olivier/olivier
(direct link)
http://perso.wanadoo.fr/peggy-olivier/o ... index.html
It was made with Jamagic, which can be found here;
www.clickteam.com

Posted: Mon Apr 26, 2004 6:37 am
by Tyn
The effect shown on the website is as good as XIII IMO, that's a good find.

Posted: Mon Apr 26, 2004 11:25 am
by Dataleap
If you use Blender you can also check Toon Shading (http://download.blender.org/documentati ... ading.html)

Posted: Tue Apr 27, 2004 4:48 am
by Domarius
Tyn wrote:The effect shown on the website is as good as XIII IMO, that's a good find.
Hell yeah. This technique blows me away every time I think about it - it's so simple, and so convincing.

Who'd have thought of encasing the model in a slightly larger, inverted, black version of itself??

Posted: Tue Apr 27, 2004 4:46 pm
by faissal
yep, but i think that you still don't understand me ,
what i want is not just an outline effect but also the celshading effect which means using 1D texture for shading (gray color...)
thank you anyway guys

sorry i poste this stupid question because i don't have a PC now , i work on papers (design):shock: :D plus i work on a another project
you got it :idea: i don't have enough time to implement it in irrlicht
for the hardcore programmers here is the way to make celshading(toon shading) effects on Opengl
http://nehe.gamedev.net/data/lessons/le ... ?lesson=37
c u good programmers :D

Posted: Tue Apr 27, 2004 10:04 pm
by faissal
by the way ,
does IrrLicht support MultiTexturing ?
does IrrLicht support 1D texturing ?

if No , does Irrlicht Gives somme functions to access Directely to OpenGL
so that we can Prameter 1D texturing
thanx :wink:

Posted: Wed Apr 28, 2004 5:44 am
by Domarius
I noticed you started a new thread in the advanced forum on this (and justifiably too).

I just merely wanted to add that yes, this is a very simple effect compared to true cel shading, which lets you control the number of shading levels, and their colours etc., but I just thought I'd let you know incase you dont' know about it already, since it is a great answer for a lot of people.

You're probably looking for something more along the lines of Zelda Wind Waker.

Posted: Wed Apr 28, 2004 8:43 am
by faissal
Yes you got it :wink:
i know almost all the theory behind the effect
so i want to know just if the Engine manage multitexturing and 1D texturing

Posted: Thu Apr 29, 2004 11:47 am
by faissal
Ok

Irrlicht manage Multitexturing
but there is no way to work with 1D texture(i hope that niko will implemente it in 0.7 version :roll: )
the only way to make celshading now in irrlicht is to modify the source code
so that it can manage 1D texturing and recompile it
(there is also another function we need : to get the modelview matrix)
but as you know Niko dont want the source code to be modified by anyone till 1.0 version (et il a raison :o )(1.0 version :twisted: Cg shaderZ)
lol just forget about it
ok, till then we are waiting for Niko to implement it
that's my request
i'm sure that once the cel shading effect is implemented irrlicht will be more popular
i hope so :wink:

Posted: Thu Apr 29, 2004 6:24 pm
by stampsm
i hope that it will be in irrlicht by 1.0 and if it isn't someone else will probably do it within a few weeks after 1.0 is released.
i downloaded rendermonkey from the ati site and those demos are sweet.
if irrlicht got that ability it would probably double the user base within a short time.
if you can handle a download close to 30 megs and have a adequate video card i recommend that you download rendermonkey just to seee what is possible.

Posted: Thu Apr 29, 2004 11:15 pm
by Masdus
why is cell shading so popular at the moment. In my opinion the effect is only good is your trying to create some sort of comic book game. Seems to be a bit of a fad