Re: [osg-users] osgviewerd cow.osg ---no data loaded

2010-07-07 Thread Jean-Sébastien Guay

Hi Randy,


Thanks for your explicit response!
Yes, I've solved this problem and the cow could appear.
But another question now:
The command line shows an error after osgviewerd cow.osg: Error: [Screen #0] 
ChooseMatchingPixelFormat  -Unable to choose the requested pixel format
Any suggestion?
Thanks again!


Do you have OpenGL drivers installed for whatever graphics hardware your 
machine has? That should not happen for the window that osgviewer tries 
to open - it specifies a basic pixel format that should work pretty much 
everywhere.


Also - I notice you're using debug binaries, which won't be what causes 
the above problem, but for performance in the future you should also 
compile OSG in release, and generally use its own applications and 
examples in release mode, it gives a better impression of what OSG can do.


Hope this helps,

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] osgviewerd cow.osg ---no data loaded

2010-07-07 Thread Tom Pearce
Hi,


 Error: [Screen #0] ChooseMatchingPixelFormat -Unable to choose the 
 requested pixel format 



I've had this error pop up while trying to run OSG applications on a remote 
machine via Windows remote desktop - don't know if that's what you're doing, 
but if so, it's probably where the issue is arising.

Cheers,
Tom

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29809#29809





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


Re: [osg-users] osgviewerd cow.osg ---no data loaded

2010-07-07 Thread Randy
Hi Tom,
Thanks for your reply. But I didn't use it on remote machine.

Best regards,
Randy

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Tom Pearce
Sent: Thursday, July 08, 2010 6:10 AM
To: osg-users@lists.openscenegraph.org
Subject: [!! SPAM] Re: [osg-users] osgviewerd cow.osg ---no data loaded

Hi,


 Error: [Screen #0] ChooseMatchingPixelFormat -Unable to choose the
requested pixel format 



I've had this error pop up while trying to run OSG applications on a remote
machine via Windows remote desktop - don't know if that's what you're doing,
but if so, it's probably where the issue is arising.

Cheers,
Tom

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=29809#29809





___
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] osgviewerd cow.osg ---no data loaded

2010-07-07 Thread Randy
Hi J-S,
I find the BUILD_OSG_PLUGINS  is OFF and FREETYPE_LIBRARY_DEBUG is not
found either. But according to the
http://www.openscenegraph.org/projects/osg/wiki/Support/PlatformSpecifics/V
isualStudio, If I have installed 3rdparty libraries, the two above should
be different. Does it means I have not got Freetype plugin?
I do really find that there is a warning :Could not find plugin to read
objects from file ...\arial.ttf...

Best regards,
Randy

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of
Jean-Sébastien Guay
Sent: Wednesday, July 07, 2010 9:09 PM
To: OpenSceneGraph Users
Subject: [!! SPAM] Re: [osg-users] osgviewerd cow.osg ---no data loaded

Hi Randy,

 Thanks for your explicit response!
 Yes, I've solved this problem and the cow could appear.
 But another question now:
 The command line shows an error after osgviewerd cow.osg: Error: [Screen
#0] ChooseMatchingPixelFormat  -Unable to choose the requested pixel
format
 Any suggestion?
 Thanks again!

Do you have OpenGL drivers installed for whatever graphics hardware your 
machine has? That should not happen for the window that osgviewer tries 
to open - it specifies a basic pixel format that should work pretty much 
everywhere.

Also - I notice you're using debug binaries, which won't be what causes 
the above problem, but for performance in the future you should also 
compile OSG in release, and generally use its own applications and 
examples in release mode, it gives a better impression of what OSG can do.

Hope this helps,

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

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


Re: [osg-users] osgviewerd cow.osg ---no data loaded

2010-07-06 Thread Jean-Sébastien Guay

Hello Randy,


After installing, I don’t know how to set environment variable
”OSG_FILE_PATH” which should be the “sample” directory. Since I get only
4 files in installing directory——bin,include,lib,share,but with no
sample file.


See http://www.openscenegraph.org/projects/osg/wiki/Downloads/SampleDatasets

Download the OpenSceneGraph-Data-2.8.0.zip file, unzip it wherever you 
want (it can be in a data directory parallel to your bin, include, 
lib, share directories, for example) then set OSG_FILE_PATH to that 
directory, for example (on Windows):


set OSG_FILE_PATH=C:\OpenSceneGraph\data

If you want OSG_FILE_PATH to be set at the system level (so you don't 
need to set it each time you start a new command prompt) go to your 
system properties, Environment Variables button and set it there.


On Linux (bash), you'd type:

export OSG_FILE_PATH=/home/username/src/OpenSceneGraph/data

and you'd add that to your .bashrc for example.

Hope this helps,

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] osgviewerd cow.osg ---no data loaded

2010-07-06 Thread Randy
Hi J-S,
Thanks for your explicit response!
Yes, I've solved this problem and the cow could appear.
But another question now:
The command line shows an error after osgviewerd cow.osg: Error: [Screen #0] 
ChooseMatchingPixelFormat -Unable to choose the requested pixel format
Any suggestion?
Thanks again!

Best regards,
Randy

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jean-Sébastien 
Guay
Sent: Wednesday, July 07, 2010 12:12 AM
To: OpenSceneGraph Users
Subject: [!! SPAM] Re: [osg-users] osgviewerd cow.osg ---no data loaded

Hello Randy,

 After installing, I don’t know how to set environment variable
 ”OSG_FILE_PATH” which should be the “sample” directory. Since I get only
 4 files in installing directory——bin,include,lib,share,but with no
 sample file.

See http://www.openscenegraph.org/projects/osg/wiki/Downloads/SampleDatasets

Download the OpenSceneGraph-Data-2.8.0.zip file, unzip it wherever you 
want (it can be in a data directory parallel to your bin, include, 
lib, share directories, for example) then set OSG_FILE_PATH to that 
directory, for example (on Windows):

set OSG_FILE_PATH=C:\OpenSceneGraph\data

If you want OSG_FILE_PATH to be set at the system level (so you don't 
need to set it each time you start a new command prompt) go to your 
system properties, Environment Variables button and set it there.

On Linux (bash), you'd type:

export OSG_FILE_PATH=/home/username/src/OpenSceneGraph/data

and you'd add that to your .bashrc for example.

Hope this helps,

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

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