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 / 1935
1934  |  1936
Subject: 
Re: fixes??
Newsgroups: 
lugnet.cad.dev
Date: 
Tue, 1 Jun 1999 15:04:19 GMT
Viewed: 
767 times
  
On Sun, 30 May 1999 16:19:25 GMT, Mookie <Mookie@execpc.com> wrote:

Ok, I checked this a little better now, it's only in LDLite that I'm
missing lines on the studs.. Ldraw a little, though the part that's
missing in ldraw is opposite, so I'm guessing it's more the renderer
like you mentioned.  is there something we can do with ldlite to get it
to draw the lines a little better? Or should I just "deal" with it? :)

The problem is the primitive stud*.dat files are specifying two different
colors for the same voxel (3D pixel)--the voxels are the edges are being
filled with both the edge color and the surface color.  So the renderer has
to 'decide' which color to use.

Without making drastic changes in the LDraw language, there's not much that
can be done.  If the edges are 'cheated' (moved slightly above the surface
so they will alway be drawn), they will appear to float above the surface
at high resolutions.

Steve



Message has 1 Reply:
  Re: fixes??
 
(...) You don't need to change anything in the LDraw language, you can use something called "Polygon Offset" (those who have used OpenGL will know what I mean), it moves the lines a little bit to the front when checking the Z-buffer. You'd just need (...) (25 years ago, 2-Jun-99, to lugnet.cad.dev)

Message is in Reply To:
  Re: fixes??
 
(...) Ok, I checked this a little better now, it's only in LDLite that I'm missing lines on the studs.. Ldraw a little, though the part that's missing in ldraw is opposite, so I'm guessing it's more the renderer like you mentioned. is there (...) (25 years ago, 30-May-99, to lugnet.cad.dev)

10 Messages in This Thread:


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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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