Giter VIP home page Giter VIP logo

Comments (6)

Spartan322 avatar Spartan322 commented on August 13, 2024

What you are asking for is an image being loaded at runtime, which means the image (or animation, which is completely different, you should be using a gif-like filetype instead) is in memory, and could change only when some specific function is called (except an animation changes every specified time usually). This probably requires huge changes, especially changing the renderer. The other issue is if the skybox is changed on the server, it will not be handled (which a script would do, cause a script runs on the server) because SE doesn't handle client things as well (unless the skybox on the workshop is completely redesigned)

from spaceengineers.

midspace avatar midspace commented on August 13, 2024

I looked trying this back in January after discovering that some Environmental stuff can be changed via the API, but the skybox wasn't part of the code that is refreshed when that property is changed.
There probably isn't any need to download new skyboxes, as all relevant skyboxes should be downloaded first from any mod or mods.
We just need to extend the API, to allow changing the selected skybox texture during runtime.
It is just a rendered background after all.
The expected Message classes should also be set up to sync between the server and clients for a global environment change.
It can be done.

from spaceengineers.

Spartan322 avatar Spartan322 commented on August 13, 2024

@midspace I know it can be done, but it will take a while and you need to modify a lot (which if your not careful, will break backward compatibility, which always get closed), also lets not forget this feature could very easily drag the speed down, this feature has to implemented either very slowly or super carefully.

from spaceengineers.

joemorin73 avatar joemorin73 commented on August 13, 2024

I have to agree with @Spartan322. This feels like a feature that would be very heavy on the game. This might be more of a "should you" vs "could you".

from spaceengineers.

KarryonDesigns avatar KarryonDesigns commented on August 13, 2024

This would be an amazing feature but like other said it would be pretty heavy on the game. This may be possible after the game is optimized and allows for multi-core threading but until then It wouldn't even be something I would want to try. If the game is optimized to use more than 4 cores this could be something that is very feasible to to.

from spaceengineers.

ovan001 avatar ovan001 commented on August 13, 2024

So much time passed. Now it seems to be possible to set custom skybox on demand by triggers from mod scripts. But there is no information how to use it yet.
http://forum.keenswh.com/threads/setcustomskybox-function-how-to-use-it.7389260/

from spaceengineers.

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.