RE: [osg-users] help ... white texture bug
Hello, Thanks for the reply. I've tried different texture sizes, so I think texture dimensions do not matter. It's definitely something else. Gilbert, Daniel R. [EMAIL PROTECTED] wrote: Hi, What is the size (dimensions) of the texture in question? I encountered a similar sounding problem in the past which was caused by using a 4096x4096 texture. This texture rendered just fine on machines with Nvidia cards as they support textures up to this size. Machines with ATI cards could not, as they only supported up to 2048x2048. This might not be the same issue for you, but you could at least rule this out as the culprit. -- Dan - From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of S.Wasi Mohsin Raza Sent: Monday, March 26, 2007 7:58 AM To: osg-users@openscenegraph.net Subject: [osg-users] help ... white texture bug Hello, I'm having a serious issue using textures in my 3d application that is using osglib. the code is using TextureRectangle class of osg. Instead of displaying the texture mapped rectangle, it shows a white rectangle without any texture. This does not happen on all computers. The application works fine and displays the texture correctly on my development machine. Platform: Windows XP, Visual C++ 2003, osglib 1.2 Other libraries used: MFC, Qt Please help! - Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ - We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list.___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
Re: [osg-users] help ... white texture bug
Hello Robert, Thanks for the reply. We have tried the program on different cards, it has worked on NvidiaFX5600, NvidiaGo7800, Mobility Radeon9200 , but has failed on relatively newer Quadro 1300 and Millenium, amongst other professional cards. Moreover, if we replace the same image with the image used in the example texture2D, the example program works on an intel built-in graphic card on Windows XP, but almost the same code does not work on that machine, when used with Qt or WxWidgets, which leads me to believe that there may be something wrong with the OpenGL (QGLWidget) window initialization (though since the same executable is working on other machines so it can't be the code alone that has the problem). The solution may be relatively simple, but nothing we have tried so far has worked, so I am looking for possible causes of this problem. Regards +Wasi Robert Osfield [EMAIL PROTECTED] wrote: Hi, On the machines that the texturing don't work it would be worth checking to see if the TextureRectangle extension is supported. What hardware is that doesn't work? Do you get any errors? Robert. On 3/26/07, S.Wasi Mohsin Raza wrote: Hello, I'm having a serious issue using textures in my 3d application that is using osglib. the code is using TextureRectangle class of osg. Instead of displaying the texture mapped rectangle, it shows a white rectangle without any texture. This does not happen on all computers. The application works fine and displays the texture correctly on my development machine. Platform: Windows XP, Visual C++ 2003, osglib 1.2 Other libraries used: MFC, Qt Please help! Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ - TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV.___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
Re: [osg-users] help ... white texture bug
Hi Wasi, Everything your report points to driver bugs and such will be hard to pinpoint and workaround. Try to find updated drivers. Robert. On 3/28/07, S.Wasi Mohsin Raza [EMAIL PROTECTED] wrote: Hello Robert, Thanks for the reply. We have tried the program on different cards, it has worked on NvidiaFX5600, NvidiaGo7800, Mobility Radeon9200 , but has failed on relatively newer Quadro 1300 and Millenium, amongst other professional cards. Moreover, if we replace the same image with the image used in the example texture2D, the example program works on an intel built-in graphic card on Windows XP, but almost the same code does not work on that machine, when used with Qt or WxWidgets, which leads me to believe that there may be something wrong with the OpenGL (QGLWidget) window initialization (though since the same executable is working on other machines so it can't be the code alone that has the problem). The solution may be relatively simple, but nothing we have tried so far has worked, so I am looking for possible causes of this problem. Regards +Wasi Robert Osfield [EMAIL PROTECTED] wrote: Hi, On the machines that the texturing don't work it would be worth checking to see if the TextureRectangle extension is supported. What hardware is that doesn't work? Do you get any errors? Robert. On 3/26/07, S.Wasi Mohsin Raza wrote: Hello, I'm having a serious issue using textures in my 3d application that is using osglib. the code is using TextureRectangle class of osg. Instead of displaying the texture mapped rectangle, it shows a white rectangle without any texture. This does not happen on all computers. The application works fine and displays the texture correctly on my development machine. Platform: Windows XP, Visual C++ 2003, osglib 1.2 Other libraries used: MFC, Qt Please help! Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ TV dinner still cooling? Check out Tonight's Picks on Yahoo! TV. ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
Re: [osg-users] help ... white texture bug
Hi, On the machines that the texturing don't work it would be worth checking to see if the TextureRectangle extension is supported. What hardware is that doesn't work? Do you get any errors? Robert. On 3/26/07, S.Wasi Mohsin Raza [EMAIL PROTECTED] wrote: Hello, I'm having a serious issue using textures in my 3d application that is using osglib. the code is using TextureRectangle class of osg. Instead of displaying the texture mapped rectangle, it shows a white rectangle without any texture. This does not happen on all computers. The application works fine and displays the texture correctly on my development machine. Platform: Windows XP, Visual C++ 2003, osglib 1.2 Other libraries used: MFC, Qt Please help! Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
RE: [osg-users] help ... white texture bug
Hi, What is the size (dimensions) of the texture in question? I encountered a similar sounding problem in the past which was caused by using a 4096x4096 texture. This texture rendered just fine on machines with Nvidia cards as they support textures up to this size. Machines with ATI cards could not, as they only supported up to 2048x2048. This might not be the same issue for you, but you could at least rule this out as the culprit. -- Dan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of S.Wasi Mohsin Raza Sent: Monday, March 26, 2007 7:58 AM To: osg-users@openscenegraph.net Subject: [osg-users] help ... white texture bug Hello, I'm having a serious issue using textures in my 3d application that is using osglib. the code is using TextureRectangle class of osg. Instead of displaying the texture mapped rectangle, it shows a white rectangle without any texture. This does not happen on all computers. The application works fine and displays the texture correctly on my development machine. Platform: Windows XP, Visual C++ 2003, osglib 1.2 Other libraries used: MFC, Qt Please help! Bored stiff? http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com Loosen up... Download and play hundreds of games for free http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com on Yahoo! Games. ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/