Previous Thread  Next Thread

chat icon Better Edge Draw?

Riskbreaker

Posted: Mon Oct 20, 2003 11:19 am
Joined: 17 Oct 2002
Posts: 38
I dont know if its in the works already, but since we have a cool toon shader, would it be feasable to be able to get a better edge draw in Blender? Also with different stroke brushes (edge line type).

I would imagine something like maybe a per material basis with edge buttons on/off toggle and/or in render buttons. The current edge draw is okay, but not good enough. Maybe a stroke width definer (weight)?

The per material basis could be a good option because you could have different thickness for a lot of edges in a render. The edge (extra options plus existing ones) draw in render buttons could also be useful as to applying a brush to all the edge strokes in a render pass.

Anyways Im getting too far ahead of myself. Is this idea do-able?
Im not a programmer so i dont know. But I do know Blender needs a better edge drawer. I realise this may not be top priority stuff, but has anyone thought about it?
Reply with quote


cessen

Posted: Wed Oct 22, 2003 5:41 pm
Joined: 15 Oct 2002
Posts: 154
First of all, the toon shader is *not* cool. In fact, it's downright primitive. The cool rendering people are getting with it amaze me, because the shader is very limited. I should know: I wrote it!

Secondly, for my thoughts on the edge rendering system, go here: http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=2283
Reply with quote


stiv

Posted: Wed Oct 22, 2003 7:44 pm
Joined: 05 Aug 2003
Posts: 3491
Gee, cessen, I'd say your ability to write shaders is much greater than your ability to recognize coolness. Of course, no matter how cool the tool, the talent comes from the artist.

At SIGGRAPH last year, someone presented a paper on producing 'sketchy' renderings. The output had a very nice hand drawn cartoon look to it.

Their approach basically was to render a depth map of the model ( aka the z-buffer ) and then run a standard image processing edge detection kernel over it. This gave nice fat lines for the edges of objects and lighter, thinner lines for the 'creases'. The output of the edge detector was then composited over the flat shaded image to show off the edges.
Reply with quote


Riskbreaker

Posted: Thu Oct 23, 2003 5:19 am
Joined: 17 Oct 2002
Posts: 38
Quote:
First of all, the toon shader is *not* cool. In fact, it's downright primitive. The cool rendering people are getting with it amaze me, because the shader is very limited. I should know: I wrote it!

Secondly, for my thoughts on the edge rendering system, go here: http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=2283


Well, you know what they say, "You are your own worst critic". Wink

But yes, primitive as it is, i think its still pretty good. Considering it was something we got for free. Thanks for giving a reply though, i appreciate a response from the writer of the shader.

Wow, didnt know the edge code was that much trouble. Well, like i said, its not a priority. At least its been thought about.
Reply with quote


Smerity

Posted: Thu Oct 23, 2003 10:18 am
Joined: 19 Mar 2003
Posts: 11
I don't know if this thread is stale, but I may as well post just for newbies browsing...

Over at the Elysiun.com forums, a project called "SLiM" has been posted. It creates the affect you seem to want, and is a Python script, which may be a positive or a negative for you Very Happy It currently animation in Alpha 3B.


http://www.elysiun.com/forum/viewtopic.php?t=14581

Hope this helps Smile [/i]
Reply with quote


macouno

Posted: Sun Dec 14, 2003 4:58 pm
Joined: 18 Nov 2003
Posts: 255
Thx for that link but that script is python and works though not that well.

It's a neat thing but wholly impractical.

I was just in the elysiun.com forums and more and more people are using the toon shader. And cessen... it is cool and toon shading doesn't need to be complex, I even completely switch off the spec for "realistic" toon feel.

It does seem like it's time for more edge fucntionality. I had a look at the source code and can't make heads or tales of it. But then I have like zero experience in C++... I just know a little php... But the fact that I actually downloaded the source and had a looksee myself shows you how important I think this neglected function is.

Of course I'm interested in it only now cause I am working with it myself. But it really does need some improving. It has a few more functions for the unified renderer, but appears rather unstable when used.

Cessen??? Can't we tempt you to give it a go???
Reply with quote


Monkeyboi

Posted: Mon Dec 15, 2003 8:37 pm
Joined: 26 Nov 2002
Posts: 543
Quote:
First of all, the toon shader is *not* cool. In fact, it's downright primitive. The cool rendering people are getting with it amaze me, because the shader is very limited. I should know: I wrote it!

Secondly, for my thoughts on the edge rendering system, go here: http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=2283


The toon shading IS cool. It may have been easy to code for you, but useful and cool it is. I agree the edgedraw feature doesn't quite live up to the toon shading standards.

Maybe you could use your excelent skills to improve the edge drawing? You clearly have knowledge about this. Smile
_________________
Website: http://www.shadeless.dk
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group