Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-05 Thread Ricky
Hi! I updated driver and the error didn't appear anymore. But I only loaded a simple box and the performance's still very low. When I run in debug mode, the frame rate is just 18-30 fps http://i58.photobucket.com/albums/g278/TTFTotti/2-1.png And in release mode, it's much better, about 600 fps

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-05 Thread Gordon Tomlinson
: Saturday, July 05, 2008 5:49 PM To: osg-users@lists.openscenegraph.org Subject: Re: [osg-users] Problems with loading model in OSG 2.2 Hi! I updated driver and the error didn't appear anymore. But I only loaded a simple box and the performance's still very low. When I run in debug mode, the frame rate

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-03 Thread Robert Osfield
Hi Ricky, To get to the bottom of the performance issue we'll need a bit more info about your setup. What is the performance you get with vsync off for 1.2 and the current OSG version that you are testing? Does performance change when you resize the window? What does the onscreen stats say?

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Ricky
I still can't solve this problem: Error: [screen #0] ChooseMatchingPixelFormat() - Unable to choose the requested pixel format I just loaded a simple model but the program run really slowly (in debug mode), it's better in release mode. I used osg1.2 and it run so fast, even in debug mode. Please

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Robert Osfield
Hi Ricky, I am not a windows developer, I can't help you with windows specific problems. Robert On Wed, Jul 2, 2008 at 1:29 PM, Ricky [EMAIL PROTECTED] wrote: I still can't solve this problem: Error: [screen #0] ChooseMatchingPixelFormat() - Unable to choose the requested pixel format I

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Jean-Sébastien Guay
Hello Ricky, I still can't solve this problem: Error: [screen #0] ChooseMatchingPixelFormat() - Unable to choose the requested pixel format Your message is missing some info we need in order to help you, and there are some things you could do to try and troubleshoot yourself. What is your

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Peter Wraae Marino
Hi Ricky, it sounds like you are using software rendering and not hardware. Why your system defaults to software I have no clue. If your project is small and you don't mind sharing.. you can zip and send it to me at [EMAIL PROTECTED] and I'll have a look at it on my machine. Peter On Wed, Jul

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Ricky
Thanks for your supports! I'm using the OSG binaries downloaded from http://www.mew.cx/osg/. I run this program on Windows XP SP2, VS2005 SP1, video card: ATI Mobility Radeon 2400XT 256MB, RAM DDR2 1GB. When I run osgviewer in command line: osgviewer --window 32 32 512 512 cow.osg, I had the same

Re: [osg-users] Problems with loading model in OSG 2.2

2008-07-02 Thread Peter Wraae Marino
Hi Ricky, ok.. i think we should have asked this first. have you updated your graphic-card driver? Peter On Wed, Jul 2, 2008 at 8:37 PM, Ricky [EMAIL PROTECTED] wrote: Thanks for your supports! I'm using the OSG binaries downloaded from http://www.mew.cx/osg/. I run this program on Windows

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-18 Thread Robert Osfield
Hi Ricky, 2.x shouldn't be slower than 1.2, if it is then this suggests that perhaps you are comparing debug build vs release build, or that the graphics window that's been allocated is forcing the OpenGL driver to run with software rendering. You really need to pass on what hardware/drivers you

[osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Tuan Do
I used OSG 1.2 before and didn't meet problems like this. I've just tried OSG 2.2 with VS 2005 SP1, a simple code: loading a model. The code like this: osg::ref_ptrosg::Node m_Node = new osg::Node(); osg::ref_ptrosg::Group root = NULL; osgViewer::Viewer viewer; osg::Vec3 nodePosit;

[osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Ricky
I used OSG 1.2 before and didn't meet problems like this. I've just tried OSG 2.2 with VS 2005 SP1, a simple code: loading a model. The code like this: osg::ref_ptrosg::Node m_Node = new osg::Node(); osg::ref_ptrosg::Group root = NULL; osgViewer::Viewer viewer; osg::Vec3 nodePosit;

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Jean-Sébastien Guay
Hello Ricky, I duplicated files in lib Folder and add 'd' before the extension. When I built it in Debug mode, it had no error but then I received a message: http://i58.photobucket.com/albums/g278/TTFTotti/error1.png And what did you expect? Using release libs in debug builds is a big no-no

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Robert Osfield
Hi Tuan, The problem loading models is most likely an issue with finding the plugins, these are now placed in a versioned osgPlugins-version directory, so perhaps you've rearranged things from where it's expect them to be, or not set the paths appropriately. Set the OSG_NOTIFY_LEVEL env var to

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Ricky
Thank Jean-Sébastien and Robert. I've done it. But now my problem is: when I debug, there're many command lines appearing on the console window: Where is it from and can I get rid of it? And the second problem: although I only loaded a model but a program run really slow, with low frame when i

Re: [osg-users] Problems with loading model in OSG 2.2

2008-06-17 Thread Ricky
Here is the command lines appeared on console window: http://i58.photobucket.com/albums/g278/TTFTotti/error1-1.png ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org