Outline edges

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Outline edges

Post by puh »

I'm just want to ask if someone know or have any idea of how this could be done? Please compare two images of the same object (Right - what all we've got in our screens with Irrlicht, Left - what almost all modern 3D modelers can show):
Image
Maybe there could be some kind of shader?

Any help and even thought will be helpful. Thank you in advanced.
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

yup Puh, you're looking for a cartoon cell shader. And it's possible, like u said, thru shaders. The problem is, how to write it?

Engines like OGRE or Kjapi already got it implemented. Perhaps checking how they're achieving it could be a start point.

:D
Image
Guest

Post by Guest »

maybe nvidias CG? or you try to fake cartoon shading if you apply it directly to the model :)
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

afecelis wrote:yup Puh, you're looking for a cartoon cell shader
Actually I guessed it, but not sure.
All images I saw with cartoon cellshading was more ANIME-stylish.
OK, thank you both for such quick response, I'll try to find more info in google.
Tyn
Posts: 932
Joined: Thu Nov 20, 2003 7:53 pm
Location: England
Contact:

Post by Tyn »

What you are looking to do is to show both the solid mesh and a modification of the wireframe. How you do this I don't know but it is possible to show the solid mesh with the wireframe, you will have to look at how to show and hide certain lines between verticies.
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

Tyn wrote:What you are looking to do is to show both the solid mesh and a modification of the wireframe
Hm, don't think so, as in this case outline couldn't be so clear. It will collide with solid and probably will disappear in some places. There is some kind of postrender with black lines.
AssiDragon
Posts: 158
Joined: Wed Apr 28, 2004 11:03 am
Location: Hungary
Contact:

Post by AssiDragon »

Looks pretty much like cellshading to me...
Staring through eyes of hate we kill
Are we controlled, or is our own will...?
(Edguy)
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

add a flag to say "draw edge lines too" its very easy in opengl and dx
The Robomaniac
Project Head / Lead Programmer
Centaur Force
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

Robomaniac: in this case all triangles will be outlines? Sorry, I need a whole face outline, not every triangle.
Post Reply