Re: [osg-users] Display of lines and edges on Retina/10.8 Mac

2013-01-24 Thread Robert Osfield
Hi Kike,

On 24 January 2013 15:56, Mike Krus  wrote:
> found the issue, thanks to a comment in another thread: the base surface had 
> VBO turned on, but the highlighted area didn't. If they are both on or both 
> off, then things display as expected on 10.8.
>
> Lucky find the day before we ship, one less item for the known issues ;-)

Oh my that's close, good to hear you've found a work around.  From the
sound of it, it looks very much like a driver bug, turning on/off
VBO's should not have any baring on the effect of
glPolygonOffset/depth buffer.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Display of lines and edges on Retina/10.8 Mac

2013-01-24 Thread Mike Krus
Hi

found the issue, thanks to a comment in another thread: the base surface had 
VBO turned on, but the highlighted area didn't. If they are both on or both 
off, then things display as expected on 10.8.

Lucky find the day before we ship, one less item for the known issues ;-)


Mike


On 21 Jan 2013, at 14:58, Mike Krus wrote:

> Hi
> 
> ok, thanks for that. I'm still getting issues on an old non-retina MBP and on 
> a new shiny retina MBP.
> I'm not sync'ed up to SVN though… maybe a couple of months behind..
> 
> 
> Mike
> 
> 
> On 21 Jan 2013, at 14:49, Stephan Huber wrote:
> 
>> Hi Mike,
>> 
>> your test-file works on 10.8.2 and even with a simulated retina-display w/o 
>> problems. I am using the latest osg from svn/trunk
>> 
>> 
>> cheers,
>> Stephan
>> 
>> 
>> Am 20.01.13 21:12, schrieb Mike Krus:
>>> Hi
>>> 
>>> an update: still haven't found the reason for this, but it turns out if 
>>> happens on a machine with 10.8 installed, not necessarily a Retina display.
>>> 
>>> Could someone with a 10.8 machine try opening the file attached in the 
>>> original message in osViewer and tell me if it looks like the attached 
>>> image?
>>> 
>>> Cheers,
>>> 
>>> Mike
>>> 
>>> 
>>> On 10 Jan 2013, at 11:50, Mike Krus  wrote:
>>> 
 Hi
 
 I'm having a weird display issue when displaying lines and edges over a 
 surface on a Retina Mac.
 
 We display surfaces and when draw the boundary line and a subset of faces 
 (which are selected by the user) is also overlaid using faces in line 
 mode. See attached image if it's clearer…
 
 I normally works fine but on a MacBook Pro with a 15" Retina display 
 nothing shows.
 
 I've attached an osgt file that illustrates the issue. If you open in 
 osgviewer, you can't see the lines…
 
 Any ideas what may be going on?
 
 
 Cheers!
 
 
 Mike
 
 
 
 Mike Krus (PhD) - Principal Software Engineer
 
 Midland Valley Exploration
 144 West George Street
 Glasgow G2 2HG, UK
 Tel: +44 141 332 2681
 Fax: +44 141 332 6792
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>> 
>>> 
>>> 
>>> ___
>>> osg-users mailing list
>>> 
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> 
>> ___
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
> 
> Mike Krus (PhD) - Principal Software Engineer
> 
> Midland Valley Exploration
> 144 West George Street
> Glasgow G2 2HG, UK
> Tel: +44 141 332 2681
> Fax: +44 141 332 6792
> 
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Mike Krus (PhD) - Principal Software Engineer

Midland Valley Exploration
144 West George Street
Glasgow G2 2HG, UK
Tel: +44 141 332 2681
Fax: +44 141 332 6792

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Display of lines and edges on Retina/10.8 Mac

2013-01-21 Thread Mike Krus
Hi

ok, thanks for that. I'm still getting issues on an old non-retina MBP and on a 
new shiny retina MBP.
I'm not sync'ed up to SVN though… maybe a couple of months behind..


Mike


On 21 Jan 2013, at 14:49, Stephan Huber wrote:

> Hi Mike,
> 
> your test-file works on 10.8.2 and even with a simulated retina-display w/o 
> problems. I am using the latest osg from svn/trunk
> 
> 
> cheers,
> Stephan
> 
> 
> Am 20.01.13 21:12, schrieb Mike Krus:
>> Hi
>> 
>> an update: still haven't found the reason for this, but it turns out if 
>> happens on a machine with 10.8 installed, not necessarily a Retina display.
>> 
>> Could someone with a 10.8 machine try opening the file attached in the 
>> original message in osViewer and tell me if it looks like the attached image?
>> 
>> Cheers,
>> 
>> Mike
>> 
>> 
>> On 10 Jan 2013, at 11:50, Mike Krus  wrote:
>> 
>>> Hi
>>> 
>>> I'm having a weird display issue when displaying lines and edges over a 
>>> surface on a Retina Mac.
>>> 
>>> We display surfaces and when draw the boundary line and a subset of faces 
>>> (which are selected by the user) is also overlaid using faces in line mode. 
>>> See attached image if it's clearer…
>>> 
>>> I normally works fine but on a MacBook Pro with a 15" Retina display 
>>> nothing shows.
>>> 
>>> I've attached an osgt file that illustrates the issue. If you open in 
>>> osgviewer, you can't see the lines…
>>> 
>>> Any ideas what may be going on?
>>> 
>>> 
>>> Cheers!
>>> 
>>> 
>>> Mike
>>> 
>>> 
>>> 
>>> Mike Krus (PhD) - Principal Software Engineer
>>> 
>>> Midland Valley Exploration
>>> 144 West George Street
>>> Glasgow G2 2HG, UK
>>> Tel: +44 141 332 2681
>>> Fax: +44 141 332 6792
>>> 
>>> ___
>>> osg-users mailing list
>>> osg-users@lists.openscenegraph.org
>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> 
>> 
>> 
>> ___
>> osg-users mailing list
>> 
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Mike Krus (PhD) - Principal Software Engineer

Midland Valley Exploration
144 West George Street
Glasgow G2 2HG, UK
Tel: +44 141 332 2681
Fax: +44 141 332 6792

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Display of lines and edges on Retina/10.8 Mac

2013-01-21 Thread Stephan Huber

Hi Mike,

your test-file works on 10.8.2 and even with a simulated retina-display 
w/o problems. I am using the latest osg from svn/trunk



cheers,
Stephan


Am 20.01.13 21:12, schrieb Mike Krus:

Hi

an update: still haven't found the reason for this, but it turns out 
if happens on a machine with 10.8 installed, not necessarily a Retina 
display.


Could someone with a 10.8 machine try opening the file attached in the 
original message in osViewer and tell me if it looks like the attached 
image?


Cheers,

Mike


On 10 Jan 2013, at 11:50, Mike Krus > wrote:



Hi

I'm having a weird display issue when displaying lines and edges over 
a surface on a Retina Mac.


We display surfaces and when draw the boundary line and a subset of 
faces (which are selected by the user) is also overlaid using faces 
in line mode. See attached image if it's clearer...


I normally works fine but on a MacBook Pro with a 15" Retina display 
nothing shows.


I've attached an osgt file that illustrates the issue. If you open in 
osgviewer, you can't see the lines...


Any ideas what may be going on?


Cheers!


Mike



Mike Krus (PhD) - Principal Software Engineer

Midland Valley Exploration
144 West George Street
Glasgow G2 2HG, UK
Tel: +44 141 332 2681
Fax: +44 141 332 6792

___
osg-users mailing list
osg-users@lists.openscenegraph.org 


http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Display of lines and edges on Retina/10.8 Mac

2013-01-21 Thread Robert Osfield
Hi Mike,

I've tried the model out on my Kubuntu 12.10 system and all the lines
and mesh appear just fine, I would suspect a driver a bug.

I also looked the file and it looks reasonable, I presume you are
using osg::PolygonOffset to push the mesh behind the lines?  One thing
you could try is to adjust the PolygonOffset values to see if it makes
a difference.

You could also try running the model in osgviewer and toggle the
wireframe mode using 'w' and they rotating the scene to see if the
lines are being rendered at all.

Robert.

On 20 January 2013 20:12, Mike Krus  wrote:
> Hi
>
> an update: still haven't found the reason for this, but it turns out if
> happens on a machine with 10.8 installed, not necessarily a Retina display.
>
> Could someone with a 10.8 machine try opening the file attached in the
> original message in osViewer and tell me if it looks like the attached
> image?
>
> Cheers,
>
> Mike
>
>
> On 10 Jan 2013, at 11:50, Mike Krus  wrote:
>
> Hi
>
> I'm having a weird display issue when displaying lines and edges over a
> surface on a Retina Mac.
>
> We display surfaces and when draw the boundary line and a subset of faces
> (which are selected by the user) is also overlaid using faces in line mode.
> See attached image if it's clearer…
>
> I normally works fine but on a MacBook Pro with a 15" Retina display nothing
> shows.
>
> I've attached an osgt file that illustrates the issue. If you open in
> osgviewer, you can't see the lines…
>
> Any ideas what may be going on?
>
>
> Cheers!
>
>
> Mike
>
>
> 
> Mike Krus (PhD) - Principal Software Engineer
>
> Midland Valley Exploration
> 144 West George Street
> Glasgow G2 2HG, UK
> Tel: +44 141 332 2681
> Fax: +44 141 332 6792
> 
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] Display of lines and edges on Retina/10.8 Mac

2013-01-20 Thread Mike Krus
Hi

an update: still haven't found the reason for this, but it turns out if happens 
on a machine with 10.8 installed, not necessarily a Retina display.

Could someone with a 10.8 machine try opening the file attached in the original 
message in osViewer and tell me if it looks like the attached image?

Cheers,

Mike


On 10 Jan 2013, at 11:50, Mike Krus mailto:m...@mve.com>> wrote:

Hi

I'm having a weird display issue when displaying lines and edges over a surface 
on a Retina Mac.

We display surfaces and when draw the boundary line and a subset of faces 
(which are selected by the user) is also overlaid using faces in line mode. See 
attached image if it's clearer…

I normally works fine but on a MacBook Pro with a 15" Retina display nothing 
shows.

I've attached an osgt file that illustrates the issue. If you open in 
osgviewer, you can't see the lines…

Any ideas what may be going on?


Cheers!


Mike



Mike Krus (PhD) - Principal Software Engineer

Midland Valley Exploration
144 West George Street
Glasgow G2 2HG, UK
Tel: +44 141 332 2681
Fax: +44 141 332 6792

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org