Jump to content

  • Log In with Google      Sign In   
  • Create Account


Calexus

Member Since 03 Jan 2004
Offline Last Active Nov 11 2013 01:38 PM
-----

#5039135 C++ Alternative to Unity?

Posted by Calexus on 04 March 2013 - 01:53 PM

Have a look at shiva3d http://www.stonetrip.com/

 

Its basically the same concept as unity3d.

 

C++ and Lua, exports to pretty much every platform. On the downside the GUI is a bit aged and the new version is about a year behind schedule.




#4839342 Cull sparse 2D objects by bounding box

Posted by Calexus on 23 July 2011 - 01:01 PM

A quadtree would probably fit your needs perfectly. It is easy and straightforward to implement and performs well for "normal" scenes. When working with none point size objects you simply use there bounding volumes, aabb in your case, and insert them either in the last nod containing the entire bounding volume (be it internal or leaf node) or in all the leaf nodes the bounding volume intersects. You could also use a combination of both but that is probably not very useful.

If you don't want to use a quad tree there are other alternatives like the good old grid structure, the bsp-tree, bounding volume hierarchies or spatial hashing. Or you could probably just iterate all the objects ant test them all if you have lets say less then 20k objects but then I would use bounding spheres instead as the are much cheaper to test. Actually it's usually a good idea to always test spheres first, even if you have an aabb you test the bounding sphere of the aabb before you test the aabb itself.


#4799192 Custom file formats

Posted by Calexus on 16 April 2011 - 11:54 AM

Sqlite also make for a pretty sweet custom file format. Depending on your data stuffing it into a file based database might not be the best solution but it's really nice to be able to access data using sql queries.


#4792266 C++ detecting unused functions and headers

Posted by Calexus on 30 March 2011 - 12:29 PM

I don't know if its possible but maybe you can use gcov (?)


PARTNERS