Re: [osg-users] osgviewer error messages:-

2010-06-18 Thread Alberto Luaces
Sanat Talmaki writes:

 @Alberto
 You were spot on. It was the remote desktop that was doing that. Tried it on 
 the host machine and nothing of that popped up.

 I wonder why it does that on Remote Desktop, did you manage to find out ?

I think it's along the lines that J-S said: inability to create an
accelerated context. I suppose their net protocol is not complex enough
for carrying 3D commands, so they fall back to software mode. Anyway,
the performance was good for me for small examples.

If you want to have an accelerated program displaying data generated in
other computer of your net, maybe you should read the osgcluster example
for inspiration.

-- 
Alberto

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


Re: [osg-users] How can I get vertex from screen coordinate

2010-06-18 Thread Alberto Luaces
Hi Zhang Hongmin,

Zhang Hongmin writes:

 The solution in openGL is to change the render mode to feedback. But I don't 
 know how to do this inside OSG.

To do that, please take a look at the osgpick example.

-- 
Alberto

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Robert Osfield
On Thu, Jun 17, 2010 at 5:23 PM, Robert Osfield
robert.osfi...@gmail.com wrote:
 I would like tag developer releases of the OSG and VPB tomorrow so
 testing across compile and runtime platforms would be very useful.

Oooo the silence...  Has anyone tested out svn/trunk for OSG and VPB
since my call?

If there no negative feedback I'll have to assume everything is fine
just go ahead and tag this morning.  My plan is start pupping out dev
releases weekly again as we start working towards 3.0.

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Alberto Luaces
Robert Osfield writes:

 Oooo the silence...  Has anyone tested out svn/trunk for OSG and VPB
 since my call?

Current OSG SVN is compiling fine for me on Debian amd64 and gcc version
4.4.4 (Debian 4.4.4-1).

Not a corner case, though.

-- 
Alberto

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Wang Rui
Hi Robert,

OSG builds fine on my Windows XP, with both VS2005 and VS2008.
It seems that the GraphicsWindowWin32 sends a warning message when
starting the viewer:

# osgviewer cow.osg
Error: [Screen #0] GraphicsWindowWin32::requestWarpPointer() - Window
not realized; cannot warp pointer
Error: [Screen #0] GraphicsWindowWin32::requestWarpPointer() - Window
not realized; cannot warp pointer

It doesn't affect the rendering work but a little annoying to us. I'll
study deep into the source code this weekend.

Cheers,

Wang Rui


2010/6/18 Robert Osfield robert.osfi...@gmail.com:
 On Thu, Jun 17, 2010 at 5:23 PM, Robert Osfield
 robert.osfi...@gmail.com wrote:
 I would like tag developer releases of the OSG and VPB tomorrow so
 testing across compile and runtime platforms would be very useful.

 Oooo the silence...  Has anyone tested out svn/trunk for OSG and VPB
 since my call?

 If there no negative feedback I'll have to assume everything is fine
 just go ahead and tag this morning.  My plan is start pupping out dev
 releases weekly again as we start working towards 3.0.

 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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Torben Dannhauer
Hi Robert,

I will compile 32 and 64 bit this weekend, maybe today.

Win7
VS 2008 SP1

Thank you!

Cheers,
Torben

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





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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Robert Osfield
HI Wang Rui,

On Fri, Jun 18, 2010 at 10:16 AM, Wang Rui wangra...@gmail.com wrote:
 OSG builds fine on my Windows XP, with both VS2005 and VS2008.
 It seems that the GraphicsWindowWin32 sends a warning message when
 starting the viewer:

 # osgviewer cow.osg
 Error: [Screen #0] GraphicsWindowWin32::requestWarpPointer() - Window
 not realized; cannot warp pointer
 Error: [Screen #0] GraphicsWindowWin32::requestWarpPointer() - Window
 not realized; cannot warp pointer

 It doesn't affect the rendering work but a little annoying to us. I'll
 study deep into the source code this weekend.

Curious.  How long has the warning been there?  As warnings go it's
probably something that is safe to ignore.  I do wonder if it's
related to the refactor of osgGA's camera manipulators.

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Raymond de Vries

Hi Robert,

I am using osgAnimation more and more and it seems to me that at least 2 
examples are not working 100%:
- osganimationtimeline does not animate the diffuse material for the 
head, as far as I can see (nathan.osg)
- osganimationsolid does not animate the 2nd animation (euler), as far 
as I can see


It might still be the case that I don't understand osgAnimation 
correctly but wanted to report this anyway. Actually, I already sent a 
question to the list wrt osganimationtimeline (but no reply). I don't 
have enough experience yet to fix this at this moment.


Btw svn head gives the same results as 2.9.7.

regards
Raymond


On 6/18/2010 10:30 AM, Robert Osfield wrote:

On Thu, Jun 17, 2010 at 5:23 PM, Robert Osfield
robert.osfi...@gmail.com  wrote:
   

I would like tag developer releases of the OSG and VPB tomorrow so
testing across compile and runtime platforms would be very useful.
 

Oooo the silence...  Has anyone tested out svn/trunk for OSG and VPB
since my call?

If there no negative feedback I'll have to assume everything is fine
just go ahead and tag this morning.  My plan is start pupping out dev
releases weekly again as we start working towards 3.0.

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Robert Osfield
HI Wang Rui,

I forgot to mention.  Would it be possible for you try out VPB and see
if you can reproduce the problem in the parsing of the .source file
when reading it.  See the thread started by Brad Christiansen on the
topic.

A bit of background, I've ported VPB across to using the new osgDB
serializers, and everything (read and write) is working correctly
under Linux, but under Windows Brad has found that only the write
works correctly, and the read is failing to parse the
osgTerrain::Layer objects.  I can't recreate the problem myself so
can't dig into it further, so would appreciate some expert help.

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Tim Moore
Some FlightGear users are reporting a spew of debug messages from the
database pager. I'm not clear if they are completely up-to-date i.e.,
whether there are some debug messages left in, or whether we really have a
problem.

Tim

On Fri, Jun 18, 2010 at 11:40 AM, Robert Osfield
robert.osfi...@gmail.comwrote:

 HI Wang Rui,

 I forgot to mention.  Would it be possible for you try out VPB and see
 if you can reproduce the problem in the parsing of the .source file
 when reading it.  See the thread started by Brad Christiansen on the
 topic.

 A bit of background, I've ported VPB across to using the new osgDB
 serializers, and everything (read and write) is working correctly
 under Linux, but under Windows Brad has found that only the write
 works correctly, and the read is failing to parse the
 osgTerrain::Layer objects.  I can't recreate the problem myself so
 can't dig into it further, so would appreciate some expert help.

 Thanks,
 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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Robert Osfield
Hi Tim,

On Fri, Jun 18, 2010 at 10:42 AM, Tim Moore timoor...@gmail.com wrote:
 Some FlightGear users are reporting a spew of debug messages from the
 database pager. I'm not clear if they are completely up-to-date i.e.,
 whether there are some debug messages left in, or whether we really have a
 problem.

This might be the debugging code I added for deadlock detection code,
it'll throw up false positives for http access right now as http calls
can take much longer than the 1 second threshold I set for reporting a
possible deadlock.

I've just #if 0'd out this debugging code and checked this in.

If there are any other debug message still being triggered just let me know.

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Robert Osfield
Hi Raymond,

I'll leave this to Cedric Pinson to pick up on.   If it's easy for him
to fix then I'll let him jump in an address it before I make the dev
release, otherwise I'll just make the release and we can look into
next week.  Please chase Cedric up on this one though ;-)

Robert.

On Fri, Jun 18, 2010 at 10:38 AM, Raymond de Vries ree...@xs4all.nl wrote:
 Hi Robert,

 I am using osgAnimation more and more and it seems to me that at least 2
 examples are not working 100%:
 - osganimationtimeline does not animate the diffuse material for the head,
 as far as I can see (nathan.osg)
 - osganimationsolid does not animate the 2nd animation (euler), as far as
 I can see

 It might still be the case that I don't understand osgAnimation correctly
 but wanted to report this anyway. Actually, I already sent a question to the
 list wrt osganimationtimeline (but no reply). I don't have enough experience
 yet to fix this at this moment.

 Btw svn head gives the same results as 2.9.7.

 regards
 Raymond


 On 6/18/2010 10:30 AM, Robert Osfield wrote:

 On Thu, Jun 17, 2010 at 5:23 PM, Robert Osfield
 robert.osfi...@gmail.com  wrote:


 I would like tag developer releases of the OSG and VPB tomorrow so
 testing across compile and runtime platforms would be very useful.


 Oooo the silence...  Has anyone tested out svn/trunk for OSG and VPB
 since my call?

 If there no negative feedback I'll have to assume everything is fine
 just go ahead and tag this morning.  My plan is start pupping out dev
 releases weekly again as we start working towards 3.0.

 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

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Robert Osfield
Hi Wang Rui et. al,

On Fri, Jun 18, 2010 at 10:16 AM, Wang Rui wangra...@gmail.com wrote:
 OSG builds fine on my Windows XP, with both VS2005 and VS2008.
 It seems that the GraphicsWindowWin32 sends a warning message when
 starting the viewer:

 # osgviewer cow.osg
 Error: [Screen #0] GraphicsWindowWin32::requestWarpPointer() - Window
 not realized; cannot warp pointer
 Error: [Screen #0] GraphicsWindowWin32::requestWarpPointer() - Window
 not realized; cannot warp pointer


I've decided to change the code so it outputs the message to OSG_INFO
rather than emit as an error.

The code catching the case where a pointer wrap request was being made
on a window that hadn't be realized was previously only on the Win32
implementation, but it makes sense to have it all GraphicsWindow*
implementation so I've added this to GraphicsWindowX11 and
GraphicsWindowCarbon, but GraphicsWindowCocoa doesn't have a code to
support the requestWarpPointer() so I could add it - it does however
point to a missing feature that needs to be added.

Since I've checked in changes under Windows, Unix and OSX it would be
very useful to users on these platforms to do another svn update and
let me know how you get on.

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Raymond de Vries

Hi Robert,

Sure, good idea. Thnx for the motivation to bug Cedric :-P I'll do that, 
and I can try it out almost immediately.


Have fun.
Raymond



On 6/18/2010 11:52 AM, Robert Osfield wrote:

Hi Raymond,

I'll leave this to Cedric Pinson to pick up on.   If it's easy for him
to fix then I'll let him jump in an address it before I make the dev
release, otherwise I'll just make the release and we can look into
next week.  Please chase Cedric up on this one though ;-)

Robert.

On Fri, Jun 18, 2010 at 10:38 AM, Raymond de Vriesree...@xs4all.nl  wrote:
   

Hi Robert,

I am using osgAnimation more and more and it seems to me that at least 2
examples are not working 100%:
- osganimationtimeline does not animate the diffuse material for the head,
as far as I can see (nathan.osg)
- osganimationsolid does not animate the 2nd animation (euler), as far as
I can see

It might still be the case that I don't understand osgAnimation correctly
but wanted to report this anyway. Actually, I already sent a question to the
list wrt osganimationtimeline (but no reply). I don't have enough experience
yet to fix this at this moment.

Btw svn head gives the same results as 2.9.7.

regards
Raymond


On 6/18/2010 10:30 AM, Robert Osfield wrote:
 

On Thu, Jun 17, 2010 at 5:23 PM, Robert Osfield
robert.osfi...@gmail.comwrote:

   

I would like tag developer releases of the OSG and VPB tomorrow so
testing across compile and runtime platforms would be very useful.

 

Oooo the silence...  Has anyone tested out svn/trunk for OSG and VPB
since my call?

If there no negative feedback I'll have to assume everything is fine
just go ahead and tag this morning.  My plan is start pupping out dev
releases weekly again as we start working towards 3.0.

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

 

___
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] Static rotating a box shape

2010-06-18 Thread Vincent Ong
Hi,
Right now I can place that compass static on the screen now. But now it does 
not reflect correctly. Guess my calculations are done incorrectly. Does anyone 
done it before?
... 

Thank you!

Cheers,
Vincent

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





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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Wojciech Lewandowski

Hi Wang  J-S

I saw it on Radeon 4800  5890 in Windows 7 with multiple monitors. But it 
was week ago and obvioulsy it wasn't the current version. I am currently 
rebuilding last version. I will let you know when I do the tests. However, 
in the meantime I have uninstalled the Radeons but have the Quadro instead 
so results will be still interesting I hope.


Cheers,
Wojtek Lewandowski

--
From: Wang Rui wangra...@gmail.com
Sent: Friday, June 18, 2010 2:30 PM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Developer release of OSG and VPB imminent,please 
test.



Hi Robert, and Adrian,

The issue seems to appear around the time of modification of osgGA
manipulators. I will look into it.

I'm not sure if it is a driver issue. I'm using nVidia Geforce 8600GT.
But one of my friend also report the problem. I'll have a test on a
Geforce 9600GT system tonight.

Cheers,

Wang Rui


2010/6/18 Robert Osfield robert.osfi...@gmail.com:


Curious.  How long has the warning been there?  As warnings go it's
probably something that is safe to ignore.  I do wonder if it's
related to the refactor of osgGA's camera manipulators.

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 


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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

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

Hi Wojtek, Wang Rui,


Its on QuadroPlex. But I doubt hardware is involved. Maybe Windows
version (mine is 7 64 bit) has more to do with it...


Windows 7 64bit here too... Wang Rui, were you able to debug into the 
code and find anything?


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] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Wang Rui
Hi Robert, J-S et al,

In DriveManipulator.cpp, the init() and home() methods both try to
call requestWarpPointer() to modify the cursor, which may happen
before the viewer is realized and produce the warning messages. I
believe that an application not using the DriverManipulator will never
see the issue, for instance, the osganimate example. :)

I'm not sure if DriverManipulator could be modified to avoid wrapping
mouse pointers when initializing. But it seems to be no harm at all.

Cheers,

Wang Rui

2010/6/18 Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com:
 Hi Wojtek, Wang Rui,

 Its on QuadroPlex. But I doubt hardware is involved. Maybe Windows
 version (mine is 7 64 bit) has more to do with it...

 Windows 7 64bit here too... Wang Rui, were you able to debug into the code
 and find anything?

 J-S
 --
 __
 Jean-Sebastien Guay    jean-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] [osgPlugins] reading png files in OSG

2010-06-18 Thread Adam Smith
Hi J-S,

Got osgOcean (oceanExample) to work finally (yeah!) [Well, sort of as I am 
still having issues with the SkyDome not showing up].  

As for the PNG file problem, seems there are some issues with the debug 
libraries I was using.

I appreciate your guidance as it was critical in getting me to this point.  I 
will now try to dig in deeper to become more knowledgable (and helpful to 
others!).

Thanks again.

Regards,

Adam

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





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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Wojciech Lewandowski

I hit send too fast. Let me write it again:

Hi J-S,

Just put breakpoints at line where warning is output and in
GraphicsWindowWin32::realizeImplementation(). First is hit before the 
second.


So case is straight forward:
FlightManipulator is added to KeySwithcManipulator set as main Viewer
CameraManipulator. When added it calls home() to initialize and home() calls
requestWarpPointer() to center mouse  position.
Its done before Viewer::realize() so the warning is correct.

Question is whether requestWarpPointer() should be called there if its not
working. GraphicsWindowX11::requestWarpPointer most probably does not work
too, but it does not display the warning...

Wojtek
PS. Hope it clearer now.

--
From: Wojciech Lewandowski lewandow...@ai.com.pl
Sent: Friday, June 18, 2010 4:18 PM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Developer release of OSG and VPB imminent,please 
test.



Hi J-S,

Jusat put breakpoints at line where warning is output and in 
GraphicsWindowWin32::realizeImplementation. First is hit before the 
second. So case is straight forward. FlightManipulator is added to 
KeySwithcManipulator set as main Viewer CameraManipulator. When added it 
call home to initialize and home calls requestWarpPointer to center mouse 
positio. As its done before Viewer::realize the warning is correct.


Question is whether requestWarpPointer should be called there if its not 
working. GraphicsWindowX11::requestWarpPointer most probably does not work 
too but it does not display the warning...


Wojtek
PS. In my opinion

--
From: Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com
Sent: Friday, June 18, 2010 4:00 PM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Developer release of OSG and VPB imminent, please 
test.



Hi Wojtek, Wang Rui,


Its on QuadroPlex. But I doubt hardware is involved. Maybe Windows
version (mine is 7 64 bit) has more to do with it...


Windows 7 64bit here too... Wang Rui, were you able to debug into the 
code and find anything?


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 


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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Wang Rui
Hi Wojciech,

Yes, FlightManipulator also calls centerMousePointer() in its init()
and home() method, which calls requestWarpPointer() internally. The
FlightManipulator and DriverManipulator both bring about the issue.

Cheers,

Wang Rui


2010/6/18 Wojciech Lewandowski lewandow...@ai.com.pl:
 I hit send too fast. Let me write it again:

 Hi J-S,

 Just put breakpoints at line where warning is output and in
 GraphicsWindowWin32::realizeImplementation(). First is hit before the
 second.

 So case is straight forward:
 FlightManipulator is added to KeySwithcManipulator set as main Viewer
 CameraManipulator. When added it calls home() to initialize and home() calls
 requestWarpPointer() to center mouse  position.
 Its done before Viewer::realize() so the warning is correct.

 Question is whether requestWarpPointer() should be called there if its not
 working. GraphicsWindowX11::requestWarpPointer most probably does not work
 too, but it does not display the warning...

 Wojtek
 PS. Hope it clearer now.

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


Re: [osg-users] [vpb] Required File Formats for VPBMaster

2010-06-18 Thread Riepl, David M
If you have Globalmapper, you can easily convert the .adf format to a GeoTIFF 
(elevation 16/32) or DTED.  If that is something you want to do. 


David Riepl
Content Development Lead
Visualization IG/DB Team
Training Systems  Services
The Boeing Company
314-777-4741

-Original Message-
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Sanat Talmaki
Sent: Thursday, June 17, 2010 11:29 AM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] [vpb] Required File Formats for VPBMaster

Hi,

I recently downloaded VPB and after looking at a batchfile to build a terrain  
in OSGGIS:
@echo off
vpbmaster ^
   --terrain ^
   -t ..\source\boston-10m-utm19n-meters.tif ^
   -d ..\source\boston-dem-downtown-5m-utm19n-meters.tif ^
   -o out.ive -v 3


I obseved that I needed the following files:
1) tif file for dem
2) tif file for orthoimage

So I tried to get the data from the National Map Seamless Server. 
http://seamless.usgs.gov/website/seamless/viewer.htm?startbottom=5.0starttop=85.0startleft=-170startright=-60.0limitbottom=-85.0limittop=85.0limitleft=-179.5limitright=179.5

While the satellite image folder that I downloaded came with a tif, aux, prj, 
tfw file; The elevation folder that I downloaded came with the following:
aux, prj, shp, shx and a bunch of adf files. (No TIF file)

So without a tif file, how can I use vpbmaster ?

I know the procedure to build a 3d terrain using ArcGIS but I wanted to use a 
batch command like above to create a terrain and drape it with the image using 
vpb and vpbmaster in particular.

Can anyone guide me as to what I need to do ?

Thanks

Sanat

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





___
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] [osgPlugins] reading png files in OSG

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

Hi Adam,


Got osgOcean (oceanExample) to work finally (yeah!) [Well, sort of as I am 
still having issues with the SkyDome not showing up].


Good to know you got your compilation and runtime issues worked out.

The skydome is loaded from images, so two obvious causes for it not 
working would be that it can't find the images, or that it can't load 
them once they're found. So set OSG_NOTIFY_LEVEL=DEBUG and see if it can 
find + load the images.


As I recall, it tries to find the images (and other resources) in a path 
relative to your current working directory when you run the 
oceanExampleé Perhaps you need to switch to the osgOcean directory (that 
has resources/ under it) before running it?


Good luck,

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] Visual Studio 2010 and VPB

2010-06-18 Thread D.J. Caldwell
Brad,

Sorry for the confusion, but reverting to GDAL 1.6 was our work-around.  :(

We haven't had time to investigate exactly what the cause of the
problem was or how to fix it.

If and when we do find a way to use a more current version of GDAL,
I'll try to remember to let you all know, especially since we only use
it for building/using VPB.

Again, I'm sorry if I caused confusion.  Good luck...

D.J.


On Thu, Jun 17, 2010 at 8:35 PM, Christiansen, Brad
brad.christian...@thalesgroup.com.au wrote:
 Hi,

 I am interested as I would like to move to the latest gdal version. I have 
 reverted back to 1.6 for now for different reasons but would like to upgrade. 
 Please do share hw you worked around the runtime problems.

 Cheers,

 Brad

 -Original Message-
 From: osg-users-boun...@lists.openscenegraph.org 
 [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of D.J. Caldwell
 Sent: Friday, 18 June 2010 1:26 AM
 To: OpenSceneGraph Users
 Subject: Re: [osg-users] Visual Studio 2010 and VPB

 Hi Brad.

 We have only been using VPB 0.9.10 with OSG 2.8.3 for a little while,
 but we found using GDAL 1.6 worked, but 1.7 did not.  I'm not sure
 what the exact problem was, but I think we had a runtime error (I
 know, you're experiencing linker problems) having to do with mapping
 the texture to the geometry.

 Another caveat, we're still using VS2005, but we're hoping to upgrade soon!  
 :)

 Anyway, I thought you might be interested in the runtime problem, and
 how we worked around it, in case you run into similar problems.

 Good luck...

 D.J.

 On Wed, Jun 16, 2010 at 10:35 PM, Christiansen, Brad
 brad.christian...@thalesgroup.com.au wrote:
 Hi,



 Thanks for the suggestions. I have checked that both are built with the same
 options, including the 3rd part dependencies, and as far as I can tell, they
 all are. I did end up using the /FORCE:MULTIPLE option but I really don't
 like just ignoring the issue.

 For now I have moved back to VS 2008 as I have run out of time to get things
 working. Hopefully I will get a chance to look at it again soon as this was
 the final hurdle to having everything building correctly.



 Cheers,



 Brad



 From: osg-users-boun...@lists.openscenegraph.org
 [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Cory
 Riddell
 Sent: Wednesday, 16 June 2010 11:37 PM
 To: OpenSceneGraph Users
 Subject: Re: [osg-users] Visual Studio 2010 and VPB



 On 6/16/2010 3:10 AM, Christiansen, Brad wrote:

 Hi,



 I have managed to build OSG (and 3rd party dependencies) using Visual Studio
 2010 but I have hit a snag with VPB. The error has been reported before by
 Matrin Naylor, but there didn't seem to be any resolution. The error is:



 1osgDB.lib(osgDB.dll) : error LNK2005: public: void __thiscall
 std::basic_ofstreamchar,struct std::char_traitschar ::`vbase
 destructor'(void)
 (??_d?$basic_ofstr...@du?$char_traits@d...@std@@@std@@QAEXXZ) already defined
 in SpatialProperties.obj

 1 Creating library
 D:/adi_vsfz/projects/OSG/osg-trunk-2010/vpb-build/lib/Release/vpb.lib and
 object D:/adi_vsfz/projects/OSG/osg-trunk-2010/vpb-build/lib/Release/vpb.exp

 1D:\adi_vsfz\projects\OSG\osg-trunk-2010\vpb-build\lib\Release\vpb.dll :
 fatal error LNK1169: one or more multiply defined symbols found

 You can always tell the linker to ignore the problem with /FORCE:MULTIPLE.
 I'd only do that as a last resort though because there might actually be a
 problem here.

 Are both projects compiled with VS2010 with the same settings?

 Cory

 DISCLAIMER:---
 This e-mail transmission and any documents, files and previous e-mail
 messages attached to it are private and confidential. They may contain
 proprietary or copyright material or information that is subject to legal
 professional privilege. They are for the use of the intended recipient only.
 Any unauthorised viewing, use, disclosure, copying, alteration, storage or
 distribution of, or reliance on, this message is strictly prohibited. No
 part may be reproduced, adapted or transmitted without the written
 permission of the owner. If you have received this transmission in error, or
 are not an authorised recipient, please immediately notify the sender by
 return email, delete this message and all copies from your e-mail system,
 and destroy any printed copies. Receipt by anyone other than the intended
 recipient should not be deemed a waiver of any privilege or protection.
 Thales Australia does not warrant or represent that this e-mail or any
 documents, files and previous e-mail messages attached are error or virus
 free.
 --
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


 ___
 

Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Robert Osfield
Hi Guys,

I thought I had checked in my changes to make the warning using the
INFO notify level, but alas I now find that I didn't, there are now
checked in.  This will quieten the warning.

Whether we need to do anything about osgGA's invoking the warp pointer
is still an open question though, I haven't done into the relevant
code to answer 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] Required File Formats for VPBMaster

2010-06-18 Thread Robert Osfield
Hi Sanat,

VBP using GDAL for reading imagery and DEMS, so it supports all the
formats that GDAL reads.  Either of the following wll list all the
formats:

  osgdem --formats
  vpbmaster --formats

Or you can just invoke GDAL's command  line tools to get essentially
the same info:

  gdalinfo --formats

If you don't have gespatial data in one of these formats you'll need
to use another tool to convert them to a supported format.

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


[osg-users] How to know if a pre render pass has finished rendering

2010-06-18 Thread Prakhar Jain
Hi,


I have problem. I would be thankful if anyone would be able to help.

I wish to do a Render  to Texture in which I have set the render target for the 
camera to be an osg image. 

Is there a way by which I can know if the prerender pass has finished or not ?.

... 

Thank you!

Cheers,
Prakhar

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





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


Re: [osg-users] How to know if a pre render pass has finished rendering

2010-06-18 Thread Robert Osfield
Hi Prakahar,

Just use a Camera post draw callback.

Robert.

On Fri, Jun 18, 2010 at 3:15 PM, Prakhar Jain mindfields@gmail.com wrote:
 Hi,


 I have problem. I would be thankful if anyone would be able to help.

 I wish to do a Render  to Texture in which I have set the render target for 
 the camera to be an osg image.

 Is there a way by which I can know if the prerender pass has finished or not 
 ?.

 ...

 Thank you!

 Cheers,
 Prakhar

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





 ___
 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] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Laurens Voerman

Hi Robert,

OSG builds fine on my Windows XP, with VS2008.
Our application runs as expected. I have not tested VPB nor have I 
tested with linux (not test case ready).


Laurens.

On 6/18/2010 10:30 AM, Robert Osfield wrote:

On Thu, Jun 17, 2010 at 5:23 PM, Robert Osfield
robert.osfi...@gmail.com  wrote:

I would like tag developer releases of the OSG and VPB tomorrow so
testing across compile and runtime platforms would be very useful.


Oooo the silence...  Has anyone tested out svn/trunk for OSG and VPB
since my call?

If there no negative feedback I'll have to assume everything is fine
just go ahead and tag this morning.  My plan is start pupping out dev
releases weekly again as we start working towards 3.0.

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


Re: [osg-users] Developer release of OSG and VPB imminent, please test.

2010-06-18 Thread Wojciech Lewandowski

Hi Robert,

I think thats Ok to silence the warning only. Maybe warpPointer should not 
be called at the inital home() call but I guess it should be called on next 
home() call when user presses space.


So in the end I don't know either, whether its wrong or good to have 
requestWarpPointer() there. But if I don't know how to fix it, I would leave 
it as is. Maybe others have better ideas...


Wojtek

--
From: Robert Osfield robert.osfi...@gmail.com
Sent: Friday, June 18, 2010 4:59 PM
To: OpenSceneGraph Users osg-users@lists.openscenegraph.org
Subject: Re: [osg-users] Developer release of OSG and VPB imminent,please 
test.



Hi Guys,

I thought I had checked in my changes to make the warning using the
INFO notify level, but alas I now find that I didn't, there are now
checked in.  This will quieten the warning.

Whether we need to do anything about osgGA's invoking the warp pointer
is still an open question though, I haven't done into the relevant
code to answer this.

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


Re: [osg-users] How to know if a pre render pass has finished rendering

2010-06-18 Thread Paul Martz

Prakhar Jain wrote:
I wish to do a Render  to Texture in which I have set the render target for the camera to be an osg image. 


Is there a way by which I can know if the prerender pass has finished or not ?.


Attach a post-draw callback to the Camera. See the Camera header file.

--
  -Paul Martz  Skew Matrix Software
   http://www.skew-matrix.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] OpenSceneGaph 2.9.8 dev release tagged :-)

2010-06-18 Thread Robert Osfield
Hi All,

I have just tagged the OpenSceneGraph-2.9.8 dev release.  Thanks to
all those who've contributed to development these four months since
the last dev release, and all those that have been testing/debugging
over the last day.  I've put a  quick summary of changes up on

http://www.openscenegraph.org/projects/osg/wiki/Downloads/DeveloperReleases

Which reads:

* OpenSceneGraph-2.9.8, released on 18th June 2009, key
deliverables in this dev release are:
  o Revamped 3ds plugin that supports and reading and writing,
and now uses a latest lib3ds source code.
  o New osgDB serializers and associated .osgt (text), .osgb
(binary) and .osgx (xml) file formats that are extensible, and
deprecate the old .osg and .ive formats.
  o Revamp of osgGA CameraManipulators
  o New osgQT library for integrating QT and OpenSceneGraph
  o Range of improvements to the FBX plugin
  o Rewrite of osg::observer_ptr and osg::Observer, with
introduce of new ObserverNodePath class, for addressing threading
issues with old implementation.
  o A range of improvements to DatabasePager to improve
performance, reduced memory usage, and address crashes/deadlocks.
  o Fixes to memory usage in TerraPage (.txp) plugin.
  o Improvements to the Graphviz .dot plugin and added support
for dot diagrams to !Present3D application.
  o Improvements to COLLADA .dae plugin, including adding
support for animation using osgAnimation.
  o Support for static linking of OpenGL ES 2.0.
  o Improvements to Inventor and VRML plugins.
  o Support for automatic boundary equalization in osgTerrain
databases (requires databases to built with updated
VirtualPlanetBuilder to take advantage of it.)
  o New OSG_INFO/OSG_NOTICE/OSG_WARN/OSG_DEBUG macro's that
add a condition infront of the underlying osg::notify(..) call they
provide to avoid executing stream code when messages were being
discarded, and also done in a way that compilers can optimize the
notification code out completely when notification is completely
disabled via the new cmake GOSG_NOTIFY_DISABLE variable. Under Windows
this new feature avoids a hitting a contended global mutex that
Microsoft uses in it ostream implementation and results in a
noticeable improvement in speed. All platforms will benefit from lower
overheads as well, but not quite as dramatic as under windows.
  o Many general bug fixes and minor feature
improvements/optimizations.

source package : OpenSceneGraph-2.9.8.zip
svn tag: svn co
http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.9.8
OpenSceneGraph

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


Re: [osg-users] How to know if a pre render pass has finished rendering

2010-06-18 Thread Prakhar Jain
[quote=Paul Martz]Prakhar Jain wrote:

 I wish to do a Render  to Texture in which I have set the render target for 
 the camera to be an osg image. 
 
 Is there a way by which I can know if the prerender pass has finished or not 
 ?.
 

Attach a post-draw callback to the Camera. See the Camera header file.



Thank you for the answers. How can I do this, can you give me a rough idea ?

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





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


Re: [osg-users] VPBMaster failing

2010-06-18 Thread Wang Rui
Hi all,

I've just submitted a new CompositeLayer wrapper and made some fixes
to DatabaseBuilderIO.cpp. Hope the problem be solved now.

Cheers,

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


Re: [osg-users] How to know if a pre render pass has finished rendering

2010-06-18 Thread Trajce (Nick) Nikolov
Hi,

have a look at osghud example. It shows how to use postDrawCallbacks to save
the rendered image into a file

-Nick


On Fri, Jun 18, 2010 at 7:49 PM, Prakhar Jain mindfields@gmail.comwrote:

 [quote=Paul Martz]Prakhar Jain wrote:

  I wish to do a Render  to Texture in which I have set the render target
 for the camera to be an osg image.
 
  Is there a way by which I can know if the prerender pass has finished or
 not ?.
 

 Attach a post-draw callback to the Camera. See the Camera header file.



 Thank you for the answers. How can I do this, can you give me a rough idea
 ?

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





 ___
 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] OpenSceneGaph 2.9.8 dev release tagged :-)

2010-06-18 Thread Maxim Gammer
error:
Scanning dependencies of target osgQt
[ 98%] Building CXX object src/osgQt/CMakeFiles/osgQt.dir/QFontImplementation.o
[ 98%] Building CXX object src/osgQt/CMakeFiles/osgQt.dir/QGraphicsViewAdapter.o
[ 98%] Building CXX object src/osgQt/CMakeFiles/osgQt.dir/QWidgetImage.o
[ 98%] Building CXX object
src/osgQt/CMakeFiles/osgQt.dir/__/__/include/osgQt/moc_QGraphicsViewAdapter.o
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:11:2:
error: #error The header file 'QGraphicsViewAdapter' doesn't include
QObject.
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:19:
error: expected constructor, destructor, or type conversion before
'static'
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:45:
error: 'QMetaObject' does not name a type
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:54:
error: expected initializer before '*' token
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:59:
error: 'osgQt' has not been declared
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:
In function 'void* qt_metacast(const char*)':
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:62:
error: 'strcmp' was not declared in this scope
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:63:
error: expected type-specifier before 'QGraphicsViewAdapter'
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:63:
error: expected '' before 'QGraphicsViewAdapter'
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:63:
error: expected '(' before 'QGraphicsViewAdapter'
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:63:
error: 'QGraphicsViewAdapter' was not declared in this scope
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:63:
error: expected primary-expression before '' token
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:63:
error: invalid use of 'this' in non-member function
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:63:
error: expected ')' before ';' token
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:64:
error: 'QObject' has not been declared
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:
At global scope:
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:67:
error: 'osgQt' has not been declared
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:67:
error: 'QMetaObject' has not been declared
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:67:
error: expected primary-expression before 'int'
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:67:
error: expected primary-expression before 'void'
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:67:
warning: initializer expression list treated as compound expression
/home/maximum2000/DEVELOP/OpenSceneGraph-2.9.8/tempo/src/osgQt/__/__/include/osgQt/moc_QGraphicsViewAdapter.cxx:68:
error: expected ',' or ';' before '{' token
make[2]: *** 
[src/osgQt/CMakeFiles/osgQt.dir/__/__/include/osgQt/moc_QGraphicsViewAdapter.o]
Ошибка 1
make[1]: *** [src/osgQt/CMakeFiles/osgQt.dir/all] Ошибка 2
make: *** [all] Ошибка 2


2010/6/18 Robert Osfield robert.osfi...@gmail.com:
 Hi All,

 I have just tagged the OpenSceneGraph-2.9.8 dev release.  Thanks to
 all those who've contributed to development these four months since
 the last dev release, and all those that have been testing/debugging
 over the last day.  I've put a  quick summary of changes up on

http://www.openscenegraph.org/projects/osg/wiki/Downloads/DeveloperReleases

 Which reads:

* OpenSceneGraph-2.9.8, released on 18th June 2009, key
 deliverables in this dev release are:
  o Revamped 3ds plugin that supports and reading and writing,
 and now uses a latest lib3ds source code.
  o New osgDB serializers and associated .osgt (text), .osgb
 (binary) and .osgx (xml) file formats that are extensible, and
 deprecate the old .osg 

Re: [osg-users] FBX plugin with FBX SDK 2011.2

2010-06-18 Thread Peter Bear
Hi, I feel I should point out that the newest SDK, 2011.3 is having the same 
issue.

Cheers,
Peter

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





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


[osg-users] [build] osg-2.8.3 and ffmpeg-0.6

2010-06-18 Thread Taurnil Oronar
Compiling from source on x86_64 and OSG make fails with this error;


Code:
[ 96%] Building CXX object 
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.o
[ 96%] Building CXX object 
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o
[ 96%] Building CXX object 
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o
[ 96%] Building CXX object 
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderVideo.o
[ 96%] Building CXX object 
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegImageStream.o
In file included from /usr/include/libavutil/avutil.h:81,
 from /usr/include/libavcodec/avcodec.h:30,
 from 
/usr/src/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:11,
 from 
/usr/src/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,
 from 
/usr/src/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9,
 from 
/usr/src/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegDecoder.hpp:5,
 from 
/usr/src/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegImageStream.hpp:10,
 from 
/usr/src/OpenSceneGraph-2.8.3/src/osgPlugins/ffmpeg/FFmpegImageStream.cpp:2:
/usr/include/libavutil/common.h: In function 'int32_t av_clipl_int32(int64_t)':
/usr/include/libavutil/common.h:154: error: 'UINT64_C' was not declared in this 
scope
make[2]: *** 
[src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegImageStream.o] Error 1
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
make: *** [all] Error 2





After searching the only thing I could really find ffmpeg related was a post 
about changing ;

${FFMPEG_STDINT_INCLUDE_DIR} 

to 

(FFMPEG_STDINT_INCLUDE_DIR)

in the OSG FindFFmpeg.cmake which had no effect. Any pointers?


Taurnil[/code]

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





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


Re: [osg-users] FBX plugin with FBX SDK 2011.2

2010-06-18 Thread Michael Platings
The same issue as what?
The FBX developers temporarily parted with their sanity for 2011.3 and
switched from providing only static libraries to providing only dynamic
libraries. After much protest from developers they've agreed to release a
new version soon with both dynamic  static libs so I'll wait until that
next release before updating the plugin. For now you still need to use the
2011.2 FBX SDK

On 18 June 2010 20:16, Peter Bear th3fly...@gmail.com wrote:

 Hi, I feel I should point out that the newest SDK, 2011.3 is having the
 same issue.

 Cheers,
 Peter

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





 ___
 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] [build] osg-2.8.3 and ffmpeg-0.6

2010-06-18 Thread Paul Martz

Taurnil Oronar wrote:

/usr/include/libavutil/common.h:154: error: 'UINT64_C' was not declared in this 
scope
make[2]: *** 
[src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegImageStream.o] Error 1
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
make: *** [all] Error 2





After searching the only thing I could really find ffmpeg related was a post 
about changing ;

${FFMPEG_STDINT_INCLUDE_DIR} 

to 


(FFMPEG_STDINT_INCLUDE_DIR)

in the OSG FindFFmpeg.cmake which had no effect. Any pointers?


There were no changes to the ffmpeg plugin source for 2.8.3, so I'd think you'd 
get the same build results as with 2.8.2, presuming you're using the same 
version of the dependency as you use for 2.8.2. Is this the case? Is it broke 
the same way for 2.8.2?


--
  -Paul Martz  Skew Matrix Software
   http://www.skew-matrix.com/
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org