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:18:55 EDT (-0400)
  Re: Pixel Perfection for Skinning a Webinterface needed!  
From: Tim Nikias v2 0
Date: 21 Jan 2004 16:12:45
Message: <400eeb4d$1@news.povray.org>
> Use orthographic camera with right and up adjusted to dimensions of window
> where skin is targeted. No need for macros then. POV Units are pixels (or
> rather grid between them). Think mathematically ;-)

Ah, that was exactly what I needed. 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).

But it's sufficient, thank you!

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de


Post a reply to this message

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