| | Re: The use of type 5 lines for smoothing of objects.
|
|
(...) Just out of curiosity, where is the light source in your demo program? The specular seems to be showing up at really odd times. I can't tell if the surface normals are pointed in the wrong direction or if the light is an unusual place, though. (...) (23 years ago, 14-May-02, to lugnet.cad.dev)
|
|
| | Re: The use of type 5 lines for smoothing of objects.
|
|
You were right about the strange reflections. By accident I had put my light source behind the scene and had the facing flipped. Now I have put a directional light straight at the scene with 'non viewer dependant' specular highlighting. This looks (...) (23 years ago, 16-May-02, to lugnet.cad.dev)
|
|
| | Re: The use of type 5 lines for smoothing of objects.
|
|
(...) OK, the lighting is definitely much less confusing now, and it's much easier to do the rotations. About the spheres not joining properly: are you applying the surface normal averaging at the dat file level, or at the part level? If you're (...) (23 years ago, 17-May-02, to lugnet.cad.dev)
|
|
| | Re: The use of type 5 lines for smoothing of objects.
|
|
(...) normal (...) the (...) I somewhat disagree with that. I do averaging at Dat file level and you can see that it works for cylinders. There should be no difference between connections of cylinder segments and sphere segments. If you inspect the (...) (23 years ago, 17-May-02, to lugnet.cad.dev)
|
|
| | Re: The use of type 5 lines for smoothing of objects.
|
|
(...) I guess I misunderstood your normal calculation. I thought you were basing it on the normals of the the faces, not the normals formed by the type 5 lines and their control points. Using the control points makes sense, except for one problem. (...) (23 years ago, 17-May-02, to lugnet.cad.dev)
|