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 / 2752
2751  |  2753
Subject: 
Re: Fun with LDView Fly Through (A Minifig's Eye View)
Newsgroups: 
lugnet.cad.ray
Date: 
Tue, 20 Mar 2007 00:16:41 GMT
Viewed: 
7497 times
  
In lugnet.cad.ray, Anton Raves wrote:

  
  
   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?

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 measuring every single brick.

Hi, Anton! Thanks for the explanation. That is a straightforward conversion. I divided LDView’s reported camera location and look_at coordinates by 2.5, reversed the sign of the y coordinates, used the default right vector (positive x), and it came out right:

hurray

Relatively speaking, of course. The scene itself needs work.

I am pleased to discover your library and how to use it, thanks in large part to James Reynolds’ recent video.

Thanks,

Jim



Message has 1 Reply:
  Re: Fun with LDView Fly Through (A Minifig's Eye View)
 
(...) Jim, You're welcome! What you could do with the scene is put a hundreds of thousands unit tall white box (not an infinitive plane, they'll add up to your rendering times!) behind the camera, it'll give you some indirectional lighting like I (...) (17 years ago, 20-Mar-07, to lugnet.cad.ray, FTX)

Message is in Reply To:
  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)

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