POV-Ray : Newsgroups : povray.general : reflection transform operation? : Re: reflection transform operation? Server Time
5 Jul 2024 10:11:02 EDT (-0400)
  Re: reflection transform operation?  
From: And
Date: 22 Jun 2015 11:35:00
Message: <web.55882aece8e283097453a2710@news.povray.org>
Alain <kua### [at] videotronca> wrote:

> > 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.

Good.


Post a reply to this message

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