Please sign in to comment.
Made Geometry loading to the GPU as stable as possible by using
withMappedBuffer and copying everything directly to the GPU. This should also increase the efficiency of loading data. Currently geometric entites are assumed to be stored as: [[vertices],[colours]] and the offsets reflect this. Since this works, we now know how to load contiguous and composite data to the GPU and use it effectively. Later we will require something like this: [[vertices],[texcoords],[normals]] using the same methodology. Signed-off-by: Edward Tate <firstname.lastname@example.org>
- Loading branch information...
Showing with 22 additions and 10 deletions.