POV-Ray : Newsgroups : povray.general : reflection transform operation? : Re: reflection transform operation? Server Time
10 Jun 2024 19:43:55 EDT (-0400)
  Re: reflection transform operation?  
From: Alain
Date: 20 Jun 2015 09:23:55
Message: <5585696b@news.povray.org>

> I can translate, scale, rotate, and do a matrix transform on any object. Why not
> reflect? It would certainly save time and reduce potential error for me. Is
> there a way to configure a matrix that would reflect an object through the plane
> at x=0 for example? If there is a way, I hope the method is included in the
> reference section for matrix. Thanks.
>
>

Scaling by a negative value will reflect the object, or pattern, along 
that axis.
scale <-1,1,1> will reflect the object left to right, and scale <1,-1,1> 
will reflect it verticaly.
For a matrix transform, any negative value will work the same.


Post a reply to this message

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