Comments (6)
In old versions of OpenGL, the internal format value was treated directly as number of color components: 1, 2, 3, or 4.
I assume the asset you're trying to load is using this old technique. I've just added support for it in this commit on the v1.5 branch. You'll have to clone it from git as there's no Skybolt release version for it.
from skybolt.
I'll try it later.
from skybolt.
Ok, The problem has been solved
from skybolt.
I found the toSrgbInternalFormat function are same in v1.3.3 and v1.5.0.In v1.5.0,some model still loading failed.
from skybolt.
I am using the v1.5.0 tag.
from skybolt.
I modified the toSrgbInternal function to return GL_SRGB8 when format is 3, and then the model is loaded normally. I don't know if it's reasonable for me to do so.
from skybolt.
Related Issues (20)
- runtime settings for api keys HOT 1
- How to use? HOT 11
- [Question] StarField coordinates HOT 1
- Problem running example application HOT 2
- how to use third party Map APIs? HOT 1
- Qt Version? include ‘toolwindowmanager’,‘OpenInputSystem’. CIGI Class Library version? HOT 1
- PlanetTileImagesLoader will go to pieces when “attributeLayer->getHighestAvailableLevel(key) ”not available; HOT 1
- Missing Environment/Ground/Ground026_1K_Color.jpg HOT 2
- Run minimalApp found camera are so sensitive HOT 2
- How to turn off sunlight in the scene graph? HOT 2
- Hao to add two maps in the scene graph? HOT 3
- The SKYBOLT_CACHE_DIR environmental variable doesn't take effect. HOT 6
- Can skyblt load tms tiles? HOT 3
- FreeCameraController and OrbitCameraController HOT 2
- How to remove all external forces on the helicopter uh60 HOT 5
- building the v1.5.0 with JSBSIM failed HOT 4
- can not open include file: “SkyboltVis/Renderable/Planet/Tile/HeightMap.h”: No such file or directory HOT 7
- The material of the model loaded into the scene is wrong. HOT 3
- Customize the component display model HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skybolt.