Better Edge Draw?

Blender's renderer and external renderer export

Moderators: jesterKing, stiv

Riskbreaker
Posts: 41
Joined: Thu Oct 17, 2002 6:38 pm

Better Edge Draw?

Postby Riskbreaker » Mon Oct 20, 2003 12:19 pm

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?

cessen
Posts: 156
Joined: Tue Oct 15, 2002 11:43 pm

Postby cessen » Wed Oct 22, 2003 6:41 pm

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

stiv
Posts: 3646
Joined: Tue Aug 05, 2003 7:58 am
Location: 45N 86W

Postby stiv » Wed Oct 22, 2003 8:44 pm

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.

Riskbreaker
Posts: 41
Joined: Thu Oct 17, 2002 6:38 pm

Postby Riskbreaker » Thu Oct 23, 2003 6:19 am

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=m ... pic&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.

Smerity
Posts: 11
Joined: Wed Mar 19, 2003 10:48 am

Hey Riskbreaker

Postby Smerity » Thu Oct 23, 2003 11:18 am

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 :D It currently animation in Alpha 3B.

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

Hope this helps :) [/i]

macouno
Posts: 257
Joined: Tue Nov 18, 2003 3:37 am

Postby macouno » Sun Dec 14, 2003 4:58 pm

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???

Monkeyboi
Posts: 561
Joined: Tue Nov 26, 2002 1:24 pm
Location: Copenhagen, Denmark
Contact:

Postby Monkeyboi » Mon Dec 15, 2003 8:37 pm

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=m ... pic&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. :)


Return to “Rendering”

Who is online

Users browsing this forum: No registered users and 0 guests