3D text outlines

hey,

i have an extruded text (ex9.geometry) and would like to render only the outlines (not wireframe though). i didn’t find a shader for this…
how would i go about doing this?

i think Cel Shading would be a keyword. don’t know if there’s anything already for vvvv, maybe you have to write a shader yourself.

thx bilderbuchi, definitely inspiring!

Wikipedia has some links which seem to be interesting:
*http://www.celshader.com/FAQ.html (also http://www.celshader.com/links.html)
*http://www.gamedev.net/reference/articles/article1438.asp
*http://www.celshading.com/

i found some outline shaders on the NVIDIA Shader Library, but i can’t get them to work. All I have to do is put the shader and the patch in the same folder and copy the .fx into vvvv right?
well, i connect the shader, but it doesn’t change the look of the text, instead it duplicates and translates it…

do i have to make certain adjustments to the .fx to work with vvvv?

it’s probably because vvvv doesn’t find the cgfx or texture files that are in the shader subfolders… how do i fix that?

All I have to do is put the shader and the patch in the same folder and copy the .fx into vvvv right?

ah, that would be fine… i spent some nights adapting shaders. but this has a good learning effect.

it’s probably because vvvv doesn’t find the cgfx or texture files that are in the shader subfolders… how do i fix that?

a good idea would have been attaching that .fx here. i don’t know any universal methods to do this; allways depends on that shader. for sure you have to connect FileTexture(s) to let vvvv access the texture(s).


in this case i was somehow inspired and had to make that shader from scratch. fine with Utah Teapot but sadly not perfect with Text

see attached…

Cel.zip (63.1 kB)

kalle: That’s some hot looking comments/formatting you got in your shader!

:)

thank you!
i wanted to achieve feedback exactly like yours…
;)


just for my curiosity:
did the comments or the formatting help you to understand?

i always question myself if i perhaps am far to far into it to be able to comment the really essential things?!?


for me myself and my own understanding a proper alignment/formatting is really helpful.
opinions please…

thanks for the shader, was looking for something like that myself.

the formatting of the shader is helpful - more so since i still have trouble in understanding hlsl. but the main changes needed for vvvv-implementation are quite clear. thanks kalle!

kalle: The formatting is helpful but personally I prefer a different indentation style and also think it works better if the horizontal separators start directly after the // without leading spaces. I think the semantics part is a bit messy when viewed in vvvv due to the lack of syntax highlighting.

Most importantly you gave me some good ideas for working out my own commenting style to increase readability.