![]() ![]() I am still looking at this problem and how to improve the outline effect either using another technique or improving the current one The strange behaviors spotted by are caused by a combination of these limitations. Secondly regarding mesh resolution, the vertex are displaced with a biased method, so if the vertex are not always close to the where the outline should be displayed, the space between the root geometry and the hull can vary and make the outline thinner or even not visible. ![]() it works very well on outer lines and some inner lines, but some are not due to the initial geometry topology and the geometry resolution.įirst the topology, concave area will not generate outline even with sharp angles (big normal vector changes), think about a slightly conic glass seen from the top, the outer rim will be displayed but the inner one not, because the hull of the inner part of the glass will always show the front faces which are invisible. Indeed this technique is able to draw some inner lines, but as spotted by some of them are not fully drawn because the lines are made visible due to the hull mesh facing their back face to the camera, in my implementation, the technique is enhanced by generating the hull with a scaling along the normal but only in the camera xy plan to control more precisely the thickness of the outline.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |