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 / 11265
11264  |  11266
Subject: 
Re: Lpub find edges
Newsgroups: 
lugnet.cad, lugnet.cad.dev
Date: 
Sat, 3 Apr 2004 19:20:09 GMT
Viewed: 
989 times
  
In lugnet.cad, Kevin L. Clague wrote:
   In lugnet.cad, Tim Courtney wrote:
   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.

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 as edge lines on parts. Was there ever any effort made on this?

I guess LPub could try to calculate good values for line width..... given a camera distance and an image resolution, LPub could render a 2x4 brick and measure the bounding box. The dimensions of the box could be used to figure out how thick the line should be. I have no idea how I would calculate the other parameters.

Feedback?

  
-Tim

Kevin

Cylinders would not resolve every edge lines, at curved surfaces that would be a problem. There are comercial renderes that do that line and flat surface stuff. They are used a lot to blend 3D CG with cell animation drawings. I have not attended Siggraph for some time, but there were several papers on non-photoreallisc rendering.

Paulo



Message is in Reply To:
  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 (...) (20 years ago, 3-Apr-04, to lugnet.cad, lugnet.cad.dev, FTX)

8 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