| | Re: Is it possible to use LDView as POV-Ray previewer? Timothy Gould
|
| | (...) 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? Travis Cobbs
|
| | | | (...) 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? Timothy Gould
|
| | | | (...) 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? Travis Cobbs
|
| | | | (...) 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? Timothy Gould
|
| | | | (...) 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)
|
| | | | |