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:19:16 EDT (-0400)
  Re: Pixel Perfection for Skinning a Webinterface needed!  
From: Hugo Asm
Date: 21 Jan 2004 17:46:24
Message: <400f0140$1@news.povray.org>
Maybe you can use this for something?


camera { orthographic right 1*x location -1*z look_at 0 angle 90 }

// The variable that can scale or move an object
// in steps of one pixel left / right / up / down

#declare Pixel = 2/<image_width,image_height,1>;
#declare My_Object = sphere { 0,10*Pixel }; // Radius = 10 pixels


Post a reply to this message

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