[Bf-blender-cvs] CVS commit: blender/source/blender/src ghostwinlay.c renderwin.c

John K. Walton walton at mrnutty.com
Fri Jun 13 14:50:25 CEST 2003


On Thu, 12 Jun 2003, Ton Roosendaal wrote:

> Hi,
> 
> You mean that the renderwindow opens in doublebuffer and draws dithered  
> for that reason?

yup!

from Zr's post:
"What is actually happening is that after the ghost change the renderwin
is opened in double buffer mode, which on an older SGI means it is going
to be only a 12bit display, the solution in this case would be to add
single
buffer support to ghost. ATM this should work reasonably well, although
really a more refined display/interface level should handle this. (At the
time my plan was to enhance the render window with more imaging features,
and user interface elements to support that - having to worry about
testing
with single and double buffers adds undeserved complexity IMHO).

The quick fix solution would be:
Add single buffer mode argument to C++ ghost constructor
Add same arg to GHOST_CreateWindow
Add same arg to window_open
Add code to renderwin.c to determine what mode to use.
"

 
> I am trying to get Ghost to understand better. But it looks like it  
> opens a doublebuffer window for render output by default. It has no  
> specific awareness of different opengl (display) styles per window.
> 
> I'm contacting Maarten Gribnau (ghost author) anyway for an issue, so  
> I'll discuss that with him as well.

okies!
 
> Can you tell me in the mean time, what Irix support is for 2x16 or 2x24  
> bits double buffer? Maybe that's the easy Zr fix...
> The trick might be in GHOST_WIndowX11.cpp, lines 89 and further.

depends on the gfx subsystems, but reasonable expectations should
only be Impact (High and Max are different bbp) and above, older
gfx subsystems should not be required it's all very cheap now.

> Check manpage for glXChooseVisual.
> 
> 
> -Ton-
> 
> 
> 
> 
> On Thursday, Jun 12, 2003, at 13:04 Europe/Amsterdam, John K. Walton  
> wrote:
> 
> >
> > ton,
> > while you're in there, can you fix dither on 16bit/24bit displays?
> > zr mentioned it should be an easy fix...
> >
> >
> > On Thu, 12 Jun 2003, Ton Roosendaal wrote:
> >
> >> ton (Ton Roosendaal) 2003/06/12 12:07:38 CEST
> >>
> >>   Modified files:
> >>     blender/source/blender/src ghostwinlay.c renderwin.c
> >>
> >>   Log:
> >>   - Completely reorganized renderwin.c, added readable comments and  
> >> removed
> >>     confusing functions which were only used once.
> >>     Part of examining how renderwindows get opened/closed, and to  
> >> enable
> >>     a third option for render output to ImageWindow in Blender
> >>
> >>   Revision  Changes    Path
> >>   1.12      +2 -2      blender/source/blender/src/ghostwinlay.c
> >>   1.9       +177 -152  blender/source/blender/src/renderwin.c
> >> _______________________________________________
> >> Bf-blender-cvs mailing list
> >> Bf-blender-cvs at blender.org
> >> http://www.blender.org/mailman/listinfo/bf-blender-cvs
> >>
> >
> > _______________________________________________
> > Bf-blender-cvs mailing list
> > Bf-blender-cvs at blender.org
> > http://www.blender.org/mailman/listinfo/bf-blender-cvs
> >
> >
> ------------------------------------------------------------------------ 
> --
> Ton Roosendaal  Blender Foundation ton at blender.org  
> http://www.blender.org
> 
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://www.blender.org/mailman/listinfo/bf-blender-cvs
> 




More information about the Bf-blender-cvs mailing list