POV-Ray : Newsgroups : povray.general : Pixel Perfection for Skinning a Webinterface needed! : Re: Pixel Perfection for Skinning a Webinterface needed! Server Time
3 Aug 2024 14:12:32 EDT (-0400)
  Re: Pixel Perfection for Skinning a Webinterface needed!  
From: Rune
Date: 22 Jan 2004 10:30:27
Message: <400fec93@news.povray.org>
Tim Nikias v2.0 wrote:
> I've noticed though that it isn't truly pixel perfect.
> When I use up y*100 and right x*700 I'd expect x*-350 to
> be at the left edge and x*350 at the right. Still, x*-340
> isn't at pixel 10 (counting from left).

I've had the opposite experience. See this example scene:

// 100% pixel perfect without antialiasing
// +w160 +h120 -a

// 100% pixel perfect with antialiasing method 1
// +w160 +h120 +a0.1 +am1 +r6

// very small bleed with with antialiasing method 2
// +w160 +h120 +a0.1 +am2 +r6

#declare W = image_width;
#declare H = image_height;
camera {
   orthographic
   location -100*z
   right W*x
   up H*y
}
#default {finish {ambient 1 diffuse 0}}
plane {-z,0 pigment {checker rgb 0, rgb 1 scale 5}}
sphere {-30*x, 20 pigment {red 1}}
box {-20,20 translate 30*x pigment {blue 1}}


--
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com **updated Dec 30**
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

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