POV-Ray : Newsgroups : povray.general : Global handedness setting? : Re: Global handedness setting? Server Time
19 Apr 2024 04:09:22 EDT (-0400)
  Re: Global handedness setting?  
From: Mike Horvath
Date: 22 Sep 2018 06:30:17
Message: <5ba619b9$1@news.povray.org>
On 9/22/2018 2:41 AM, Thomas de Groot wrote:
> On 22-9-2018 7:41, Mike Horvath wrote:
>> Is there a way to change the handedness of a scene? I am doing a lot 
>> of astronomy calculations, and they are all right handed.
>>
>> If not, could such a setting be added to POV-Ray? Thanks.
>>
> 
> There are different types of 'handedness' depending on which way the 
> different axis point. For Moray, which had z up and x right, the 
> following transform was used:
> 
> transform {
>    scale <1, 1, -1>
>    rotate x*90
> }
> 
> Could be used from POV->Moray or from Moray->POV.
> 
> You may have to experiment because in some cases/applications the x or 
> the z axis can point the other way round. For instance, in Silo (which 
> is left-handed) the z axis points out of the screen. The same kind of 
> things may apply to right-handed applications I guess.
> 

The problem is that I'd have to do this *each time* I define an object 
or perform a transform. Whereas a single keyword at the start of a scene 
or in an INI file would be without worry.


Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.