Shade Lines


Hello, gentlemen

We are investigating “Shade Lines”, and, be honest, we don’t understand how it works. In any case we can’t achieve what we need/want: shade them as thin accurate cylinders. What is your experience here ?


Hello Igors,

I guess that “shade lines” uses some hybrid technique of shading a solid object an masks it with the line renders. Lines however have no thickness, so you need to define a size in pixels rathrer than world units. Close lines have the same thickness as far away lines. It would be desirable to shade them like cylinders though…



What Jens said.

Could be tricky with ray-tracing math though. This is why Joe Alter uses Volumetric Rendering to do hair besides the fact that storing the data for millions of hairs isn’t practical.


We don’t relate this with hairs (yet). But just interested in good lines.

  • “Shade Lines” has no effect if lines has no vertices normals (as, BTW, Ubershape creates);

  • if normals are here, “Shade Lines” uses them same as for normal geometry. So, wireframe = thin flat ribbons sticked to original surface

Hmmm… we don’t like that. Thinking…


Ah, but which way do you point the normal?
(And what is the sound of one hand clapping?)

If they are to be treated like cylinders then they have an infinite number of normals. You couldn’t simply aim the normal at the camera because they’d never have any fall off.

But I’m much more concerned with memory consumption. One line consumes a minimum of 56 bytes (24 doubles and 2 longs). 1 Meg is about 17k lines roughly.


Theoretically lines’ normals should be inherited from surface (as wireframe does). But it’s just “better than nothing”

Alas, practically it takes in 2-3 times more bytes. But in any case hairs render is not for standard phong.


Aha, clear now (2 wireframe baskets are attached :slight_smile: )


Wow. Now THAT is cool! How did you do this?



new shader (freebie :sad: )


new shader (freebe :smiley: )



Superlines will be posted on Paralumino’s website soon. Keep checking in.


Hey Igors as you seem to investigate EIAS world go to that link:

I’m sure you will find interesting informations to develop new tools for EIAS.

Glad to see you work hard for us.


Hi, Stephane

Thx, but for us a good idea never comes from “a cool link”, but from real practice and from relations with people. Well, same SuperLines for example. During writing a new tool (based on ideas of heretic Uwe) we’ve noticed that output shading is very poor. We tried to learn, investiagate etc.

So, instead of referring to pixar, tell us your understanding/viewing of things/problems, and, maybe, something interested and usable can be implemented (chances are not very high though :slight_smile: )


so, igors, do you care to tell us which of my heretic ideas catched your interest? :slight_smile:
(i just hope the inquisition will never knock on my door)

btw, superlines looks really nice and cool. nice addition to trestle.


Hi, Uwe

You’ll see yourself (we plan to send you beta next week)


Come one come all… Parlumino’s Superlines shader has posted. Let us know what you think.


Must be a very thin line… Can’t find it.
I believe waiting til tomorrow will do the trick.


Its on the site Richard… check the left hand side bar… click on Superlines.


Got it! Guess I was too eager and tryed to get it before the site was updated.
By the way, congratulation to Eric for the new site design. I really dig it!
…I even play with that swoosh logo just to ear the wive say “what was that?”


This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.