POV-Ray : Newsgroups : povray.general : Linux framebuffer patch version 0.3 released : Linux framebuffer patch version 0.3 released Server Time
15 May 2024 12:33:07 EDT (-0400)
  Linux framebuffer patch version 0.3 released  
From: Nicolas Calimet
Date: 18 Aug 2005 09:47:50
Message: <43049186$1@news.povray.org>
The version 0.3 of the Linux framebuffer patch to povray-3.6.1 for Unix
is available for download here:

http://pov4grasp.free.fr/download/povray-3.6.1-fb-0.3.0.tar.bz2

	List of changes from version 0.2 to 0.3:

- add support for 15/16/24/32 bpp directcolor visuals (rgb colormaps)
- add support for (user-supplied) background image a la X Window
- add support for alpha transparency in rendering and background image
- add custom positioning of the display with $POV_FB_GEOMETRY
- fix info message for 32 bpp color depth reported as 24 bpp
- fix finished message sent to stdout instead of stderr
- fix dump screen to use povray iostreams
- more code reorganisation

	Notes:

- Directcolor visuals were tested with the rather old aty128fb framebuffer
   driver in 8/15/24/32 bpp color depths (16 bpp is handled as 15 bpp).

- The background image feature is similar to that found in the X Window
   display capability of povray.  Usage is explained in the doc/README.unix
   file of the official povray-3.6.1 for Unix distributions.  Basically
   the background behind the display is filled with a checker pattern by
   default, or the ~/.povray/3.6/background.ext image file (where "ext"
   is either "jpg", "jpeg", "png", "ppm", "tga" or "gif").  The difference
   here is that alpha channel is supported; thus an empty background can be
   obtained using a fully transparent (1-pixel) image.  Tested with png
   files only (transparency might not work with gif files yet).

- The display can now be arbitrarily positionned anywhere on- or off-screen.
   Its position and maximum size are controlled by the POV_FB_GEOMETRY
   environment variable, which value is in the form:
     MAXWIDTHxMAXHEIGHT+XOFFSET+YOFFSET
   where MAXWIDTH and MAXHEIGHT are positive integers to set the maximum
   display width and height, XOFFSET and YOFFSET are integers to specify
   the display offset compared to the screen borders.  The '+' sign can be
   replaced by '-' to tell which screen border to account for.  This notation
   basically follows the same rules as the -geometry option found in most
   X Window applications; see the X manual.  The difference is that the
   width and height set a maximum allowed size while keeping the display
   aspect ratio.

   For instance:

   export POV_FB_GEOMETRY=640x480-0+0
   povray abyss.pov +w2048 +h768

   will display the image with a maximum width of 640 pixels on the top
   right corner of the screen.

	Sample images are available in p.binaries.images (same subject).

	- NC


Post a reply to this message

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