Subject:
|
Re: Fun with LDView Fly Through (A Minifig's Eye View)
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Mon, 19 Mar 2007 22:49:07 GMT
|
Viewed:
|
7580 times
|
| |
| |
In lugnet.cad.ray, Jim DeVona wrote:
|
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 shouldnt 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 dont involve reflection or refraction. Im not sure if
this is a Mac-specific bug, or if you did something that I havent done in
my testing on Windows.
|
Youre right - it does work. I retried it with L3P output and the view is
positioned correctly. My previous effort used POV-Ray code from Antons
converter. Thats not necessarily the reason it didnt work before, though:
it was late and I was tired. At any rate, LDView is certainly exonerated
(not that it was accused).
|
I think Antons library isnt in LDraw units. Since the camera placement is
in LDraw units, it wont work right. If you know the conversion factor, you
can probably multiply the camera location by that and have it work.
|
Ah, thats a logical explanation. I just looked in the manual.txt that came
with Antons 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 havent tried it). I hate to provoke feature creep, but
maybe LDView could select which units to output the camera in?
Jim
|
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
measuring every single brick.
Greetz,
Anton
|
|
Message has 1 Reply: | | Re: Fun with LDView Fly Through (A Minifig's Eye View)
|
| (...) Hi, Anton! Thanks for the explanation. That is a straightforward conversion. I divided LDView's reported camera location and lookat coordinates by 2.5, reversed the sign of the y coordinates, used the default right vector (positive x), and it (...) (18 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)
|
| (...) 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 (URL) LDraw unit> is equal to 0.4 mm, then the conversion probably is (...) (18 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
|
|
|
|