News:

Building a 3D Ray Tracer  By stevmjon

Main Menu

Polygon to Polygon Clipping (wire frame occulsion)

Started by kevin, June 24, 2013, 06:37:20 AM

Previous topic - Next topic

kevin


  Polygon to Polygon Clipping (wire frame occlusion)

       This is a bit of test of the theory outlined here (login required),  where the problem is to remove any occluded line fragments or complete triangles from the set.  So object appears filled, without resorting to filling the space with some black out colour.   Since normally in wire frame we can see through an object.

        Bellow we have the same scene view in two different ways.  The first picture we're looking at all the triangles drawn from back to front, as expected we can see through them.   The second shot the scene is clipped then drawn.  The order post clipping doesn't matter at least in this example.     What you get is scene where the mind can interpret scene sort better.   One of the nasty things that occurs in wire frame is optical illusions, where the mind sees a coordinate as foreground when it's really background.. 


stevmjon

It's easy to start a program, but harder to finish it...

I think that means i am getting old and get side tracked too easy.