News:

Come Chat with us live! Learn how HERE!

Main Menu

Outlines on Models

Started by Gireen, December 05, 2011, 05:34:32 PM

Gireen

How can i get outlines on Player Models?
Is this with shaders possible?

hermxiv

Now why would you want that?

/dev/humancontroller

Quote from: Gireen on December 05, 2011, 05:34:32 PM
How can i get outlines on Player Models?
Is this with shaders possible?
you won't go far with Q3 shaders.
you can draw, along with the original model, a "slightly thickened" copy of the model in which only the inner faces have coloring/texturing.

Gireen

I found this small tutorial http://cokane.com/lines_tutorial.html this seems to be the way u describe?
It's similar to the method how the helmet is added on the human head?
If I make it so i dont need to write any shader file?
How will the performance be wenn i do this with every Model?


@hermxiv
I try to create a simple cel Shading mod. I saw the cel shading in Tremfusion and think with special textures and better Outlines this coud looks good. :)

/dev/humancontroller

Quote from: Gireen on December 06, 2011, 06:51:07 PM
I found this small tutorial http://cokane.com/lines_tutorial.html this seems to be the way u describe?
yes, it is.
Quote from: Gireen on December 06, 2011, 06:51:07 PM
It's similar to the method how the helmet is added on the human head?
wtfbbq? no, the helmetless-head and head-with-helmet models have no such relation to eachother.
Quote from: Gireen on December 06, 2011, 06:51:07 PM
If I make it so i dont need to write any shader file?
if you only want to add outlines, then all you need to use is 1 small shader for a monotonic (black) color.
Quote from: Gireen on December 06, 2011, 06:51:07 PM
How will the performance be wenn i do this with every Model?
i suspect that there will only be a minor performance degradation.

cron

Quote from: Gireen on December 06, 2011, 06:51:07 PM
It's similar to the method how the helmet is added on the human head?

Quote from: /dev/humancontroller on December 06, 2011, 09:45:01 PM
wtfbbq? no, the helmetless-head and head-with-helmet models have no such relation to eachother.

Actually, the naked and helmeted head are the same model (head.md3), with the naked head mesh named h_head_base and the helmet named h_head_helmet. Attached is a screenshot from Blender showing how I did my 'Lego' helmet:






Tr3m

Quote from: cron on December 08, 2011, 07:31:00 AM
Quote from: Gireen on December 06, 2011, 06:51:07 PM
It's similar to the method how the helmet is added on the human head?

Quote from: /dev/humancontroller on December 06, 2011, 09:45:01 PM
wtfbbq? no, the helmetless-head and head-with-helmet models have no such relation to eachother.

Actually, the naked and helmeted head are the same model (head.md3), with the naked head mesh named h_head_base and the helmet named h_head_helmet. Attached is a screenshot from Blender showing how I did my 'Lego' helmet:

good to know