Code Monkey home page Code Monkey logo

Comments (8)

clearisoft avatar clearisoft commented on May 18, 2024 2

I fix it,it is a bug of three.js after 0.152.0

from geo-three.

tobias74 avatar tobias74 commented on May 18, 2024 1

I have the same problem. Reverting to 0.151.3 of three.js solved the issue. My question now would be: Is this really a bug in three.js, or rather some sort of incompatibility that could be resolved otherwise? For me reverting to 0.151.3 of three.js is not possible because it introduces lighting and contrast problems in other areas of my project...

I have found this in the release notes of threejs for version 0.152: https://discourse.threejs.org/t/updates-to-color-management-in-three-js-r152/50791

Quote from the release notes: "The upcoming release r152 will contain changes affecting color and lighting."

from geo-three.

tentone avatar tentone commented on May 18, 2024

Hello

These are probably using different providers.

The provider will indicate the source of the map tiles (mapbox, google maps, etc)

from geo-three.

clearisoft avatar clearisoft commented on May 18, 2024

Hello Tentone:
But I use the same provider(bingmap)
var provider = new BingMapsProvider('', BingMapsProvider.AERIAL);
var map = new MapView(MapView.PLANAR, provider);

from geo-three.

clearisoft avatar clearisoft commented on May 18, 2024

I have carefully examined the examples in the example and my program, and noticed that the URLs of the images referenced in the tiles are exactly the same. However, when rendered, the visuals in my program appear brighter, as if there is lighting in the scene. In reality, there is no lighting in the scene.

from geo-three.

tentone avatar tentone commented on May 18, 2024

The example has lights set, so thats might be the difference

from geo-three.

tentone avatar tentone commented on May 18, 2024

This might be caused by the changes in color management in three.js

I will update the project to use the latest version and test to ensure that colors are kept as they were.

from geo-three.

tentone avatar tentone commented on May 18, 2024

A simple to get around would be to disable color management in project, but its not the correct way to go about it.

image

I will update all color usage in the project to be as close as possible to the old model, but it is expect to have some differences in the end result.

from geo-three.

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.