Suppose I load a .3DS file or a .ASE file into mu OpenGL program. What would be a way to handle my collision routines in respect to this object.
I realize I cn do things like bounding sphere collision for smaller things, but I’m interested in more complicated objects
For instance, If I create a House consisting of one room in 3D Studio Max, (then load this house into my opengl program, position it, rotate it etc), how do I determine “where” it is (with all the individual triangles it consists of)
Does this make sense? If I build a simple room with 4 walls and a floor, I know what planes I’m using, and where the triangles on these planes lie. I run my collison on this and all is dandy.
But with loading objects, how do I find out where each polygon is to start with? My guess is that this is complicated. I want to be able to use my collision routines on general objects in the same way I would on object I create (where I know all the points/planes beforehand)
Am I making this more difficult then it has to be?