POV-Ray : Newsgroups : povray.binaries.images : Impossible triangle : Answer (Was: Impossible triangle) Server Time
18 Aug 2024 08:25:27 EDT (-0400)
  Answer (Was: Impossible triangle)  
From: Warp
Date: 7 Jul 2001 10:22:59
Message: <3b471b43@news.povray.org>
The most obvious trick in the image is, of course, the triangle itself
(one of the cubes is clipped by a plane so that the cube right behind it
shows up; also some of the cubes have a no_shadow applied to them in order
to avoid annoying and even revealing shadows).

  The other trick is, however, more difficult to see, and it's the apparent
perspective of the image.
  The camera is orthographic, so the perspective is fake.
  The pattern on the floor is not a gradient pattern, as it may seem, but
actually a radial pattern. The other cubes in the image are rotated so that
the look like they were "distorted" by the perspective althought they aren't.
The cube on the right is actually the intersection of two superellipsoids.


-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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