[osg-users] Happy New Year!!! OSG - the BEST!

2007-12-31 Thread GMD GammerMaxyandex.ru
Happy New Year!!!
OSG - the BEST!

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


[osg-users] osg in Visual C++ Express Edition 2008

2007-12-31 Thread Sashidhar Guntury
Hi

   I've been using osg in linux this far. Today I tried installing it in
windows vista with VC++ express edition 2008. I also downloaded the latest
cmake from their site and religiously followed the instructions given in the
wiki, but when I tried to configure it, it says visual studio 8.0 was not
found. Could anybody please tell me where am I going wrong?

  Since the building wasn't working, I downloaded the binaries and
installed them. But now wierd things keep happening. A very simple code of
just loading a model and displaying it doesn't seem to work. It gives an
error like this --

   Unhandled exception at 0x00a10017 in CameraControl.exe:
0xC005: Access violation writing location 0x004205b8.

I tried both the debug as well the release build, but the same error is
given. Please help me... :(

 thanks and happy new year to all the guys at osg :)

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


Re: [osg-users] osg in Visual C++ Express Edition 2008

2007-12-31 Thread Wojciech Lewandowski
I have not done it myself so I am not 100 % sure but from what I've heard CMAKE 
simply does not find your VS 2008 installation on standard predefined paths. 
Workaround is to run cmake from VS 2008 command prompt. This is what I've 
heard. If this does not help ask again in new year. My collegues who use 2008 
with OSG will be back I am sure they will know the answer...

Linking apllication built with VS 2008  against VS 2005 or VS 2003 libs is bad 
idea. There will be a conflict between OSG runtime and your program runtime 
libs (crashes and exceptions). So the only option is to get CMAKE work and 
rebuild whole OSG. Other option would be to go back to VS 2005 but I would 
rather wait few days ;-)
Happy New Year,
Wojtek

  
  - Original Message - 
  From: Sashidhar Guntury 
  To: OpenSceneGraph Users 
  Sent: Monday, December 31, 2007 4:01 PM
  Subject: [osg-users] osg in Visual C++ Express Edition 2008


  Hi

 I've been using osg in linux this far. Today I tried installing it in 
windows vista with VC++ express edition 2008. I also downloaded the latest 
cmake from their site and religiously followed the instructions given in the 
wiki, but when I tried to configure it, it says visual studio 8.0 was not 
found. Could anybody please tell me where am I going wrong?

Since the building wasn't working, I downloaded the binaries and 
installed them. But now wierd things keep happening. A very simple code of just 
loading a model and displaying it doesn't seem to work. It gives an error like 
this -- 

 Unhandled exception at 0x00a10017 in CameraControl.exe: 
0xC005: Access violation writing location 0x004205b8.

  I tried both the debug as well the release build, but the same error is 
given. Please help me... :( 

   thanks and happy new year to all the guys at osg :)

  bye
  Sashidhar



--


  ___
  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] Texturing a Terrain On A Sphere..!

2007-12-31 Thread Robert Osfield
Hi ümit,

You really need to be more specific about what you are trying to do,
and what type of data you are trying to use.  Are you trying to do the
database building yourself?  Using VirtualPlanetBuilder??

Robert.

On Dec 28, 2007 7:44 PM, ümit uzun [EMAIL PROTECTED] wrote:

 Hi mew;

 Sorry for giving wrong link! the real link is 
 http://www.palomino3d.org/pal/openscenegraph/ and I make a terrain 
 Converting GIS Satellite Images for OSG with VTP (Virtual Terrain Project) 
 using osgdem command! I have a *.osga formatted terrain!
 I look at the osgtoy but it can not help me texturing the terrain on sphere!

 Ümit UZUN
 
  Date: Fri, 28 Dec 2007 11:10:26 -0600
  From: [EMAIL PROTECTED]
  To: osg-users@lists.openscenegraph.org
  Subject: Re: [osg-users] Texturing a Terrain On A Sphere..!

 
 
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:osg-users-
  [EMAIL PROTECTED] On Behalf Of ümit uzun
  Sent: Friday, December 28, 2007 8:09 AM
  To: OSG OSG
  Subject: [osg-users] Texturing a Terrain On A Sphere..!
 
  Hi All;
 
  I have a terrain which has a Cordinate System like in
  http://www.palomino3d.org/opnescenegraph And I want to texture map this
  terrain on the sphere (like earth) ! How can I do this work on my earth
  figure! Could anybody show me how to this please..! Or rotate me to
  right example like this!
 
  That link doesn't work, so unclear of your goal, but here's one way to put 
  a texture a sphere
 
  http://osgtoy.svn.sourceforge.net/viewvc/osgtoy/osgtoy/trunk/src/osgPlugins/globe/
 
  -- mew
 
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

 _
 Yeni nesil Windows Live Servisleri'ne şimdi ulaşın!
 http://get.live.com

 ___
 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] access frame buffer when using osgViewer::Viewer

2007-12-31 Thread Robert Osfield
On Dec 28, 2007 8:30 PM, Javier Taibo [EMAIL PROTECTED] wrote:

   You can do it just calling glReadPixels after viewer.frame()

This *only* works when you have a single window, and run single
threaded, all other times the above will crash.

Use a Camera post DrawCallack, placing the glReadPixels in the callback.

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


Re: [osg-users] osg in Visual C++ Express Edition 2008

2007-12-31 Thread Percy Camilo Triveño Aucahuasi
Windows vista uses directx to emulate opengl calls, so the develop of any
software related to osg on that plataform isn't the best idea, is much
better to develop on *nix (basd, linux or even macOS), and if you have a
good drivers (to linux or bsd for instance) then is more convenient.

Greetings

pd: By the way i think is a good idea to use windows xp , the .Net framework
3 works on XP and there isn't any emulation of opengl here. That is my case
:P, i had to uninstall windows vista ... any way this is only a tip ;)

Happy new year :P

2007/12/31, Wojciech Lewandowski [EMAIL PROTECTED]:

  I have not done it myself so I am not 100 % sure but from what I've heard
 CMAKE simply does not find your VS 2008 installation on standard predefined
 paths. Workaround is to run cmake from VS 2008 command prompt. This is what
 I've heard. If this does not help ask again in new year. My collegues who
 use 2008 with OSG will be back I am sure they will know the answer...

 Linking apllication built with VS 2008  against VS 2005 or VS 2003 libs
 is bad idea. There will be a conflict between OSG runtime and your program
 runtime libs (crashes and exceptions). So the only option is to get
 CMAKE work and rebuild whole OSG. Other option would be to go back to VS
 2005 but I would rather wait few days ;-)
 Happy New Year,
 Wojtek



 - Original Message -
 *From:* Sashidhar Guntury [EMAIL PROTECTED]
 *To:* OpenSceneGraph Users osg-users@lists.openscenegraph.org
 *Sent:* Monday, December 31, 2007 4:01 PM
 *Subject:* [osg-users] osg in Visual C++ Express Edition 2008

 Hi

I've been using osg in linux this far. Today I tried installing it
 in windows vista with VC++ express edition 2008. I also downloaded the
 latest cmake from their site and religiously followed the instructions given
 in the wiki, but when I tried to configure it, it says visual studio 8.0was 
 not found. Could anybody please tell me where am I going wrong?

   Since the building wasn't working, I downloaded the binaries and
 installed them. But now wierd things keep happening. A very simple code of
 just loading a model and displaying it doesn't seem to work. It gives an
 error like this --

Unhandled exception at 0x00a10017 in CameraControl.exe:
 0xC005: Access violation writing location 0x004205b8.

 I tried both the debug as well the release build, but the same error is
 given. Please help me... :(

  thanks and happy new year to all the guys at osg
 :)

 bye
 Sashidhar

 --

 ___
 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] osg in Visual C++ Express Edition 2008

2007-12-31 Thread Richard S. Wright Jr.
I can state with full confidence that OpenGL is most certainly not  
emulated by DirectX on Windows Vista. There is a direct3D wrapper for  
OpenGL 1.4 only, and it is only enabled when certain games are  
detected by Microsoft. Both ATI and NVidia have real ICD OpenGL  
drivers for Windows Vista. You must however download and install these  
drivers after installing Vista.


As for CMake on Windows... I have no standing ;-)

For further reference on OpenGL on Vista, see this article:

http://www.opengl.org/pipeline/article/vol003_7/

Richard

On Dec 31, 2007, at 3:51 PM, Percy Camilo Triveño Aucahuasi wrote:

Windows vista uses directx to emulate opengl calls, so the develop  
of any software related to osg on that plataform isn't the best  
idea, is much better to develop on *nix (basd, linux or even  
macOS), and if you have a good drivers (to linux or bsd for  
instance) then is more convenient.


Greetings

pd: By the way i think is a good idea to use windows xp , the .Net  
framework 3 works on XP and there isn't any emulation of opengl  
here. That is my case :P, i had to uninstall windows vista ... any  
way this is only a tip ;)


Happy new year :P

2007/12/31, Wojciech Lewandowski [EMAIL PROTECTED]:
I have not done it myself so I am not 100 % sure but from what I've  
heard CMAKE simply does not find your VS 2008 installation on  
standard predefined paths. Workaround is to run cmake from VS 2008  
command prompt. This is what I've heard. If this does not help ask  
again in new year. My collegues who use 2008 with OSG will be back I  
am sure they will know the answer...


Linking apllication built with VS 2008  against VS 2005 or VS 2003  
libs is bad idea. There will be a conflict between OSG runtime and  
your program runtime libs (crashes and exceptions). So the only  
option is to get CMAKE work and rebuild whole OSG. Other option  
would be to go back to VS 2005 but I would rather wait few days ;-)

Happy New Year,
Wojtek


- Original Message -
From: Sashidhar Guntury
To: OpenSceneGraph Users
Sent: Monday, December 31, 2007 4:01 PM
Subject: [osg-users] osg in Visual C++ Express Edition 2008

Hi

   I've been using osg in linux this far. Today I tried  
installing it in windows vista with VC++ express edition 2008. I  
also downloaded the latest cmake from their site and religiously  
followed the instructions given in the wiki, but when I tried to  
configure it, it says visual studio 8.0 was not found. Could anybody  
please tell me where am I going wrong?


  Since the building wasn't working, I downloaded the  
binaries and installed them. But now wierd things keep happening. A  
very simple code of just loading a model and displaying it doesn't  
seem to work. It gives an error like this --


   Unhandled exception at 0x00a10017 in  
CameraControl.exe: 0xC005: Access violation writing location  
0x004205b8.


I tried both the debug as well the release build, but the same error  
is given. Please help me... :(


 thanks and happy new year to all the guys  
at osg :)


bye
Sashidhar


___
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


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


Re: [osg-users] osg in Visual C++ Express Edition 2008

2007-12-31 Thread Percy Camilo Triveño Aucahuasi
Nice info, thank you, i read the link and find this:

Performance-wise, developers can expect a decrease of
around 10-15% on Windows as compared to
Windows XP.

So i think the people to try to develop on vista have to follow a few tips
of this interesting article.

Greetings


2007/12/31, Richard S. Wright Jr. [EMAIL PROTECTED]:

 I can state with full confidence that OpenGL is most certainly not
 emulated by DirectX on Windows Vista. There is a direct3D wrapper for OpenGL
 1.4 only, and it is only enabled when certain games are detected by
 Microsoft. Both ATI and NVidia have real ICD OpenGL drivers for Windows
 Vista. You must however download and install these drivers after installing
 Vista.
 As for CMake on Windows... I have no standing ;-)

 For further reference on OpenGL on Vista, see this article:

 http://www.opengl.org/pipeline/article/vol003_7/

 Richard

 On Dec 31, 2007, at 3:51 PM, Percy Camilo Triveño Aucahuasi wrote:

 Windows vista uses directx to emulate opengl calls, so the develop of any
 software related to osg on that plataform isn't the best idea, is much
 better to develop on *nix (basd, linux or even macOS), and if you have a
 good drivers (to linux or bsd for instance) then is more convenient.

 Greetings

 pd: By the way i think is a good idea to use windows xp , the .Net
 framework 3 works on XP and there isn't any emulation of opengl here. That
 is my case :P, i had to uninstall windows vista ... any way this is only a
 tip ;)

 Happy new year :P

 2007/12/31, Wojciech Lewandowski [EMAIL PROTECTED]:
 
   I have not done it myself so I am not 100 % sure but from what I've
  heard CMAKE simply does not find your VS 2008 installation on standard
  predefined paths. Workaround is to run cmake from VS 2008 command prompt.
  This is what I've heard. If this does not help ask again in new year. My
  collegues who use 2008 with OSG will be back I am sure they will know the
  answer...
 
  Linking apllication built with VS 2008  against VS 2005 or VS 2003 libs
  is bad idea. There will be a conflict between OSG runtime and your program
  runtime libs (crashes and exceptions). So the only option is to get
  CMAKE work and rebuild whole OSG. Other option would be to go back to VS
  2005 but I would rather wait few days ;-)
  Happy New Year,
  Wojtek
 
 
 
  - Original Message -
   *From:* Sashidhar Guntury [EMAIL PROTECTED]
  *To:* OpenSceneGraph Users osg-users@lists.openscenegraph.org
  *Sent:* Monday, December 31, 2007 4:01 PM
  *Subject:* [osg-users] osg in Visual C++ Express Edition 2008
 
  Hi
 
 I've been using osg in linux this far. Today I tried installing
  it in windows vista with VC++ express edition 2008. I also downloaded the
  latest cmake from their site and religiously followed the instructions given
  in the wiki, but when I tried to configure it, it says visual studio 8.0was 
  not found. Could anybody please tell me where am I going wrong?
 
Since the building wasn't working, I downloaded the binaries
  and installed them. But now wierd things keep happening. A very simple code
  of just loading a model and displaying it doesn't seem to work. It gives an
  error like this --
 
 Unhandled exception at 0x00a10017 in
  CameraControl.exe: 0xC005: Access violation writing location
  0x004205b8.
 
  I tried both the debug as well the release build, but the same error is
  given. Please help me... :(
 
   thanks and happy new year to all the guys at
  osg :)
 
  bye
  Sashidhar
 
  --
 
  ___
  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



 ___
 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] osg in Visual C++ Express Edition 2008

2007-12-31 Thread Richard S. Wright Jr.

Performance-wise, developers can expect a decrease of
around 10-15% on Windows as compared to
Windows XP.


Sometimes it's even worse ;-)

XP drivers are basically highly evolved Windows NT drivers... the  
vendors have had a lot of years to tune them into oblivion... with  
Vista, they basically had to start over (at least this is what one  
NVidia engineer told me). Developers will also find a whole new set of  
driver bugs to contend with.


Richard

On Dec 31, 2007, at 4:24 PM, Percy Camilo Triveño Aucahuasi wrote:


Nice info, thank you, i read the link and find this:

Performance-wise, developers can expect a decrease of
around 10-15% on Windows as compared to
Windows XP.

So i think the people to try to develop on vista have to follow a  
few tips of this interesting article.


Greetings


2007/12/31, Richard S. Wright Jr. [EMAIL PROTECTED]:
I can state with full confidence that OpenGL is most certainly not  
emulated by DirectX on Windows Vista. There is a direct3D wrapper  
for OpenGL 1.4 only, and it is only enabled when certain games are  
detected by Microsoft. Both ATI and NVidia have real ICD OpenGL  
drivers for Windows Vista. You must however download and install  
these drivers after installing Vista.


As for CMake on Windows... I have no standing ;-)

For further reference on OpenGL on Vista, see this article:

http://www.opengl.org/pipeline/article/vol003_7/

Richard

On Dec 31, 2007, at 3:51 PM, Percy Camilo Triveño Aucahuasi wrote:

Windows vista uses directx to emulate opengl calls, so the develop  
of any software related to osg on that plataform isn't the best  
idea, is much better to develop on *nix (basd, linux or even  
macOS), and if you have a good drivers (to linux or bsd for  
instance) then is more convenient.


Greetings

pd: By the way i think is a good idea to use windows xp , the .Net  
framework 3 works on XP and there isn't any emulation of opengl  
here. That is my case :P, i had to uninstall windows vista ... any  
way this is only a tip ;)


Happy new year :P

2007/12/31, Wojciech Lewandowski [EMAIL PROTECTED] :
I have not done it myself so I am not 100 % sure but from what I've  
heard CMAKE simply does not find your VS 2008 installation on  
standard predefined paths. Workaround is to run cmake from VS 2008  
command prompt. This is what I've heard. If this does not help ask  
again in new year. My collegues who use 2008 with OSG will be back  
I am sure they will know the answer...


Linking apllication built with VS 2008  against VS 2005 or VS 2003  
libs is bad idea. There will be a conflict between OSG runtime and  
your program runtime libs (crashes and exceptions). So the only  
option is to get CMAKE work and rebuild whole OSG. Other option  
would be to go back to VS 2005 but I would rather wait few days ;-)

Happy New Year,
Wojtek


- Original Message -
From: Sashidhar Guntury
To: OpenSceneGraph Users
Sent: Monday, December 31, 2007 4:01 PM
Subject: [osg-users] osg in Visual C++ Express Edition 2008

Hi

   I've been using osg in linux this far. Today I tried  
installing it in windows vista with VC++ express edition 2008. I  
also downloaded the latest cmake from their site and religiously  
followed the instructions given in the wiki, but when I tried to  
configure it, it says visual studio 8.0 was not found. Could  
anybody please tell me where am I going wrong?


  Since the building wasn't working, I downloaded the  
binaries and installed them. But now wierd things keep happening. A  
very simple code of just loading a model and displaying it doesn't  
seem to work. It gives an error like this --


   Unhandled exception at 0x00a10017 in  
CameraControl.exe: 0xC005: Access violation writing location  
0x004205b8.


I tried both the debug as well the release build, but the same  
error is given. Please help me... :(


 thanks and happy new year to all the guys  
at osg :)


bye
Sashidhar


___
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



___
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] OSX installation changes

2007-12-31 Thread Nicholas Yue
Hi,
  I have the 2.0 and 2.2 OSX *.dmg

  I noticed that the 2.0 DMG has a installable package, which I had
installed a couple of months ago.

  Now I am looking at 2.2 and the *.dmg contains folders which we are
suppose to drag across.

  Is the long term plan to get a use to drag individual folders to various
locations or to use an installable package.

  Personally, as a newbie, I prefer the installable package as I know the
bits will be installed at all the right locations.

  New Year Resolution : Must be fluent in OpenSceneGraph API

Regards and Happy New Year.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] OSX installation changes

2007-12-31 Thread E. Wing
I only intend to do the dmg/drag-and-drop release. It's extremely well
documented and even has screencasts now. Somebody else did the
installer but I don't think there are concrete plans to continue it.

Newbies should understand the concepts discussed in the screencasts,
installer or not.

http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/MacOSXTips

-Eric


On 12/31/07, Nicholas Yue [EMAIL PROTECTED] wrote:
 Hi,
   I have the 2.0 and 2.2 OSX *.dmg

   I noticed that the 2.0 DMG has a installable package, which I had
 installed a couple of months ago.

   Now I am looking at 2.2 and the *.dmg contains folders which we are
 suppose to drag across.

   Is the long term plan to get a use to drag individual folders to various
 locations or to use an installable package.

   Personally, as a newbie, I prefer the installable package as I know the
 bits will be installed at all the right locations.

   New Year Resolution : Must be fluent in OpenSceneGraph API

 Regards and Happy New Year.

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


Re: [osg-users] STL vectors and function calls

2007-12-31 Thread Wu Xiaodong
*MyIterator-AnotherMethod();  should be   MyIterator-AnotherMethod(); 



On Dec 30, 2007 12:47 AM, Renan Mendes [EMAIL PROTECTED] wrote:

 Hi, everyone.

 I've got  quick question on STL vectors.

 I've created a class (let's call it MyClass) with the method 'bool
 MyMethod(std::vectorMyClass MyVector)' that calls another method 'void
 AnotherMethod()' that makes a simple check on a variable inherent to every
 instance of MyClass.


 How do I write that method? Or better put: how do I change the following
 code to make it right?

 bool MyClass::MyMethod(std::vectorMyClass MyVector)
 {
   std::vectorMyClass::iterator MyIterator;

   for(MyIterator = MyVector.begin(); MyIterator != MyVector.end();
 MyIterator++)
  {
 *MyIterator-AnotherMethod();
  }
 }

 I read that an iterator was a pointer to the content of the vector, why
 doesn't it work?


 Thanks,


 Renan M Z Mendes

 ___
 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] access frame buffer when using osgViewer::Viewer

2007-12-31 Thread Yanling Liu
Thanks Robert. That's what I need.

On Dec 31, 2007 12:40 PM, Robert Osfield [EMAIL PROTECTED] wrote:

 On Dec 28, 2007 8:30 PM, Javier Taibo [EMAIL PROTECTED] wrote:
 
You can do it just calling glReadPixels after viewer.frame()

 This *only* works when you have a single window, and run single
 threaded, all other times the above will crash.

 Use a Camera post DrawCallack, placing the glReadPixels in the callback.

 Robert.
 ___
 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