Hi Andrew,
that's great stuff again. Now QLandkarte GT even attracts the attention of my
wife. :) 3D stuff is such an eye catcher.
I just have a few remarks that come to my mind while playing with it:
* Moving the point of rotation / zoom. If you zoom in you can't zoom to the
left and right border. That is a bit irritating, however I do not have a good
idea on how to solve this in the GUI. There are two approches to that problem
known to me. Both are hard to operate for most users.
1. The Doom interface. Use the arrow keys to move forward / backward / left /
right. Use the move to look. Everyone not playing 1st person shooters will
hate it.
2. The flight simulator interface. You have to operate throttle / ascend /
artificial horizont. After that you know why you are not allowed to fly a
plane.
A solution might be to move the axis point by point-n-(double)click or by
sliders. But I have never seen that nor tried it.
* Synchronization of the map. I have added some stuff to svn to help you.
IMap::draw() will paint the map to the internal QImage buffer. Call
IMap::getBuffer() to get a reference to the buffer. You can do the same as I
did in CMapSearchThread::run(). Create a local CMapQMAP instance. With that
you can even switch map layer while zooming. If you need sample data for such
a map I can prepare some.
* The track line on the 3D bump map does not have the same eleveation as the
DEM data. Thus sometimes it disappears. I could think of 2 fixes:
1. Get the elevation for the track from the DEM, too. Or paint the track on
the 2D map that is used for 3D.
2. Draw the track with an offset of, let's say, 100m. By that the user can
see the deviation of the elevation.
* Just a feature idea that came to my mind while playing: What about following
the track as a movie?
> > Index: CMakeLists.txt
> > ===================================================================
> > --- CMakeLists.txt (revision 794)
> > +++ CMakeLists.txt (working copy)
> > @@ -265,7 +265,9 @@
> > IF(WIN32)
> > set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}
> > /subsystem:windows")
> > add_definitions(-D_CRT_SECURE_NO_DEPRECATE)
> > - target_link_libraries(qlandkartegt gdal_i proj_i qtmain.lib
> > ${QT_LIBRARIES} ${QT_QTNETWORK_LIBRARIES} ${QT_QTXML_LIBRARIES}
> > ${QL_OPENGL_LIBRARIES})
> > + SET(OPENGL_LIBRARIES "opengl32.lib")
> > + SET(OPENGL_LIBRARIES_DIR "C:/Program Files/Microsoft
> > SDKs/Windows/v6.0A/Lib")
>
> I don't think that hard codded path is good idea. may be use FIND_PATH?
> I use cmake the first time in this project and have not windows host.
> Oliver, can you see on this patch and correct it if it needed?
>
Not quite sure. Fabrice, didn't the find_package(OpenGL) macro define the
correct information on win32?
Oliver
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QLandkarte-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkarte-users