POV-Ray : Newsgroups : povray.general : Povray code to render image of USB memory stick Server Time
28 Nov 2024 19:48:10 EST (-0500)
  Povray code to render image of USB memory stick (Message 1 to 2 of 2)  
From: Reuben Pearse
Subject: Povray code to render image of USB memory stick
Date: 8 Sep 2006 11:39:28
Message: <45018eb0@news.povray.org>
Hi there,

Does anyone have any POV code that will render something that looks like 
  a USB memory stick?

Thanks in advance

Reuben
reu### [at] pslconnectcom


Post a reply to this message

From: Jonathan
Subject: Re: Povray code to render image of USB memory stick
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.