Re: [osg-users] VPB texture disappear
On Tue, Apr 7, 2009 at 5:08 AM, Paul Martz pma...@skew-matrix.com wrote: Thanks. I'll give that a try. If NPOT is the issue, then apparently VPB requires NPOT support at DB build time, not just at run time. I found that creating the same DB on my Windows laptop with Quadro 1500M works great. I didn't the non power of two support was on by default... If it is turned on for the build then the texture compression operation will require non power of two support on the VPB build machine. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB texture disappear
Hi Paul, If NPOT is the issue, then apparently VPB requires NPOT support at DB build time, not just at run time. I found that creating the same DB on my Windows laptop with Quadro 1500M works great. Well, that would make sense since OpenGL operations are used (within an OpenGL context) when resizing and compressing the textures. But what video card do you have that doesn't support NPOT? I would think that's a rarity nowadays... J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB texture disappear
Interesting... Neither osgdem nor vpbmaster show a --pot command line option in their help output, but neither of them complain if --pot is present on their command lines. The cache file output from osgdem doesn't appear to be different with or without --pot, which makes me think this must be a vpbmaster option. Just to be safe, I put --pot on both the osgdem and vpbmaster command lines, and I still get the same results. So this isn't the cause of the issue. Any other suggestions? Robert, I'm not specifying the --compressed option when I build the DB, so I don't think I need support for compressed NPOT textures. (I'm assuming compression is off by default, as there doesn't appear to be a --no-compression option.) JS -- This is a MacPro with GeForce 8800. It supports GL_ARB_non_power_of_two. Nonetheless, there is something about the MacPro/GF8800 that is causing the issue at build time: When I view the DB built on the Mac on either my Windows or Mac system, the issue is present. When I build the same DB using the same source data on Windows, the issue is not present. (Ideally I'd like to use my Mac; building VPB DBs is one of the main reasons I bought this system. It builds the DB some 20x faster than my old clunker Windows system.) Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jason Beverage Sent: Monday, April 06, 2009 7:41 PM To: OpenSceneGraph Users Subject: Re: [osg-users] VPB texture disappear Hey Paul, I've seen this issue before with non power of two textures not being supported in some situations. VPB tries to use npot textures at the lowest level of detail to most closely match the resolution of the source imagery. Try generating your DB using --pot and see what happens, I bet it works. Thanks, Jason On Mon, Apr 6, 2009 at 9:37 PM, Paul Martz pma...@skew-matrix.com wrote: Same issue viewing the DB on a Windows box, so apparently not a driver issue. I'll try building the DB on Windows. This might take a while; it's not a hot box like my MacPro... Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Monday, April 06, 2009 7:30 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] VPB texture disappear Hi Robert -- I'm seeing an issue where, as the viewpoint approaches the terrain, textures surrounding a high-res inset disappear. This is with very current VPB and OSG running on Mac OS X with a GeForce 8800 card. ss0.jpg shows the scene just before the issue occurs. As I move the viewpoint forward (closer to the terrain), I see the image in ss1.jpg. I also get several instances of the following error in the console: Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) There is strong correlation between this error and the appearance of segments of the database rendered with a missing texture image. I've attached the mkdb.sh script I used to generate the database. Do you have any hints on what might be going on here? This is not the first time I've seen this issue, so I don't think it's new. I've tried changing the value of OSG_DATABASE_PAGER_DRAWABLE but this has no effect on the issue. I'll try rendering the DB on a Windows box and see if I get the same results. Thanks for any help. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 ___ 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] VPB texture disappear
OK, maybe I wasn't as current as I thought I was. I updated OSG and VPB and the issue is now gone. I still don't see --pot listed as a command line option, however... Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Tuesday, April 07, 2009 8:58 AM To: 'OpenSceneGraph Users' Subject: Re: [osg-users] VPB texture disappear Interesting... Neither osgdem nor vpbmaster show a --pot command line option in their help output, but neither of them complain if --pot is present on their command lines. The cache file output from osgdem doesn't appear to be different with or without --pot, which makes me think this must be a vpbmaster option. Just to be safe, I put --pot on both the osgdem and vpbmaster command lines, and I still get the same results. So this isn't the cause of the issue. Any other suggestions? Robert, I'm not specifying the --compressed option when I build the DB, so I don't think I need support for compressed NPOT textures. (I'm assuming compression is off by default, as there doesn't appear to be a --no-compression option.) JS -- This is a MacPro with GeForce 8800. It supports GL_ARB_non_power_of_two. Nonetheless, there is something about the MacPro/GF8800 that is causing the issue at build time: When I view the DB built on the Mac on either my Windows or Mac system, the issue is present. When I build the same DB using the same source data on Windows, the issue is not present. (Ideally I'd like to use my Mac; building VPB DBs is one of the main reasons I bought this system. It builds the DB some 20x faster than my old clunker Windows system.) Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jason Beverage Sent: Monday, April 06, 2009 7:41 PM To: OpenSceneGraph Users Subject: Re: [osg-users] VPB texture disappear Hey Paul, I've seen this issue before with non power of two textures not being supported in some situations. VPB tries to use npot textures at the lowest level of detail to most closely match the resolution of the source imagery. Try generating your DB using --pot and see what happens, I bet it works. Thanks, Jason On Mon, Apr 6, 2009 at 9:37 PM, Paul Martz pma...@skew-matrix.com wrote: Same issue viewing the DB on a Windows box, so apparently not a driver issue. I'll try building the DB on Windows. This might take a while; it's not a hot box like my MacPro... Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Monday, April 06, 2009 7:30 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] VPB texture disappear Hi Robert -- I'm seeing an issue where, as the viewpoint approaches the terrain, textures surrounding a high-res inset disappear. This is with very current VPB and OSG running on Mac OS X with a GeForce 8800 card. ss0.jpg shows the scene just before the issue occurs. As I move the viewpoint forward (closer to the terrain), I see the image in ss1.jpg. I also get several instances of the following error in the console: Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) There is strong correlation between this error and the appearance of segments of the database rendered with a missing texture image. I've attached the mkdb.sh script I used to generate the database. Do you have any hints on what might be going on here? This is not the first time I've seen this issue, so I don't think it's new. I've tried changing the value of OSG_DATABASE_PAGER_DRAWABLE but this has no effect on the issue. I'll try rendering the DB on a Windows box and see if I get the same results. Thanks for any help. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 ___ 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] VPB texture disappear
Hi Paul, On Tue, Apr 7, 2009 at 3:58 PM, Paul Martz pma...@skew-matrix.com wrote: Interesting... Neither osgdem nor vpbmaster show a --pot command line option in their help output, but neither of them complain if --pot is present on their command lines. The cache file output from osgdem doesn't appear to be different with or without --pot, which makes me think this must be a vpbmaster option. The non power of two support is pretty new. I've just checked the build options and it's set to round to a power of two by default - which is how it originally worked. This is for controlling whether the output imagery is clamped to a power of two, Using -npot enables the use of non power of two output imagery. Just to be safe, I put --pot on both the osgdem and vpbmaster command lines, and I still get the same results. So this isn't the cause of the issue. Any other suggestions? Given that --pot is default then it's unlikely to make a difference, and suggest that this isn't the issue at hand. Robert, I'm not specifying the --compressed option when I build the DB, so I don't think I need support for compressed NPOT textures. (I'm assuming compression is off by default, as there doesn't appear to be a --no-compression option.) compression is on by default as the results in the best paging performance. Trying using --RGB to select convetional rgb output. JS -- This is a MacPro with GeForce 8800. It supports GL_ARB_non_power_of_two. Nonetheless, there is something about the MacPro/GF8800 that is causing the issue at build time: When I view the DB built on the Mac on either my Windows or Mac system, the issue is present. When I build the same DB using the same source data on Windows, the issue is not present. This may well be down to a driver bug. I vaguely remember issues about read back of texture objects being faulty under OSX so perhaps this is the the problem. (Ideally I'd like to use my Mac; building VPB DBs is one of the main reasons I bought this system. It builds the DB some 20x faster than my old clunker Windows system.) Not using Windows for thread and file system intensive work is sensible for sure. But... NVidia drivers under OSX are a bit flaky, it seems that NVidia OSX drivers have about the same quality as ATI drivers under Windows + Linux. Try dual booting the machine to linux, at least then you'll know you can select a decent filesystem and graphics drivers. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB texture disappear
On Tue, Apr 7, 2009 at 4:24 PM, Paul Martz pma...@skew-matrix.com wrote: OK, maybe I wasn't as current as I thought I was. I updated OSG and VPB and the issue is now gone. Good to hear it's working. I still don't see --pot listed as a command line option, however... I've just added these into the command line options docs. Another svn update on VPB will get this :-) Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB texture disappear
Thanks for everyone's help on this. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Tuesday, April 07, 2009 9:35 AM To: OpenSceneGraph Users Subject: Re: [osg-users] VPB texture disappear On Tue, Apr 7, 2009 at 4:24 PM, Paul Martz pma...@skew-matrix.com wrote: OK, maybe I wasn't as current as I thought I was. I updated OSG and VPB and the issue is now gone. Good to hear it's working. I still don't see --pot listed as a command line option, however... I've just added these into the command line options docs. Another svn update on VPB will get this :-) Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB texture disappear
Same issue viewing the DB on a Windows box, so apparently not a driver issue. I'll try building the DB on Windows. This might take a while; it's not a hot box like my MacPro... Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Monday, April 06, 2009 7:30 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] VPB texture disappear Hi Robert -- I'm seeing an issue where, as the viewpoint approaches the terrain, textures surrounding a high-res inset disappear. This is with very current VPB and OSG running on Mac OS X with a GeForce 8800 card. ss0.jpg shows the scene just before the issue occurs. As I move the viewpoint forward (closer to the terrain), I see the image in ss1.jpg. I also get several instances of the following error in the console: Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) There is strong correlation between this error and the appearance of segments of the database rendered with a missing texture image. I've attached the mkdb.sh script I used to generate the database. Do you have any hints on what might be going on here? This is not the first time I've seen this issue, so I don't think it's new. I've tried changing the value of OSG_DATABASE_PAGER_DRAWABLE but this has no effect on the issue. I'll try rendering the DB on a Windows box and see if I get the same results. Thanks for any help. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] VPB texture disappear
Hey Paul, I've seen this issue before with non power of two textures not being supported in some situations. VPB tries to use npot textures at the lowest level of detail to most closely match the resolution of the source imagery. Try generating your DB using --pot and see what happens, I bet it works. Thanks, Jason On Mon, Apr 6, 2009 at 9:37 PM, Paul Martz pma...@skew-matrix.com wrote: Same issue viewing the DB on a Windows box, so apparently not a driver issue. I'll try building the DB on Windows. This might take a while; it's not a hot box like my MacPro... Paul Martz *Skew Matrix Software LLC* http://www.skew-matrix.com +1 303 859 9466 -- *From:* osg-users-boun...@lists.openscenegraph.org [mailto: osg-users-boun...@lists.openscenegraph.org] *On Behalf Of *Paul Martz *Sent:* Monday, April 06, 2009 7:30 PM *To:* osg-users@lists.openscenegraph.org *Subject:* [osg-users] VPB texture disappear Hi Robert -- I'm seeing an issue where, as the viewpoint approaches the terrain, textures surrounding a high-res inset disappear. This is with very current VPB and OSG running on Mac OS X with a GeForce 8800 card. ss0.jpg shows the scene just before the issue occurs. As I move the viewpoint forward (closer to the terrain), I see the image in ss1.jpg. I also get several instances of the following error in the console: Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) There is strong correlation between this error and the appearance of segments of the database rendered with a missing texture image. I've attached the mkdb.sh script I used to generate the database. Do you have any hints on what might be going on here? This is not the first time I've seen this issue, so I don't think it's new. I've tried changing the value of OSG_DATABASE_PAGER_DRAWABLE but this has no effect on the issue. I'll try rendering the DB on a Windows box and see if I get the same results. Thanks for any help. Paul Martz *Skew Matrix Software LLC* http://www.skew-matrix.com +1 303 859 9466 ___ 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] VPB texture disappear
Thanks. I'll give that a try. If NPOT is the issue, then apparently VPB requires NPOT support at DB build time, not just at run time. I found that creating the same DB on my Windows laptop with Quadro 1500M works great. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jason Beverage Sent: Monday, April 06, 2009 7:41 PM To: OpenSceneGraph Users Subject: Re: [osg-users] VPB texture disappear Hey Paul, I've seen this issue before with non power of two textures not being supported in some situations. VPB tries to use npot textures at the lowest level of detail to most closely match the resolution of the source imagery. Try generating your DB using --pot and see what happens, I bet it works. Thanks, Jason On Mon, Apr 6, 2009 at 9:37 PM, Paul Martz pma...@skew-matrix.com wrote: Same issue viewing the DB on a Windows box, so apparently not a driver issue. I'll try building the DB on Windows. This might take a while; it's not a hot box like my MacPro... Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Paul Martz Sent: Monday, April 06, 2009 7:30 PM To: osg-users@lists.openscenegraph.org Subject: [osg-users] VPB texture disappear Hi Robert -- I'm seeing an issue where, as the viewpoint approaches the terrain, textures surrounding a high-res inset disappear. This is with very current VPB and OSG running on Mac OS X with a GeForce 8800 card. ss0.jpg shows the scene just before the issue occurs. As I move the viewpoint forward (closer to the terrain), I see the image in ss1.jpg. I also get several instances of the following error in the console: Warning: detected OpenGL error 'invalid enumerant' after RenderBin::draw(,) There is strong correlation between this error and the appearance of segments of the database rendered with a missing texture image. I've attached the mkdb.sh script I used to generate the database. Do you have any hints on what might be going on here? This is not the first time I've seen this issue, so I don't think it's new. I've tried changing the value of OSG_DATABASE_PAGER_DRAWABLE but this has no effect on the issue. I'll try rendering the DB on a Windows box and see if I get the same results. Thanks for any help. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 ___ 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