From: doug s. <hig...@ho...> - 2011-10-17 13:50:10
|
> > With current CVS (as of last night, and going back at least a week) but > > not 1.22.12_pre2, the animated galaxies model shows streaking/stickiness > > at the bottom, where the HUD pane shifts up during mouseover. I don't > > see similar behavior in a model with a Background node, so I suspect it's > > the lack of anything to intersect that's the problem. (Some 3D shooters > > show similar effects when you move outside the walls or look at a defect > > in the model.) > > > > http://gregroelofs.com/43487-galaxies.wrl.gz > > > > I wonder if there's a more general "off by a half" bug in the HUD code? > > There's always a pale bar at the bottom; it doubles in size when moused > > over; but the icons that appear when moused over are centered on the top > > edge of the 2x bar, not within its bounds. I guess the always-there part > > has a text overlay when the '!' icon is selected, but that goes away when > > moused over (i.e., when the icons appear), so at least the icon placement > > seems incorrect. > > > > Greg > > > > I noticed something similar on a couple of test wrls too.. I think the change that brought this in was the one that fixed a bug someone was having, where the sides of objects did not seem to join seamlessly... was a month or two ago.. > > win32 > no problem with my current computer and configuration. Should look like this: http://dug9.users.sourceforge.net/statusbar.jpg just the bar http://dug9.users.sourceforge.net/buttonBar.jpg buttons shown Hypothesis 1: a change I did for opengl versions: I installed on a bare bones windows XP system -un-upgraded, kept offline, from around year 2003- was it about 1 or 1.5 months ago, and I found the button bar wouldn't render - it would crash. I found it's opengl was older and I came up with the following lines of code: statusbarHud.c L.1836 if(!tg->display.rdr_caps.have_GL_VERSION_1_4) { //p.306 redbook - glwindowpos2i is ogl 1.4, older is glrasterpos2i, and for that //you must set up orthomatrix But it was a hack so it wouldn't bomb on mouse over. I didn't test it extensively. test: see if it's going in there, and if so, then what is your opengl version, and would the normal button drawing work with your version, if so, change the have_GL_VERSION_1_4 to whatever your version is. H2: a change I did for panorama seams in Sept. Textures.c L.1210 Src = Src ? GL_REPEAT : GL_CLAMP_TO_EDGE; //GL_CLAMP; //du9 changed from CLAMP to CLAMP_TO_EDGE Sept18,2011 to fix panorama seamline visibility Trc = Trc ? GL_REPEAT : GL_CLAMP_TO_EDGE; //GL_CLAMP; Rrc = Rrc ? GL_REPEAT : GL_CLAMP_TO_EDGE; //GL_CLAMP; That fixed my panorama seams issue, but I didn't know if that related to anything else. You could test putting it back to GL_CLAMP and see if it makes a difference with the statusBar buttons. -Doug |