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 / 2750
2749  |  2751
Subject: 
Re: Fun with LDView Fly Through (A Minifig's Eye View)
Newsgroups: 
lugnet.cad.ray
Date: 
Mon, 19 Mar 2007 19:57:08 GMT
Viewed: 
7233 times
  
In lugnet.cad.ray, Travis Cobbs wrote:
   (Moved to lugnet.cad.ray.)

In lugnet.cad, Jim DeVona wrote:
   In lugnet.cad, Travis Cobbs wrote:
   The aspect ratio shouldn’t make enough of a difference to put the camera out of the ship. It should only change the cropping. If you have the same aspect ratio, you should should get nearly pixel-perfect alignment of all polygons that don’t involve reflection or refraction. I’m not sure if this is a Mac-specific bug, or if you did something that I haven’t done in my testing on Windows.

You’re right - it does work. I retried it with L3P output and the view is positioned correctly. My previous effort used POV-Ray code from Anton’s converter. That’s not necessarily the reason it didn’t work before, though: it was late and I was tired. At any rate, LDView is certainly exonerated (not that it was accused).


I think Anton’s library isn’t in LDraw units. Since the camera placement is in LDraw units, it won’t work right. If you know the conversion factor, you can probably multiply the camera location by that and have it work.

Ah, that’s a logical explanation. I just looked in the manual.txt that came with Anton’s part library and it does state that it considers a POV-Ray unit 1 millimeter. If one LDraw unit is equal to 0.4 mm, then the conversion probably is straightforward (I haven’t tried it). I hate to provoke feature creep, but maybe LDView could select which units to output the camera in?

Jim



Message has 1 Reply:
  Re: Fun with LDView Fly Through (A Minifig's Eye View)
 
(...) Jim, In the Converter I divide every coordinate the LDraw model has by 2.5 and then I end up with the millimeter system I digitized everything with. I have (since I started to build my Library starting in 1992) always used millimeters when (...) (17 years ago, 19-Mar-07, to lugnet.cad.ray, FTX)

Message is in Reply To:
  Re: Fun with LDView Fly Through (A Minifig's Eye View)
 
(Moved to lugnet.cad.ray.) (...) I think Anton's library isn't in LDraw units. Since the camera placement is in LDraw units, it won't work right. If you know the conversion factor, you can probably multiply the camera location by that and have it (...) (17 years ago, 19-Mar-07, to lugnet.cad.ray, FTX)

13 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