Giter VIP home page Giter VIP logo

Comments (7)

domlysz avatar domlysz commented on May 16, 2024

Yeah know that, It's because Basemaps always update scene origin coords when panning or zooming to mouse. It's important to update scene origin coordinates because you really don't want to zoom somewhere in US and have your scene origin stay back somewhere in Europe, with units in meters it's just impossible for Blender to correctly handle this situation.

I've already planned to add an option to move objects location according to scene origin updates. Remember Basemaps is really not finished and not well integrated with others BenderGIS tools but I really appreciate your feedback.

from blendergis.

mirlip avatar mirlip commented on May 16, 2024

Wouldn't that be enough to let Blender's "zoom to mouse position" enabled? It seems that the basemap mode force disable it.

from blendergis.

domlysz avatar domlysz commented on May 16, 2024

Basemaps has it own zoom to mouse option, independent from the Blender's 3dview one. When zooming or panning in the maps there isn't 3d view move (except for the height), it's just the background image which change. As I've described above, it's not conceivable to truly move 3d view because if you start in US and go to Europe your scene origin will be exceedingly far away from your actual position

Actually a workaround is to disable zoom to mouse option (from Basemap addon) and avoid any panning, so the data stay aligned

from blendergis.

mirlip avatar mirlip commented on May 16, 2024

Ok, I understand. But I think both possibilities (Basemap's zoom to mouse position and Blender's zoom to mouse position) can make sense depending on the use case. I use it to get details on small areas (a town and it's surrounding). In this case, their is no precision problem triggered by tiles being too far away from origin. So maybe changing the zoom to mouse position to have 'deactivated', 'basemap only' and 'blender's zoom' ? With some warning for Blender's zoom that user must stay in a reasonable area.
Blender's zoom already work after pressing escape, it just needs automatically updated tiles.

from blendergis.

domlysz avatar domlysz commented on May 16, 2024

you're right it can be an useful option. There are lot of things remaining to do to improve basemaps addon !

from blendergis.

domlysz avatar domlysz commented on May 16, 2024

Fixed in latest update (moving objects according to new origin).

I've created another issue about an option for moving 3d view instead of origin
#25

from blendergis.

mirlip avatar mirlip commented on May 16, 2024

Thank you for working on it and proposing a solution in the meantime :)

from blendergis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.