To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 11260
11259  |  11261
Subject: 
Re: Lpub find edges
Newsgroups: 
lugnet.cad
Date: 
Sat, 3 Apr 2004 00:22:42 GMT
Viewed: 
975 times
  
In lugnet.cad, Ahui Herrera wrote:
   In lugnet.cad, Paulo Caparica Junior wrote:
   I am not getting lpub to generate nice edges. At this picture the windscreen is a blob with edges only around it:

http://www.brickshelf.com/gallery/caparica/Town/Truck/ib200p16a006ci.jpg

And the wheel hubs have a series of ugly black dots:

http://www.brickshelf.com/gallery/caparica/Town/Truck/ib200p16a007ci.jpg

Does anyone know the right parameters to get well defined edges?

Paulo

Paulo, the “right parameters” depends on what size resolution you are creating your BIs.

I use a 1600x1200 image resolution for me BIs and then shrink them to whatever I need.

Based on a 1600x1200 res, I have found that these parameters work good.

2, //depth difference required for line

0.35, //angle difference required for line

0.2, //color difference required for line

1.2, // 2.0 default line width

You should note that the value for the line width is relative to the resolution of the image, not relative to the size of the object being rendered. So, if you render a brick that takes up almost all of the space in your image, your line will appear thin relative to the brick, where if you have a rendering of a brick that is very far from the camera, the line will appear thick relative to the brick.

-Tim



Message has 1 Reply:
  Re: Lpub find edges
 
(...) This is so very true, and troublesome. POV-Ray does not support the concept of a line in 3D space, so L3P cannot directly translate LDraw lines to POV-Ray entities. Lars, at one point we talked about the possibility of having L3P use cylinders (...) (21 years ago, 3-Apr-04, to lugnet.cad, lugnet.cad.dev, FTX)

Message is in Reply To:
  Re: Lpub find edges
 
(...) Paulo, the "right parameters" depends on what size resolution you are creating your BIs. I use a 1600x1200 image resolution for me BIs and then shrink them to whatever I need. Based on a 1600x1200 res, I have found that these parameters work (...) (21 years ago, 3-Apr-04, to lugnet.cad, FTX)

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