Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Upp and OpenSceneGraph
Upp and OpenSceneGraph [message #30957] Sun, 30 January 2011 02:15 Go to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Would it be practical to use Upp to work with OpenSceneGraph?
http://www.openscenegraph.org/projects/osg

I don't want to use MS VC if it can be avoided other than the compiler.
Re: Upp and OpenSceneGraph [message #30966 is a reply to message #30957] Sun, 30 January 2011 16:28 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
nlneilson wrote on Sun, 30 January 2011 02:15

Would it be practical to use Upp to work with OpenSceneGraph?
http://www.openscenegraph.org/projects/osg

I don't want to use MS VC if it can be avoided other than the compiler.

Yes, it would be nice. Surely it can be done in Windows with MinGW.


Best regards
Iñaki
Re: Upp and OpenSceneGraph [message #30979 is a reply to message #30966] Mon, 31 January 2011 00:26 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
koldo wrote on Sun, 30 January 2011 16:28


Yes, it would be nice. Surely it can be done in Windows with MinGW.


Good, maybe I will try it.
I now have MinGW-gcc440_1

I have just spent about 10 hours trying to get something to work following their outdated instructions with EclipseCDT on Win XP, I have a thread on their forum to get some updated instructions or help.

Eclipse is great for Java but over the years have tried it for C++ but never liked it.

Eventually what I would like to do is http://osgearth.org/ which is similar and may have been influenced by NASA WW in C#

edit: The pre-built dependencies, all of the basics, for Win 32 and 64bit is a 21.2 MB .zip

Neil

[Updated on: Mon, 14 February 2011 09:53]

Report message to a moderator

Re: Upp and OpenSceneGraph [message #30981 is a reply to message #30979] Mon, 31 January 2011 09:18 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hello Neil

There is a page about OSG integration with windows toolkits. It could serve:

http://www.openscenegraph.org/projects/osg/wiki/Community/Wi ndowingToolkits


Best regards
Iñaki
Re: Upp and OpenSceneGraph [message #31034 is a reply to message #30981] Tue, 01 February 2011 23:43 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Hi Koldo

Thanks for the link.

I spent the last two days trying get OSG to do anything.
Most of that time was following a setup example for a MinGW build and using Eclipse. That example is apparently outdated and maybe broken. I did get the SVN code to compile with MinGW.

Yesterday I started with a setup example with VC++ 10 which is OK as far as compiling their latest SVN code.

Once I get one of the small example apps to run then will pull that into Upp.

Linking to the OSG bin, include and lib in Upp I will need to tinker with.

OsgEarth is basically an add on or plug in to OSG but big.
One thing I am pretty good at is getting rid of stuff that is not needed for what I want to accomplish.

I have Upp set up and works OK with MINGW, MSC9 and MSC10.

Neil
Re: Upp and OpenSceneGraph [message #31052 is a reply to message #30957] Wed, 02 February 2011 15:29 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
In TheIde how would the Build Path for
C:\OpenSceneGraph\include and \lib be set?
Re: Upp and OpenSceneGraph [message #31053 is a reply to message #31052] Wed, 02 February 2011 15:45 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
nlneilson wrote on Wed, 02 February 2011 15:29

In TheIde how would the Build Path for
C:\OpenSceneGraph\include and \lib be set?


Go to Setup/Build Methods, choose in Methods the compiler, and in INCLUDE directories and LIB directories tabs, add the paths to OSG.


Best regards
Iñaki
Re: Upp and OpenSceneGraph [message #31057 is a reply to message #31053] Wed, 02 February 2011 19:33 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Found it, thanks Koldo!

Neil
Re: Upp and OpenSceneGraph [message #31059 is a reply to message #31057] Thu, 03 February 2011 09:07 Go to previous messageGo to next message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hello nlneilson

In addition, if you want to compile using MinGW and have problems, you can go to the DevCpp tutorials, as that environment only uses MinGW.


Best regards
Iñaki
Re: Upp and OpenSceneGraph [message #31062 is a reply to message #31059] Thu, 03 February 2011 11:20 Go to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Hi Koldo

That seems to be old and not maintained, five different links to download it didn't work.

OSG with the OsgEarth extension has 3D rendering of a globe and can/does use the images from the NASA servers.

Once I get it running it will mainly be stripping everything out that is not necessary.

Upp has been good for the control window apps that work good.

To compile the latest code from the SVN with MinGW it was just use Cmake and set a few things then
cd c:\OpenSceneGraph
mingw32-make
mingw32-make install

It took about 1.5 hours but compiled without errors.
With the MS VC++ 10 it compiled OK after a few tries.

If a few header files need to be changed that can be done in Upp.

Neil
Previous Topic: Open Dialogue
Next Topic: How to add controls from bazaar in my apps ?
Goto Forum:
  


Current Time: Sat Apr 27 09:20:39 CEST 2024

Total time taken to generate the page: 3.05532 seconds