POV-Ray : Newsgroups : povray.general : web buttons Server Time
17 Nov 2024 23:14:57 EST (-0500)
  web buttons (Message 1 to 2 of 2)  
From: Tanche
Subject: web buttons
Date: 29 Nov 2002 10:10:03
Message: <web.3de7832dde83a814bbbc0c2a0@news.povray.org>
hi.

i wanted to use povray to atomatically create a navigationbar
from a text file like this

<snip>
 text 1
 text 2
 ...
 text n
</snap>

this should create n png files (or 2*n for mouse over).
now my povray specific questions are:

* how should i configure the lighting to make sure
  that for example #ff0000 in the pigment declaration
  is nearly #ff0000 in the png file?

* i want the png file to have the size of the button
  i use right and up vectors in the camera declaration
  and width and height in the ini file for this. is this
  the right way ?

I'm pretty sure that there are some really fancy povray
button files out there. i'd be very glad if i could receive
some.

-tanche


Post a reply to this message

From: David
Subject: Re: web buttons
Date: 6 Dec 2002 17:15:06
Message: <web.3df120bc69a1fe093b35a1fc0@news.povray.org>
You can be sure that a texture/pigment shows up as an exact color by setting
its finish as follows:

finish
{
  ambient 1
  diffuse 0
  specular 0
  reflection 0
  phong 0
}

Unfortunately, most of the beauty of POV-Ray is lost with these settings.

--David


Post a reply to this message

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