POV-Ray : Newsgroups : povray.general : simple pov object files for application icons : Re: simple pov object files for application icons Server Time
31 Jul 2024 18:17:20 EDT (-0400)
  Re: simple pov object files for application icons  
From: Olaf Doschke
Date: 7 Nov 2006 03:29:47
Message: <455043fb$1@news.povray.org>
Hi again!

Let me define a framework for those
simple objects to render a series of
application icons from them:

This is just a first shot at it - could work,
the camera may be too close to the
object, as the box looks too skewed.

I'll do some fine tuning and add a sample
animation and a sample icon/object.

// your simple object here
// (should fit into this 1 unit box):
#declare simpleobject=
box {<-.5,-.5,-.5>,<.5,.5,.5>
     pigment{color rgb 1}
     rotate<0,-45,0>}

// please just slight changes here.
// same (and simple) camera and
// lightning for any icon
// to make them look equal.    

// render with a square resolution
// eg 128x128 AA 0.1
// command line options:
// +UA +FN16

camera 
  {
    perspective
    location <0,-1,-2>
    look_at <0,0,0>
    right x
    up y
    sky y
  }                                 

light_source
  {
    <-1,-1,-3>, rgb 1.5
  }                                     

background {rgbt <0,0,0,1>}

object {simpleobject}
 
Bye, Olaf.


Post a reply to this message

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