To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 1581
1580  |  1582
Subject: 
Re: Outlined part edges in L3P?
Newsgroups: 
lugnet.cad.ray, lugnet.inst
Date: 
Mon, 23 Dec 2002 12:22:52 GMT
Viewed: 
2072 times
  
I realized that this suggestion might work fine for rectangular parts, but
cylindrical parts won't have edge lines along the cylinder walls, right?

Kevin

In lugnet.cad.ray, Lars C. Hassing writes:
In lugnet.cad, Kevin Clague writes:
Hi Lars,
  I was wondering if you had ever considered adding a feature to L3P to
provide the lines at edges of bricks, so that we don't have to use MEGAPOV
to do so?  The advantages are that we would not have to play with MEGAPOV
settings to get them just right, depending on the resolution of the model.
MEGAPOV is not perfect in its edge detection mechanism, and we wouldn't have
to wait for MEGAPOV to post process each image.

  Is there a way to do so?  It seems like it might fit nicely with the
"smooth triangle" algorithm you are developing this spring.

First, I don't think that it is related to the "smooth triangle" algorithm,
because this is independent of the scale of the triangles,
it only deals with their surface normals.

The basic problem is, that there is no such thing as a line in PovRay.
PovRay deals with 3D objects.
Well, a line could be rendered as e.g. a black cylinder.
But suppose that a 1x1 brick and a 2x2 brick both use box.dat.
If the lines in box.dat were converted to black cylinders,
these cylinders would appear twice as big in the 2x2 brick,
because it scales box.dat twice as much as the 1x1 brick does.

That could be overcome by "inlining" box.dat and all other subfiles,
but it would result in huge .pov files.
(which might be OK - probably the rendering time would remain the same)

Hm, I'll think I'll do some investigation/experiments.
It would also require a new way of doing primitive substitution
because the edge "lines" would have to be dynamic regarding the scale.

Another related item I have sometimes wondered about is how to make
rounded edges (in stead of black outlined edges), but that's more difficult,
because it would require the adjoining surfaces to be clipped.
/Lars



Message has 1 Reply:
  Re: Outlined part edges in L3P?
 
(...) All line type 2 (and some type 5) should be visible. Why not? Edge lines along primitives are harder but not impossible. /Lars (22 years ago, 23-Dec-02, to lugnet.cad.ray, lugnet.inst)

Message is in Reply To:
  Re: Outlined part edges in L3P?
 
(...) First, I don't think that it is related to the "smooth triangle" algorithm, because this is independent of the scale of the triangles, it only deals with their surface normals. The basic problem is, that there is no such thing as a line in (...) (22 years ago, 23-Dec-02, to lugnet.cad.ray, lugnet.inst)

8 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