To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 7125
7124  |  7126
Subject: 
Re: Why Type 5 Lines?
Newsgroups: 
lugnet.cad.dev
Date: 
Wed, 17 Apr 2002 23:46:11 GMT
Viewed: 
453 times
  
In lugnet.cad.dev, Kyle McDonald writes:
Well, I believe that there is something called a 'Z offset' that can
be used not to actually move the geometry, but to make sure the lines
appear 'on top' of the faces.

OpenGL has glPolygonOffset, which does what you describe by allowing you to
move the polygons further away in the Z direction, where the amount they
move can depend on the slope of the polygon in the Z direction.  This works
great, and I use it in LDView when type 2 lines are enabled.

I think based on your comments further down that Java3D is actually doing
something relatively complicated, though.  I don't think there are any
features of OpenGL that give you outlines nearly for free.  I'll look back
at the wireframe mode setup again, though.

--Travis Cobbs (tcobbs@REMOVE.halibut.com)



Message is in Reply To:
  Re: Why Type 5 Lines?
 
(...) Well, I believe that there is something called a 'Z offset' that can be used not to actually move the geometry, but to make sure the lines appear 'on top' of the faces. Before I go more into this I need to back up a bit. I currently use the (...) (23 years ago, 17-Apr-02, to lugnet.cad.dev)

21 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR