POV-Ray : Newsgroups : povray.general : simple pov object files for application icons Server Time
5 Nov 2024 18:25:23 EST (-0500)
  simple pov object files for application icons (Message 1 to 5 of 5)  
From: Olaf Doschke
Subject: simple pov object files for application icons
Date: 6 Nov 2006 15:12:22
Message: <454f9726$1@news.povray.org>
Hi all,

this newsgroups seems to be the most active.
I used Povray from time to time sparsely
but within about the last 15 years.

But I never made up a collection of
even simples objects.

Now I would have a use for the simplest
object: I recently searched for icons I could
use for applications, but all you find these days
is those typical aqua style icons. I'm a bit
fed up of those, although they look nice.

I'd guess there should be huge amounts
of simple objects as .pov object files that
could be used to create application icons.

Instead of static icons I would imagine
animated icons. eg a floppy disk as icon for
a "save" button, and the floppy comes a little
bit to the foreground and rotates, if one
moves the mouse over that icon.

I can't see the wood for the trees,there
are many links from povray.org alone and
some povray webrings etc. But can someone
point me to some set of simple object .pov
files, which would fit for my purpose?

Objects should be recognizable rendered
at 32x32 pixels size and so should have little
details. I'm gladly taking any object, some
things always usable are:

book (for online help)
floppy disk (for save)
folder (for open/load)
recycle bin (for delete)
magnifier (for search)
play/pause/stop/ff/rew (video/music player controls)
globe (www access)
simple face/faces (for user account setup)
whatever

Thanks for any input.

Bye, Olaf.


Post a reply to this message

From: Olaf Doschke
Subject: Re: simple pov object files for application icons
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

From: Smws
Subject: Re: simple pov object files for application icons
Date: 8 Nov 2006 10:35:01
Message: <web.4551f7dba76746c1da53d9e40@news.povray.org>
"Olaf Doschke" <b2x### [at] t-onlinede>
wrote:
> 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.

Hello, Olaf.

I am afraid most of what you are looking for is scattered all over the
internet. There are many POV-artists who share their code, but not all in
one place- with one exception: the POV Object Collection at

http://objects.povworld.org/

It hasn't updated recently, for whatever reason, but many interesting things
are available there, including some things you are looking for. The
interface is very intuitive. Of course, most objects will have to be
resized to fit into your framework (min_extent() and max_extent() may come
in handy), any you should make sure you understand the author's terms of
use.

The other place I can recommend is all the old IRTC entries at
http://www.irtc.org/stills/index.html
You have to look around a bit, but if you go to the "viewing page" for a
given contest, you will see many of the submissions have source code
included in .zip form, and usually tell you more about it in the .txt
description. You could go through the images looking for what you need, and
see if that image has source.

Of course, in this case too it would be good to understand the terms of use
of the author.

Hope this helps--

Stefan


Post a reply to this message

From: Olaf Doschke
Subject: Re: simple pov object files for application icons
Date: 11 Nov 2006 04:20:35
Message: <455595e3$1@news.povray.org>
Hello Stefan!

Although I know these sites already (they are rather 
prominent links from www.povray.org), thanks for
the concern about terms of the authors and the hint
on min/max_extent().

Already used these for finetuning my set of camera
and light for the objects.

I used it  in conjunction with the floppy disk you can
download at
http://objects.povworld.org/cat/Electronics/Computer/
(unknown author, no terms of usage).

I slightly changed the disk, but this will work with
the original download:

-----

#version 3.6;

#include "colors.inc"    
#include "textures.inc"
#include "glass.inc"

// your simple object here
// (should fit into this 1 unit box):
#declare simpleobjecttemp=         
object{#include"floppy.inc" translate<0,-10,0> rotate<180,0,180>}

#declare objsizevector= max_extent(simpleobjecttemp)-min_extent(simpleobjecttemp);
#declare objmiddle = max_extent(simpleobjecttemp)/2+min_extent(simpleobjecttemp)/2;   
                                  

#declare simpleobject=         
object{simpleobjecttemp translate -objmiddle scale sqrt(3)/vlength(objsizevector)}
                 
// 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 +FN8 +KFI1 +KFF21
// (using only pics 01 to 20 for animation)

global_settings {
  assumed_gamma 1
  max_trace_level 5
}                        
                        
camera 
  {
    perspective
    location <0,0,-5>
    look_at <0,0,0>
    right .4*x
    up .4*y
    sky y
  }                                 

light_source
  {
    <-2.5,2.5,-1>, rgb 1  
  }
                                       
background {rgbt <0,0,0,1>}
                                    
object {simpleobject rotate<0,clock*360,0> }

-----

Bye, Olaf.


Post a reply to this message

From: Olaf Doschke
Subject: Re: simple pov object files for application icons
Date: 11 Nov 2006 04:20:36
Message: <455595e4@news.povray.org>
Hello Stefan!

Although I know these sites already (they are rather 
prominent links from www.povray.org), thanks for
the concern about terms of the authors and the hint
on min/max_extent().

Already used these for finetuning my set of camera
and light for the objects.

I used it  in conjunction with the floppy disk you can
download at
http://objects.povworld.org/cat/Electronics/Computer/
(unknown author, no terms of usage).

I slightly changed the disk, but this will work with
the original download:

-----

#version 3.6;

#include "colors.inc"    
#include "textures.inc"
#include "glass.inc"

// your simple object here
// (should fit into this 1 unit box):
#declare simpleobjecttemp=         
object{#include"floppy.inc" translate<0,-10,0> rotate<180,0,180>}

#declare objsizevector= max_extent(simpleobjecttemp)-min_extent(simpleobjecttemp);
#declare objmiddle = max_extent(simpleobjecttemp)/2+min_extent(simpleobjecttemp)/2;   
                                  

#declare simpleobject=         
object{simpleobjecttemp translate -objmiddle scale sqrt(3)/vlength(objsizevector)}
                 
// 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 +FN8 +KFI1 +KFF21
// (using only pics 01 to 20 for animation)

global_settings {
  assumed_gamma 1
  max_trace_level 5
}                        
                        
camera 
  {
    perspective
    location <0,0,-5>
    look_at <0,0,0>
    right .4*x
    up .4*y
    sky y
  }                                 

light_source
  {
    <-2.5,2.5,-1>, rgb 1  
  }
                                       
background {rgbt <0,0,0,1>}
                                    
object {simpleobject rotate<0,clock*360,0> }

-----

Bye, Olaf.


Post a reply to this message

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