POV-Ray : Newsgroups : povray.unofficial.patches : Linux framebuffer patch version 0.2 released : Re: Linux framebuffer patch version 0.2 released Server Time
16 May 2024 12:27:33 EDT (-0400)
  Re: Linux framebuffer patch version 0.2 released  
From: Nicolas Calimet
Date: 13 Aug 2005 13:31:40
Message: <42fe2e7c$1@news.povray.org>
> Are you sure the vga environment variable is the right way (tm) to 
> detect a framebuffer display?

	No  :-)
	In fact I completely forgot to check again that part in unix.cpp.
The test for the vga environment variable was added long ago (soon after
I released 0.1) but then I flipped over that part.  Anyway, if no frame-
buffer is available, povray will Error() when trying to setup the display.
Obviously a better test should be done earlier though.

> Note for higher 
> resoluation modes it could be nice to have the option not to center the 
> render view but put it in the upper right corner

	I plan to use additional environment variables (or maybe* fb-specific
command line options, similarly to the X Window-specific options) to let
the user offset the preview anywhere.  Additionally I'd like to let the
preview display go to another terminal; I don't know yet whether it's
possible or not (my first tests are not so encouraging).  Also, with fb
drivers that support it: on-the-fly change of the screen resolution to
better fit the image size (would be nice in conjunction with the previous
planed feature).  But at the moment I can't test the later: vesafb does
not allow me to do so, and I'm not able to use another driver.

	FYI version 0.3 will also deal with alpha transparency a la xwin.

	- NC

(*) IMO env. vars are more handy: no need to set them all the time


Post a reply to this message

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