|
 |
"Chris R" <car### [at] comcast net> wrote:
> I have created a new version that I am now using that checks for this
> possibility when computing the Right axis. If the Forward is co-linear with
> Sky, then the right vector can be any arbitrary vector that is perpendicular to
> the Sky vector, so I compute the transformation from the "y" vector <0,1,0>, to
> the given Sky vector, and apply the same transformation to the "x" vector
> <1,0,0> and use that as Right. Otherwise, I just use VPerp_To_Plane as before.
Very nice development work.
It's almost always fruitful to go digging around in these macros to understand
the basic principles, since it reveals what's going on in some of the more
"black box" macros of the include files, and highlights some of the assumptions
that are being made.
Thread
https://news.povray.org/povray.binaries.images/thread/%3Cweb.602dddf4e63e50ad87570eab0%40news.povray.org%3E/?mtop=43394
&moff=30
Post in thread
https://news.povray.org/povray.binaries.images/message/%3Cweb.65c027a941c066f01f9dae3025979125%40news.povray.org%3E/#%3
Cweb.65c027a941c066f01f9dae3025979125%40news.povray.org%3E
We could probably use a lot more digging and redesigning of macros to update our
collection - and possibly spot some holes where we need to write new ones.
Good work,
and keep doing what you're doing. :)
- BW
Post a reply to this message
|
 |