Re: [osg-users] VPB version for OSG 2.8.2 (0.9.10 not there?)

2010-11-20 Thread Sanat Talmaki
Hi Chris,

That was it...I copied the plugins dll and it worked like a charm.

Thanks for helping me out. 

Sanat

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





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


Re: [osg-users] VPB version for OSG 2.8.2 (0.9.10 not there?)

2010-11-20 Thread Chris 'Xenon' Hanson
On 11/20/2010 4:33 PM, Sanat Talmaki wrote:
> Error: do not have write permission to write out file output.ive
> Caught exception : Error: do not have write permission to write out file 
> output.
> ive

  I believe this is a misleading error that really means "couldn't write". 
Permissions
aren't really the cause, it just is saying the write failed. this could be due 
to
inability to access the .ive writer plugin.

-- 
Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com 
http://www.alphapixel.com/
  Digital Imaging. OpenGL. Scene Graphs. GIS. GPS. Training. Consulting. 
Contracting.
"There is no Truth. There is only Perception. To Perceive is to Exist." - 
Xen
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPB version for OSG 2.8.2 (0.9.10 not there?)

2010-11-20 Thread Sanat Talmaki
Hi Jean,

Thanks for your earlier reply. I can start working on that approach. 

But I am having issues with osgdem:

osgdem is not allowing me to write out the file as I am getting the following 
error:


Error: do not have write permission to write out file output.ive
Caught exception : Error: do not have write permission to write out file output.
ive
 
I am running the terminal window as administrator so I don't think this is a 
permission issue.

Have you come across something similar or do you know why something like this 
would come up ?

Thanks

Sanat

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





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


Re: [osg-users] VPB version for OSG 2.8.2 (0.9.10 not there?)

2010-11-20 Thread Jean-Sébastien Guay

Hello Sanat,


That was very helpful. I got it built and running.


Glad I could help.


Just on a related note-
Does VPB store the terrain as a quadtree ? (the reason I am asking is because I 
am trying to write an app to modify elevations in the terrain at real-time and 
wanted to know the quickest way to find the elevation node I'm interested in)


Yes, VPB builds databases organized as a quadtree of PagedLOD nodes. You 
can build a very small database with just a few levels and specify the 
output files as .osg files, and examine the generated files to see the 
structure. .osg files are plain text and easy to understand.


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] [build] dylib and install name os x

2010-11-20 Thread Gabriel Nützi
I use now cmake

and the additional linker cmake flag (CMAKE_SHARED_LINKER_FLAGS):


Code:
CMAKE_SHARED_LINKER_FLAGS -install_name @executable_path/../Framework
CMAKE_SHARED_LINKER_FLAGS_DEBUG -install_name @executable_path/../Framework
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL -install_name @executable_path/../Framework
CMAKE_SHARED_LINKER_FLAGS_RELEASE -install_name @executable_path/../Framework
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO -install_name 
@executable_path/../Framework



This makes the library then relative to the executable path so when en 
executable is loading the library it will look in its   "executable path .. / 
Frameworks"  to find the library there...

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





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


Re: [osg-users] wxWidgets crash on exit in SetCurrent

2010-11-20 Thread Steve Sinc
So it seems I have fixed the problem. As the MainFrame destructor is called 
first, I clear all OSG stuff manually in it.
That seems to have fixed the problem.

Cheers,
Steve

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





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


Re: [osg-users] FBOs and iOS (iPad/iPhone)

2010-11-20 Thread Thomas Hogarth
Hi Stephan,

Bingo, all looks good, great work mate. So I understand you are sending the
changes to Robert to be merged into the main osg branch. Sweet, if only you
lived near by, we could have a celebration drink :)

Cheers
Tom

On 20 November 2010 17:15, Thomas Hogarth  wrote:

> Hi Stephan
>
> Sweet, yeah checked mine out on the 117th/18th soI'll give it a whirl now.
>
> Cheers
> Tom
>
>
> On 20 November 2010 17:14, Stephan Huber  wrote:
>
>> Hi Tom,
>>
>> Am 20.11.10 18:02, schrieb Thomas Hogarth:
>> > Hi Stephan
>> >
>> > I've got round to looking at the new changes, I've got one altered CMake
>> > file (root one) just needed to default the windowing system to IOS.
>> Other
>> > issue is that I'm getting a crash on line 1056 of RenderStage.cpp. Think
>> the
>> > graphicsContext is null or something. I'll have a play but could you
>> send me
>> > your test app incase i'm missing something.
>>
>> I submitted a bugfix for this crash on 11-19-10, any chance you updated
>> your working-copy earlier?
>>
>>
>> https://github.com/stmh/osg/commit/51c6f49c1811f11d7ce032e74008fc70ea2165d6
>>
>> cheers,
>> Stephan
>>
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] FBOs and iOS (iPad/iPhone)

2010-11-20 Thread Thomas Hogarth
Hi Stephan

Sweet, yeah checked mine out on the 117th/18th soI'll give it a whirl now.

Cheers
Tom

On 20 November 2010 17:14, Stephan Huber  wrote:

> Hi Tom,
>
> Am 20.11.10 18:02, schrieb Thomas Hogarth:
> > Hi Stephan
> >
> > I've got round to looking at the new changes, I've got one altered CMake
> > file (root one) just needed to default the windowing system to IOS. Other
> > issue is that I'm getting a crash on line 1056 of RenderStage.cpp. Think
> the
> > graphicsContext is null or something. I'll have a play but could you send
> me
> > your test app incase i'm missing something.
>
> I submitted a bugfix for this crash on 11-19-10, any chance you updated
> your working-copy earlier?
>
> https://github.com/stmh/osg/commit/51c6f49c1811f11d7ce032e74008fc70ea2165d6
>
> cheers,
> Stephan
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] FBOs and iOS (iPad/iPhone)

2010-11-20 Thread Stephan Huber
Hi Tom,

Am 20.11.10 18:02, schrieb Thomas Hogarth:
> Hi Stephan
> 
> I've got round to looking at the new changes, I've got one altered CMake
> file (root one) just needed to default the windowing system to IOS. Other
> issue is that I'm getting a crash on line 1056 of RenderStage.cpp. Think the
> graphicsContext is null or something. I'll have a play but could you send me
> your test app incase i'm missing something.

I submitted a bugfix for this crash on 11-19-10, any chance you updated
your working-copy earlier?

https://github.com/stmh/osg/commit/51c6f49c1811f11d7ce032e74008fc70ea2165d6

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


Re: [osg-users] VPB version for OSG 2.8.2 (0.9.10 not there?)

2010-11-20 Thread Sanat Talmaki
Hi Jean,

That was very helpful. I got it built and running.

Just on a related note-
Does VPB store the terrain as a quadtree ? (the reason I am asking is because I 
am trying to write an app to modify elevations in the terrain at real-time and 
wanted to know the quickest way to find the elevation node I'm interested in)

Thanks for your quick reply.

Sanat

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





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


[osg-users] Removing old release candidates

2010-11-20 Thread Paul Martz
Hi Robert -- While browsing the repo recently, I noticed a lot of old RCs for 
the 2.8 series. If you see no need to keep those, I'd be glad to delete them.


--
  -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] wxWidgets crash on exit in SetCurrent

2010-11-20 Thread Steve Sinc
Hi,

When I use a wxWidgets example, I get a crash when I exit application. The 
program crashes in GraphicsWindowWX::makeCurrentImplementation -> SetCurrent on 
canvas.

After a little debugging, I found that the wxGLCanvas destructor is called 
BEFORE the OSG destructs itself. As the OSG in its destructors calls 
makeCurrentImplementation, the code tries to call SetCurrent on invalid context 
and the program crashes.
Has anyone similar problem with OSG and wxWidgets?

Thank you!

Cheers,
Steve

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





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


Re: [osg-users] VPB version for OSG 2.8.2 (0.9.10 not there?)

2010-11-20 Thread Jean-Sébastien Guay

Hello Sanat,


The version matrix in the vpb page tells me that I need vpb 0.9.10. However the 
svn repository only has the latest which demands osg 2.9.5.


No. The SVN repo has tags for all versions from 0.9.0 to 0.9.11 (and the 
trunk which matches OSG trunk). See here:


http://www.openscenegraph.org/projects/VirtualPlanetBuilder/browser/tags

Check out 0.9.10 from the following URL:

http://www.openscenegraph.org/svn/VirtualPlanetBuilder/tags/VirtualPlanetBuilder-0.9.10/

The VPB main page even shows you the svn command to check out 0.9.11, 
you just needed to change one character (1 to 0) to check out 0.9.10... 
And remember you can use an SVN checkout URL in your browser to see if 
it's valid.


http://www.openscenegraph.org/projects/VirtualPlanetBuilder

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] VPB version for OSG 2.8.2 (0.9.10 not there?)

2010-11-20 Thread Sanat Talmaki
Hi,

I am trying to build VPB with the pre-built packages of osg (version 2.8.2 in 
my case).

The version matrix in the vpb page tells me that I need vpb 0.9.10. However the 
svn repository only has the latest which demands osg 2.9.5.

I wanted to know if earlier src versions could be made available as I would 
like to use the prebuilt package of osg with VPB

Thanks

Sanat

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





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