Added Object/ObjectLoader. Needs some redesign to fit into this project... two years old code... and written for DX10... FUN FUN FUN. Staying positive though:)
Forgot to add the files in last commit ._.
Starting to write/research how to use a dynamic buffer
Rebuilding to XMMath library. Camera done
All math is updated and stuff is drawn as it should be. However, the camera does not work as intended. I suspect it is because of the now new lookAtLH function in the camera class
Now cleanup is done and working.
Changed from last time and also some planning and objectloading code has been written. cheerios
Started working on mehsloading. Not sure how to bind a structuredbuffer. Gives me errors. Also not sure if I send data to the GPU or actually sending the pointers that points to the data I want to transfer... Need to have a look on that. Also added some files I forgot last commit
Creatuin of StructuredBuffers and respective UnorderedAccessViews has been created successfully. Now off to write HLSL side versions and thus should branch off very soon. Almost done! Yay
Sending of UAV now works. Time to branch off for restructuring everything with NON-hardcoded values.
HLSL code works, however, it does not render my mesh triangles. Not sure where to begin debugging. HMMMMMMMMMMMMMMMMMMM
Fixed some float / int missmatchings and also some minor errors in code here and there. Still not working to render triangles though :<
I DO NOT KNOW WHAT'S WRONG. Minor updates here and there. Nothing big.
Fixed small things again
I HAVE NO IDEA WHAT'S WRONG. BLEEH. For some reason the data in the UAV is always null. I think I'm missing something. But I cannot findout where. Also, the reflection on the sphere is gone. And I cannot figure out why. I have a feeling that theese two things are connected. Over and out
Some big changes on sizes on buffers, changed a lot of stuff to be hardcoded. Reflections on spheres works again, yay (8 != 8.0). However, triangle rendering still eludes me. I might just know what to do though. Use the padding in triangle desc. Might be something there. Not sure though. Good riddles this is painful. Well, off I go again. Bai
I get zero values all the time. No triangles, nothing. I HATE WINSCP.
Rollback zone
Now it works
Fixed so it looks a bit nicer. Trying to remove variables that arent used in HLSL. Should start working on removing hardcoded variables. Also next step in the assignment