PDA

View Full Version : DP Edge node Issues.


madmikethespoon
11-16-2010, 02:41 PM
First I would like to thank DP for all his hard work, Your editions to lightwave are life saver. with that said, I was hoping to get some help. I'm trying out your edge node to create a weathered metal texture. Im using the node to figure out where the edges are and applying that to two different color maps.

I have attached a photo of it working the way i want it to. Unfortunately it seems to randomly not work. the second images shows two objects with the same texture applied. one the edge node is working the other its not. i have tried this with multi threading on and off, and in both 64 bit and 32 bit. none of which change anything.

Any help is greatly appreciated.

dpont
11-16-2010, 03:40 PM
A basic line edge color effect could
help also to show where it works or not,
the angle limit has different results with different meshes.

This shader is geometry based,
and the preprocess has its limits,
but the final image doesn't inform about
the geometry..

..Or post your content.

Denis.

madmikethespoon
11-16-2010, 04:20 PM
this should tell you just about everything about the scene. i have the minimal angle set to 10 degrees, edge normal to round, edge reference to relative and smooth corners turned on. I have also attached the scene it self, maybe you can try it and see if its doing the same thing. i have tried this with other scenes and new objects, almost all of them dont work at all or have even strangers results.

adk
11-16-2010, 08:41 PM
Simple ... because you have 2 discrete objects you need to rename the surface of the disc to something other than "new" ... or place both objects in the same layer & you can keep the one surface "new" across both.


To my non-technical brain, I think that the edge shader is evaluating normals on surfaces across discrete objects rather than across discrete objects with specific surfaces. When you ask it to evaluate a surface but effectively have that object in multiple layers there's no continuity to the mesh normals, and no continuity = confusion.

madmikethespoon
11-17-2010, 08:14 AM
Awesome! works perfect. Thanks for both of you guys help.

Hieron
11-18-2010, 02:57 PM
glad it got fixed, nice use of the edgeshader too, looks good.