Cell shading

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
faissal
Posts: 15
Joined: Mon Mar 15, 2004 11:45 am

Cell shading

Post 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();
wa9oul i3malou fasayara ALLAH 3amalakom wa rasoulouhou wa almou2minoun
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

Nope, there are no tool, code, or capabilities in Irrlicht for Cel Shading.
The Robomaniac
Project Head / Lead Programmer
Centaur Force
Dataleap
Posts: 8
Joined: Thu Apr 22, 2004 1:21 pm

Post by Dataleap »

You can try Pseudo cel-shading
faissal
Posts: 15
Joined: Mon Mar 15, 2004 11:45 am

Post by faissal »

thanx you all
anyway , i'll try my best to make it , if i do so i'll post it :D
wa9oul i3malou fasayara ALLAH 3amalakom wa rasoulouhou wa almou2minoun
Domarius
Posts: 178
Joined: Thu Mar 11, 2004 9:51 am
Location: Brisbane, QLD, Australia

Post 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
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

The effect shown on the website is as good as XIII IMO, that's a good find.
Dataleap
Posts: 8
Joined: Thu Apr 22, 2004 1:21 pm

Post by Dataleap »

If you use Blender you can also check Toon Shading (http://download.blender.org/documentati ... ading.html)
Domarius
Posts: 178
Joined: Thu Mar 11, 2004 9:51 am
Location: Brisbane, QLD, Australia

Post 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??
faissal
Posts: 15
Joined: Mon Mar 15, 2004 11:45 am

Post 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
wa9oul i3malou fasayara ALLAH 3amalakom wa rasoulouhou wa almou2minoun
faissal
Posts: 15
Joined: Mon Mar 15, 2004 11:45 am

Post 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:
wa9oul i3malou fasayara ALLAH 3amalakom wa rasoulouhou wa almou2minoun
Domarius
Posts: 178
Joined: Thu Mar 11, 2004 9:51 am
Location: Brisbane, QLD, Australia

Post 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.
faissal
Posts: 15
Joined: Mon Mar 15, 2004 11:45 am

Post 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
wa9oul i3malou fasayara ALLAH 3amalakom wa rasoulouhou wa almou2minoun
faissal
Posts: 15
Joined: Mon Mar 15, 2004 11:45 am

Post 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:
wa9oul i3malou fasayara ALLAH 3amalakom wa rasoulouhou wa almou2minoun
stampsm
Posts: 142
Joined: Mon Nov 10, 2003 5:52 pm
Location: Las Vegas

Post 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.
Masdus
Posts: 186
Joined: Tue Aug 26, 2003 1:13 pm
Location: Australia

Post 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
Post Reply