Test request: quarter based viewer

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
ickby
Posts: 2940
Joined: Wed Oct 05, 2011 7:36 am

Re: Test request: quarter based viewer

Postby ickby » Sun Sep 28, 2014 5:49 pm

Hello shoogen, rockn,

I had an idea what the problem could be, could you please have a look at the following branch and tell me if the problem persists or is fixed?

https://github.com/ickby/FreeCAD_sf_master/tree/quarter

Thanks!
User avatar
shoogen
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Test request: quarter based viewer

Postby shoogen » Sun Sep 28, 2014 7:13 pm

it works for me.
User avatar
rockn
Posts: 1595
Joined: Wed Sep 28, 2011 10:39 am
Location: Toulouse, France
Contact:

Re: Test request: quarter based viewer

Postby rockn » Sun Sep 28, 2014 7:16 pm

Hi ickby,
It's ok for me ! It's look fixed.
Formations et tutoriels FreeCAD en Français, soutenez moi : https://www.tipeee.com/formations-freecad
User avatar
shoogen
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Test request: quarter based viewer

Postby shoogen » Sun Sep 28, 2014 7:33 pm

BTW: The stereo mode gives coin errors.
Coin warning in SoGLRenderAction::beginTraversal(): GL error before initialization: GL_INVALID_OPERATION
and InterleavedColumns looks like InterleavedRows
ickby
Posts: 2940
Joined: Wed Oct 05, 2011 7:36 am

Re: Test request: quarter based viewer

Postby ickby » Sun Sep 28, 2014 7:54 pm

thanks for testing, those are good news! I don't have time to dig deeper into the stereo issue before my holidays, so I make a pull request for the current state. Then at least red green works.
User avatar
shoogen
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Test request: quarter based viewer

Postby shoogen » Mon Sep 29, 2014 8:53 am

ickby wrote:thanks for testing, those are good news! I don't have time to dig deeper into the stereo issue before my holidays, so I make a pull request for the current state. Then at least red green works.
It just want to mention it so, anyone will remember when we start talking about the stable release.
wmayer wrote:All stereo modes work except of "stereo quad buffer" which gives me these error messages:
Coin error in SoNode::GLRenderS(): GL error: 'GL_INVALID_OPERATION', nodetype: Switch (set envvar COIN_GLERROR_DEBUGGING=1 and re-run to get more information)
I see the same messages. (the messages i posted earlier where ones gathered with COIN_GLERROR_DEBUGGING=1 enabled)
But the behavior show some dependency on the device driver. When working only with my integrated (intel hd 3000) graphics neither of the interleaved modes works.
nahshon
Posts: 195
Joined: Wed Jul 24, 2013 8:06 pm

Re: Test request: quarter based viewer

Postby nahshon » Fri Oct 10, 2014 1:51 am

Hello,
I see two problems.
a. Anti-aliasing seems to be always on. I have Anti-Aliasing set to None in the display preferences but that does not seem to make any difference. This problem showed up when I got the updates with the quarter based viewer.
antialias.png
antialias.png (5.76 KiB) Viewed 1690 times
b. I'm not sure it's a new problem related to the quarter based viewer, because I never tested it before. It's working OK on a build which is a few months old.
To repeat:
1. Open any image file in FreeCAD (I'm testing with the attached PNG file). Everything looks OK? Close it...
2. Switch to the Part workbench
3. create a new document
4. Create a cube
5. Rotate the view
6. Now open that PNG file again. (Display may be corrupted). Using the mouse wheel to zoom in/out result in a dark display.

Thanks!
-- Itai

OS: "Fedora release 20 (Heisenbug)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4095 (Git)
Branch: master
Hash: 05de6c103fa7cf228490ac39e679376e4067334f
Python version: 2.7.5
Qt version: 4.8.6
Coin version: 3.1.3
OCC version: 6.7.1
wmayer
Site Admin
Posts: 15471
Joined: Thu Feb 19, 2009 10:32 am

Re: Test request: quarter based viewer

Postby wmayer » Fri Oct 10, 2014 2:20 pm

a. Anti-aliasing seems to be always on. I have Anti-Aliasing set to None in the display preferences but that does not seem to make any difference. This problem showed up when I got the updates with the quarter based viewer.
Fixed with git commit 96e286a
b. I'm not sure it's a new problem related to the quarter based viewer, because I never tested it before. It's working OK on a build which is a few months old.
I can confirm this. When now MDI is open you can load an image -- independent of the currently active workbench. As soon as you create a 3d view the image disappears.

Version 0.14 which is using SoQt doesn't show this behaviour so it's very likely related to Quarter.
issue #0001780
User avatar
shoogen
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Test request: quarter based viewer

Postby shoogen » Sat Oct 11, 2014 4:42 pm

When opening a second view, this in this second view the edges are not visible (in flat line viewmode).
the report window shows

Code: Select all

Coin error in SoNode::GLRenderS(): GL error: 'GL_OUT_OF_MEMORY', nodetype: Separator (set envvar COIN_GLERROR_DEBUGGING=1 and re-run to get more information)
quarter-missing-edges.png
quarter-missing-edges.png (20.59 KiB) Viewed 1629 times
User avatar
shoogen
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Test request: quarter based viewer

Postby shoogen » Sat Oct 11, 2014 4:47 pm

This seems to be driver depended.
But i got problems to undock multiple views of the same document.