Lucretia

10-24-2000, 07:01 AM

Hi,

As most of you probably know, I have been writing an OpenGL driver for a 3D engine that we have been working on for a while now and I have managed to get the majority of it working so far.

We also have a DirectX7 driver that works too. I have just tried this driver in place of my OpenGL one and have bench marked them both.

Driver | FullScreen | Window

-------------------------------------

DX | 75 FPS | 260 FPS

OpenGL | 14 FPS | 9 FPS

Now, is there any reason why the OpenGL driver is sooooooooo slow?

Here is the mesh data that we have been using:

We have the mesh loaded in and then it is optimised for speed.

We have a hierachy of meshes in a a whole mesh.

Each part of a frame is then broken down into segments. Each of these are then broken down into faces - currently triangles.

The triangles are being rendered as triangles lists.

Model Filename : Wf4 Warmup Jiggle.BM

Mesh: pelvis Total Segments : 1

Total Faces : 12

Mesh: torso Total Segments : 1

Total Faces : 39

Mesh: Rupperarm Total Segments : 5

Total Faces : 8

Total Faces : 10

Total Faces : 4

Total Faces : 3

Total Faces : 4

Mesh: Rlowerarm Total Segments : 3

Total Faces : 1

Total Faces : 2

Total Faces : 7

Mesh: Rhand Total Segments : 5

Total Faces : 4

Total Faces : 10

Total Faces : 4

Total Faces : 3

Total Faces : 9

Mesh: Lupperarm Total Segments : 3

Total Faces : 6

Total Faces : 17

Total Faces : 4

Mesh: Llowerarm Total Segments : 3

Total Faces : 1

Total Faces : 2

Total Faces : 7

Mesh: Lhand Total Segments : 5

Total Faces : 4

Total Faces : 10

Total Faces : 4

Total Faces : 3

Total Faces : 9

Mesh: head Total Segments : 6

Total Faces : 2

Total Faces : 8

Total Faces : 6

Total Faces : 8

Total Faces : 18

Total Faces : 17

Mesh: Rthigh Total Segments : 2

Total Faces : 19

Total Faces : 10

Mesh: Rshin Total Segments : 2

Total Faces : 18

Total Faces : 12

Mesh: Rfoot Total Segments : 4

Total Faces : 8

Total Faces : 10

Total Faces : 2

Total Faces : 8

Mesh: Lthigh Total Segments : 2

Total Faces : 17

Total Faces : 10

Mesh: Lshin Total Segments : 2

Total Faces : 12

Total Faces : 18

Mesh: Lfoot Total Segments : 4

Total Faces : 9

Total Faces : 9

Total Faces : 2

Total Faces : 8

Thanks for the help,

Luke A. Guest.

As most of you probably know, I have been writing an OpenGL driver for a 3D engine that we have been working on for a while now and I have managed to get the majority of it working so far.

We also have a DirectX7 driver that works too. I have just tried this driver in place of my OpenGL one and have bench marked them both.

Driver | FullScreen | Window

-------------------------------------

DX | 75 FPS | 260 FPS

OpenGL | 14 FPS | 9 FPS

Now, is there any reason why the OpenGL driver is sooooooooo slow?

Here is the mesh data that we have been using:

We have the mesh loaded in and then it is optimised for speed.

We have a hierachy of meshes in a a whole mesh.

Each part of a frame is then broken down into segments. Each of these are then broken down into faces - currently triangles.

The triangles are being rendered as triangles lists.

Model Filename : Wf4 Warmup Jiggle.BM

Mesh: pelvis Total Segments : 1

Total Faces : 12

Mesh: torso Total Segments : 1

Total Faces : 39

Mesh: Rupperarm Total Segments : 5

Total Faces : 8

Total Faces : 10

Total Faces : 4

Total Faces : 3

Total Faces : 4

Mesh: Rlowerarm Total Segments : 3

Total Faces : 1

Total Faces : 2

Total Faces : 7

Mesh: Rhand Total Segments : 5

Total Faces : 4

Total Faces : 10

Total Faces : 4

Total Faces : 3

Total Faces : 9

Mesh: Lupperarm Total Segments : 3

Total Faces : 6

Total Faces : 17

Total Faces : 4

Mesh: Llowerarm Total Segments : 3

Total Faces : 1

Total Faces : 2

Total Faces : 7

Mesh: Lhand Total Segments : 5

Total Faces : 4

Total Faces : 10

Total Faces : 4

Total Faces : 3

Total Faces : 9

Mesh: head Total Segments : 6

Total Faces : 2

Total Faces : 8

Total Faces : 6

Total Faces : 8

Total Faces : 18

Total Faces : 17

Mesh: Rthigh Total Segments : 2

Total Faces : 19

Total Faces : 10

Mesh: Rshin Total Segments : 2

Total Faces : 18

Total Faces : 12

Mesh: Rfoot Total Segments : 4

Total Faces : 8

Total Faces : 10

Total Faces : 2

Total Faces : 8

Mesh: Lthigh Total Segments : 2

Total Faces : 17

Total Faces : 10

Mesh: Lshin Total Segments : 2

Total Faces : 12

Total Faces : 18

Mesh: Lfoot Total Segments : 4

Total Faces : 9

Total Faces : 9

Total Faces : 2

Total Faces : 8

Thanks for the help,

Luke A. Guest.