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 / 2503
2502  |  2504
Subject: 
Re: Is it possible to use LDView as POV-Ray previewer?
Newsgroups: 
lugnet.cad.ray
Date: 
Tue, 6 Dec 2005 17:46:00 GMT
Viewed: 
7881 times
  
In lugnet.cad.ray, Travis Cobbs wrote:
In lugnet.cad.ray, Timothy Gould wrote:
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,
right etc.

I can write you a C routine to do so if you like, or send you some pseudo-code.

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 take a look at it, though.  I'm guessing it's more accurate than my
arbitrary tweaking of my vectors to make them perpendicular.

--Travis

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 matter to about 1/2000 unless you raytrace massive images.

Tim



Message has 1 Reply:
  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)

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

17 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