quelsolaar / hxa Goto Github PK
View Code? Open in Web Editor NEWA open, easy to implement binary file format for 3D assets
License: MIT License
A open, easy to implement binary file format for 3D assets
License: MIT License
Hi.
In a hex editor teapot.hxa begins
00000000: 4878 4100 0100 0000 0100 0000 0126 0000 HxA..........&..
which AFAICT should parse as
uint32 magic 48 78 41 00 "HxA\0"
uint8 version 01 1
uint32 node_count 00 00 00 01 16777216
but obviously there aren't that many nodes in the file. Perhaps the version field is accidentally written as a uint32?
Line 371 in 7b69b1b
Should be:
if(!hxa_load_layer_stack(f, file_name, &node[i].content.image.image_stack, size, silent))
If a truncated file (any file shorter than 25 bytes) is passed to hxa_util_fbx_load
, the following line has undefined behavior because it reads past the end of the buffer returned by f_text_load
:
Line 672 in 63630ee
Hi, I'd like to support HxA models loading in raylib. All the file-formats loading libraries I use are always single-file header-only, would be possible to have a similar loader for HxA file-format?
I think it would be very useful for maximum portability.
Hello!
Saw this youtube video https://www.youtube.com/watch?v=jlNSbSutPZE. I had to pause to read a bit and saw that there are two typos:
Typo: description is misspelled in hxa_upi.h row 92
Original line: const char descrtiption; / text string describing the functionality of the plugin. */
Link to code:
Line 92 in cbf099c
Typo: dynamically is misspelled in hxa_upi.h row 84
Original line: to support HxA plugins will look for dunamicly loaded libraries that have this function implemented.
Link to code:
Line 84 in cbf099c
Interesting video, it's a shame I don't understand C enough nor do I know anything about computer graphics, but it sounded as a really nice idea. And who knows, someday I might learn how computer graphics works and appreciate your work even more.
For eg HXA_LDT_UINT8
+ hxa_uint8 *uint8_data
, the enum value, type, and field name all match.
But HXA_MDT_INT64
+ hxa_uint64 *int64_value
appears to have a typo. Should it be
HXA_MDT_INT64
+ hxa_int64 *int64_value
, orHXA_MDT_UINT64
+ hxa_uint64 *uint64_value
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.