POV-Ray : Newsgroups : povray.unofficial.patches : A question on image_width : Re: A question on image_width Server Time
2 Sep 2024 10:14:56 EDT (-0400)
  Re: A question on image_width  
From: Mr  Art
Date: 29 May 2000 11:03:27
Message: <39328653.1E7CB32C@gci.net>
Because image_width and image_height are enabled
all the time, im left with something like this:

#ifdef(unofficial_version)
	// for MegaPOV
	#declare Image_width=image_width;#declare Image_height=image_height;
#else 
	// for Official POV
	#declare Image_width=800;#declare Image_height=600;
#end

camera{ location <...> right x*image_width/image_height look_at <...> }

Thanks for your help,
Mr. Art
Mark Wagner wrote:

> #ifdef(unofficial_version)
>   #if(unofficial_version = -1)
>     Official = true;
>   #else
>     Official = false;
>   #end
> #else
>   Official = true;
> #end
>


Post a reply to this message

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