Jul 11, 2003, 10:15 AM

I have a few questions about OpenGL.

1. In my uDG entry this year, I will have a BIG landskape, should I do some simple optimization checks myself (like not sending polygons that are behind the camera to be rendered), or will OpenGL do this for me?

2. How do I load a 3DMF file? I searched for some code to do it, but I can't find any. I think I may just have to write my own here...

3. If I have a sphere rolling on a surface (made up of hundreds of triangles), how would I do the collision detection. This is what I thought up on my own, but I'm new so its probably wrong.

A: Find out that the sphere actually hit the polygon

B: Find the angle of the polygon it hit

C: ??? I'm confused here, is this a place I would use the dot product to get the new vector?

4. What happens if the sphere hits 2 polygons at once (example, on the top of a hill 1/4th of the sphere is leaning towards the right, and 3/4th is leaning left).

Thanks in advance

1. In my uDG entry this year, I will have a BIG landskape, should I do some simple optimization checks myself (like not sending polygons that are behind the camera to be rendered), or will OpenGL do this for me?

2. How do I load a 3DMF file? I searched for some code to do it, but I can't find any. I think I may just have to write my own here...

3. If I have a sphere rolling on a surface (made up of hundreds of triangles), how would I do the collision detection. This is what I thought up on my own, but I'm new so its probably wrong.

A: Find out that the sphere actually hit the polygon

B: Find the angle of the polygon it hit

C: ??? I'm confused here, is this a place I would use the dot product to get the new vector?

4. What happens if the sphere hits 2 polygons at once (example, on the top of a hill 1/4th of the sphere is leaning towards the right, and 3/4th is leaning left).

Thanks in advance