kabalmcblade / ion Goto Github PK
View Code? Open in Web Editor NEWVulkan Render Engine
License: GNU General Public License v3.0
Vulkan Render Engine
License: GNU General Public License v3.0
I need to make a unique index and vertex buffer for all the meshes (primitive for GLTF) inside the model file, in order to batch the drawcalls
in the x86 version, when I create the logical device, during the allocation memory, which happens inside the function VK_AllocationFunction callback, the allocator get a misaligned pointer allocation.
Need further investigation
While the primitive (triangle, quad, colored, etc) manually created working, the GLTF model doesn't.
This let me think to a problem related to the indexes size and the layour memory for the uniform buffer.
Just the first face is generated correctly, other are black.
This need to sort the draw surfaces per material
There are some issues during material set, I have forgotten to use the mask, I need to fix1
The special key like shifts, controls, arrows, etc are not returned.
This mean to add the "set" keyword in the Uniform structure in the material and group them by:
Set 0: Scene
Set 1: Object
Set 2: Material
(Look at the function Draw in the RenderCore for more details)
At moment I'm using the memcpy, the byte per byte copy.
Possible I can add a SS2, SSE4.1 and AVX version to improve the performance
The descriptor set allocated using vkAllocateDescriptorSets looks leak. Actually I don’t release the descriptor with vkResetDescriptorPool because it looks like fail even if I call at the end of render frame, but I know I have to release in some way.
Using this with texture load from file or binary does not properly work.
I suspect depends by the staging buffer: the size of the SRC memory could might be greater of the DST memory due the alignment passed in here.
The texture map is not correctly mapped onto the model!
The scene graph, from the Node graph, is using the children nodes to build the tree.
At the moment all the functions are recursive, so I need to move in a iterative way.
The issue could be when loading or when uploading into memory, need investigation!
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.