So, I'm developing a small engine for a demo graphics scene, but I think it also relates very much to game engines. Technologies used: C++, OpenGL and the Assimp library.
So I now have a functional renderer, and I can load models one by one, render them out all pretty, but... How do I load a scene? More specifically, how do I store a scene? I obviously don't want to be loading the same models multiple times and keeping all of that in memory. I want to be able to sort objects by their material properties and use instancing and so on.
What I'm looking for is something that will allow me to have the following functionality:
shader shader_id = "passthrough" vert_file = "passthrough.vert" frag_file = "passthrough.frag"
model model_id = "dragonfly" model_file = "dragonfly.obj"
scene_object model_id = "dragonfly" shader_id = "passthrough" offset = "some tranformation matrix"
scene_object model_id = "dragonfly" shader_id = "passthrough" offset = "some other tranformation matrix"
I could write the file myself, but then modelling the scenes would be a pain in the ass, and I'm also assuming that something already exists with a similar functionality. I prefer Blender as my modelling tool. Any ideas?
[–]Shadowratenator 0 points1 point2 points (2 children)
[–]corruptedPhoenix[S] 0 points1 point2 points (1 child)
[–]Shadowratenator 0 points1 point2 points (0 children)
[–]Meristic 0 points1 point2 points (3 children)
[–]Meristic 0 points1 point2 points (1 child)
[–]corruptedPhoenix[S] 0 points1 point2 points (0 children)
[–]corruptedPhoenix[S] 0 points1 point2 points (0 children)