Horde3D
http://horde3d.org/forums/

edge shading
http://horde3d.org/forums/viewtopic.php?f=7&t=301
Page 1 of 1

Author:  maninalift [ 23.04.2008, 16:15 ]
Post subject:  edge shading

Edges seem to be the neglected geometry in modern graphics. I will be walking along with the fantastic illusion of depth and texture provided by normal-mapped-depth-mapped-parallax-occlusion-dynamically-shadowed-specular-mapped surface only for it to end with an abrupt straight line which makes it feel like a cardboard-cutout.

I have been thinking about how one can play with the edges of triangles while having the minimum impact on the standard pipeline. I want to make triangles not quite triangular without having a disproportionate impact on, for example, occlusion culling.

Possible applications:
(> edge textures
(> procedural edges
(> allowing parallax-mapped bumps to stick-out (or in) at the edges

Anyone have any ideas? Discuss.

Author:  AcidFaucet [ 23.04.2008, 17:37 ]
Post subject:  Re: edge shading

They're not entirely neglected. Its just an issue of what's of greater worth. Geometry shaders in DX and the relevant OGL extensions make it easier to make fins. GPU Gems 3, "Next Generation Speedtree Rendering" has a chunk devoted to using fins and displacement maps to add irregular silhouettes to their trees. Probably would be a good article to dig up.

Discarding the fragment could "cut" into geometry without using fins though. I suppose something like a grayscale SSS density map could be used to represent the frequency at which a pixel will be cut as the dot-product of a normal map (post adjustment against the surface the normal) and the view vector approaches 1.0f. The geometry of the object would be an issue though, don't want to cut holes into the center of it because something is sticking out there.

This can also give you some ideas:
http://citeseer.ist.psu.edu/menezesdeoliveiranet00relief.html

Author:  maninalift [ 23.04.2008, 18:07 ]
Post subject:  Re: edge shading

Thanks, I'll look at both of those.

Author:  AcidFaucet [ 27.04.2008, 17:18 ]
Post subject:  Re: edge shading

Whoops, that should be as the dot product approaches 0.0f and not 1.0f (that would be head-on).

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/