dwmkerr / sharpgl

Use OpenGL in .NET applications. SharpGL wraps all modern OpenGL features and offers a powerful scene graph to aid development.
MIT License
766 stars 300 forks source link

Bounding Volumes #53

Open robinsedlaczek opened 10 years ago

robinsedlaczek commented 10 years ago

Hey Dave!

I like to show you my new branch "BoundingVolumesForAll". It is not targeted to the next release, rather I like to discuss the bounding volumes with you. I had the problem, that there are no bounding volumes for some objects (e.g. disk and teapot). So I implemented them. Further I saw the problem for polygon. We need to recalc the bounding volume based on changing vertices. I suggest some solutions in code comments using TODOs. Maybe you think it is worth enough to talk about or to use my branch somehow. Please feel free! :) Feedback would be great!

dwmkerr commented 4 years ago

Happy to look over this again! I think it might make sense to try and create a new PR which only has the Bounding Volume code for now, as this is now an old PR