Skip to main content
GameDev.net gamedev.net
🔒 Locked

octree

Started by derek7 Mar 19, 2005 at 4:51 AM 0 replies 600+ views
Original Post
derek7
derek7
I have a code about octree - now,in order to load it I active the function : make_octree(&3d_model) - meaning that I load a 3d model and make an octree from it. now, what should I do to load alot of objects - make a giant 3d_model which contain all the models I need or something else? in this way I don't see how can I implement a collision detection. is there maybe an octree code that you can give me that not sepearte each model's verticies into the octree leaves but remain the model attached. or is there a octree code that uses this kind of octree to render alot of objects and also implement collision detection that you can give me.
Tera_Dragon
Tera_Dragon
I'm guessing that that should only be used for the map. Then just load your game models in normally and they should be culled if not in the view frustum (if you have frustum culling on that is).
____________________________________________________________Programmers Resource Central

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.