Giter Club home page Giter Club logo

Comments (5)

obbe79 avatar obbe79 commented on July 17, 2024 1

Same problem here. After installing the Cygwin toolchain I get the black sky on Win10. On a different PC with Win7 I see JMAVSim correctly

To temporarily solve the problem I changed line 276 in Visualizer3D.java to:

tex = loadTexture(TEX_DIR + SKY_TEXTURE_LOW_RES);

to force the low res texture in any case.

from jmavsim.

hamishwillee avatar hamishwillee commented on July 17, 2024

@MaEtUgR I see same thing.

from jmavsim.

MaEtUgR avatar MaEtUgR commented on July 17, 2024

Confirmed
@copterspace Thanks for the report! I honestly also have that but only on part of the computers I'm using. The problem seems to be in the java graphics library that jMAVsim uses.

History
In PX4/PX4-Autopilot#8194 a higher resolution background was introduced and that seems to break some memory threshold of the java graphics library for certain graphics drivers. It already happened inside VMWare also for Ubuntu and we have a fix with the specific VMWare driver here: #63

At home on my GTX 1080 the bakcground shows normal for some reason... but I added it to the Cygwin todo list 👍

from jmavsim.

obbe79 avatar obbe79 commented on July 17, 2024

Same problem here. After installing the Cygwin toolchain I get the black sky on Win10. On a different PC with Win7 I see JMAVSim correctly

from jmavsim.

copterspace avatar copterspace commented on July 17, 2024

Yes, SKY_TEXTURE_LOW_RES helped, now looks quite good:
изображение

I think, it is possible to use SKY_TEXTURE_LOW_RES on all platforms. Or detect Win10 in Java somehow?...

from jmavsim.

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.