POV-Ray : Newsgroups : povray.general : Povray code to render image of USB memory stick : Re: Povray code to render image of USB memory stick Server Time
31 Jul 2024 20:23:07 EDT (-0400)
  Re: Povray code to render image of USB memory stick  
From: Jonathan
Date: 9 Sep 2006 13:21:08
Message: <4502f804@news.povray.org>
This should get you started:

union {
        difference {
                superellipsoid {
                        <0.5,  0.5>
                        pigment { color <.75,.75,.75,0,0> }
                        scale <1,.33,3>
                        }
                box {
                        <-1,-1,-2>,<1,1,-4>
                        }
                }
        difference {
                box {
                        <-.75,-.25,-1>,<.75,.25,-2.5>
                        texture {
                                pigment { color <.75,.75,.75,0,0> }
                                finish {
                                        metallic
                                        reflection { .25,.75 }
                                        }
                                }
                        }
                box {
                        <-.73, -.23, -2.1>, <.73,.23,-2.6>
                                texture {
                                        pigment { color <.75,.75,.75,0,0> }
                                finish {
                                        metallic
                                        reflection { .25,.75 }
                                        }
                                }
                        }
                }
        }

Thanks,
Jonathan
red### [at] redmasqcom


Post a reply to this message

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