POV-Ray : Newsgroups : povray.general : Invisible prism : Invisible prism Server Time
5 Aug 2024 04:16:56 EDT (-0400)
  Invisible prism  
From: LibraryMan
Date: 11 Dec 2002 15:10:14
Message: <3DF79BB6.8157A2F8@att.net>
What's wrong with this code?

        prism {
        #local v3 = vrotate(<0, 2.91>, y*3.5);
        #local v4 = vrotate(<0, 3.03>, y*3.5);
        linear_sweep
        linear_spline
        0,
        0.6,
        4,
        <0, 2.91>, <0, 3.03>, <v4.x, v4.z>, <v3.x, v3.z> pigment { Green
}
        }

It should get me a quadrilateral which is somewhat keystone-shaped.  I'm
getting nothing, but it the rendering slows down perceptibly at the spot
where I should see something.  (I had had a torus passing through the
middle of it (its major radius 2.97), which I left out here.  Also left
out camera & lighting for expediency.

Thanks!
Mark


Post a reply to this message

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