I finally implemented PROPER mesh rendering. before i had to flatmap and insert each model vertices, edges and faces in 1 giant pile for computation but not anymore. it does that internally so all i need to do is
renderer.startFrame();
renderer.drawMesh(cat);
renderer.drawMesh(dog);
renderer.drawMesh(bug);
renderer.endFrame();
Bug fixing was really tough because of optimization errors and whatnot, but changing basically all my arrays to Float32Arrays gave me an extra 100 frames 💔🥀🥀
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.