| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) By sort first I mean I would find which vector is most-orthogonal (ie. the one whose dot protucts were smallest compared to the other two) and leave it be, then I'd perpendicularise the one whose dot-product was smallest with the first one and (...) (19 years ago, 6-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) I'm not sure what you mean by "sort first". However, I do what you say, and make the right and up perpendicular, then use the cross product to determine the direction. POV-Ray is only pedantic when the "vista buffer" is enabled (which is true (...) (19 years ago, 6-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) None handy but all I'd do is sort first and then perpendicularise one and use the cross-product for the third. Probably what you do anyway. To be honest I don't see why POVray is being so pedantic about it. It's only going to be accurate (...) (19 years ago, 6-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) Thanks for the offer. It sounds like I can make use of parameters that Lars has already implemented if I just change my outputs slightly, so I think I'll go that route. If you've already got the code or pseudo-code lying around, I'd like to (...) (19 years ago, 6-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) I can do that. Unless I'm badly mistaken, my existing up will work fine as a sky vector. (...) Reading between the lines of the descriptions of the various camera settings, it really looks like POV-Ray automatically generates direction, up, (...) (19 years ago, 6-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) Well, yes, but could you try generating these parameters in stead: location sky look_at angle These should be adequate to fully describe the camera. ldglite uses them (URL) I have already made a -csky option. My impression has always been that (...) (19 years ago, 6-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) Travis, You could orthogonalise the matrix before writing it out. It's relatively easy to make a routine that will find a 'best' rotation matrix that is perpendicular and very close to the original. That way you don't have to deal with the up, (...) (19 years ago, 6-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) I did some investigation (read: experimentation), and came to the conclusion that I'm not going to be able to produce a camera matrix that POV will accept. The problem is that I use floats in my matrix, and they're not accurate enough to (...) (19 years ago, 6-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) I forgot the URL: (URL) (19 years ago, 4-Dec-05, to lugnet.cad.ray)
|
|
| | Re: Is it possible to use LDView as POV-Ray previewer?
|
|
(...) One quick note. LDGLite seem to support L3P scene previewing. I've never used it so I cant give any advice one way or the other. -Orion (19 years ago, 4-Dec-05, to lugnet.cad.ray)
|