Subject:
|
Re: Is it possible to use LDView as POV-Ray previewer?
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Sun, 4 Dec 2005 06:50:14 GMT
|
Viewed:
|
7999 times
|
| |
| |
In lugnet.cad.ray, Robert Seifert wrote:
|
Thanks to both of you. Just for me, I would be completely satisfied if LDView
shows (and exports to clipboard) full 4*4 trafo matrix instead of 3*3 matrix
as it does in current version. Then I am able to derive .pov trafo matrix by
myself. Small change (probably just changing corresponding indexes in export
and import routine) would make it. Moreover youll get better results when
using command line. Currently LDviews menu item View/Show View Info shows
(and exports) only 3*3 rotation matrix, and thats not enough.
|
As it happens, the 3x3 matrix that LDView gives you when you do View->Show View
Info isnt the camera matrix. Its the rotation matrix applied to the model
around the models centroid. Having said that, I can derive a camera matrix
based on the models rotation matrix, the models centroid, the cameras
position, and the cameras actual rotation matrix. (Unless you go into
fly-through mode, the cameras rotation matrix is always an identity matrix, but
Ill certainly include that so that it will be correct if you do go into
fly-through mode.) Then I need to apply the coordinate system handedness
conversion in order to make it useful in POV-Ray, since LDraw uses a
right-handed coordinate system.
--Travis
|
|
Message is in Reply To:
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
| Thanks to both of you. Just for me, I would be completely satisfied if LDView shows (and exports to clipboard) full 4*4 trafo matrix instead of 3*3 matrix as it does in current version. Then I am able to derive .pov trafo matrix by myself. Small (...) (19 years ago, 4-Dec-05, to lugnet.cad.ray, FTX)
|
17 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|