Comments (3)
Hi!
What are you mostly concerned about? Filenames? Or the actual JSON data?
Is what you're asking for part of the glTF spec?
from cgltf.
Yeah, it's just for the actual opening of the files. Everything in my environment is using a wide character set and having to do WString conversion to String just for the odd thing is a little inconsistent.
That being said, it might be a moot point as the JSON parser I'm using also doesn't support wide characters which means I would also need to convert all the time when grabbing URI for buffers and images. I suppose this can be disregarded then in hindsight ...
from cgltf.
I suppose you could still use cgltf_parse()
and do the file opening and reading yourself. Then everything should work.
from cgltf.
Related Issues (20)
- KHR_texture_transform: how to check existence of texCoord? HOT 3
- _ftelli64 does not compile on Windows when using zig cc (clang, mingw64) HOT 3
- Handling escaped json strings HOT 2
- Improved error output HOT 9
- cgltf_load_buffer_base64 returns cgltf_result_io_error for what seems to valid base64 HOT 1
- [Feature] add new KHR_mesh_quantization extension HOT 5
- cgltf_image::buffer_view::data is null HOT 2
- glb binary texture data HOT 4
- cgltf_write accessor is missing stride property HOT 1
- cgltf_write to buffer ignores options -> can't create an in-memory GLB
- write buffer_view should write TARGET
- The reference information regarding the use of cgltf_load_buffer_base64 is unclear
- Extras for cgltf_light are ignored while writing
- 2 GB+ json parser support HOT 5
- Loading this file causes a crash. HOT 4
- Suggestion: store indices instead of pointers in the data structures HOT 4
- Add support for MSFT_texture_dds extension HOT 1
- Potential Undefined Behaviour in "cgltf_component_read_index"
- How to enable draco support? HOT 3
- fopen or strcpy this function or variable is unsafe. HOT 1
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 cgltf.