Hi everyone!
i'm trying to display the position of the user of a 3D virtual environment on a 2D map (jpeg) on an external window.
basically i want to do something similar to what i saw in lots of videogames: the user is moving around the 3D space and his position is marked with a "x" on a 2D window,representing the map of the environment.
I was also wondering if it's possible doing that sending the position to an external application,like google maps or tom tom.
i haven't start writing the code yet...i'm still deciding which approach would suit me best :)
any tips?
thank u very much!
2D map with position cursor
Started by stranomavero, Mar 04 2008 12:10 PM
3 replies to this topic
#1
Posted 04 March 2008 - 12:10 PM
#2
Posted 04 March 2008 - 03:59 PM
if this window is going to run from your main app then you can spawn a second thread and have it generate this window and render what ever you like. You can then pass the x,y position of your marker from thread 1 to thread 2. If you are working with another app, then you'll need to have a way to communicate the data to the other end. Have a look at http://code.google.com/webtoolkit/ Don't know if this is what you need or not.
3D OpenGL, C++ Game Development Video Tutorials @
www.marek-knows.com
www.marek-knows.com
#3
Posted 04 March 2008 - 04:10 PM
thank u very much!
i'll give it a go right now.
the coordinates of the user are on a text file and they are updated continuously.
thanks again for the idea!
i'll give it a go right now.
the coordinates of the user are on a text file and they are updated continuously.
thanks again for the idea!
#4
Posted 04 March 2008 - 04:59 PM
the widget works with Java...
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












