Model from file to display list

Hello



Is there some way to use display list in simple way? i have an obj model and i want to put it into display list so program can run faster. any ideas? thanks;)

Call lockMeshes() on the model to set display list. You can also call setVBOInfo(new VBOInfo(true)). VBO is considered the replacement of display lists, and is likely to be faster on modern GPUs.

thanks a lot, i am crating simple motorbike game as a project to school. when motorbike dont move fps is about 120, but if it moving, fps drops down on 40-50… do you have any idea why?:slight_smile:

How do you move the motor bike? Post some source code maybe?

first of all, thank you for your replies, you are very nice;)



and it was because of computing shadows during movement:) now it has 400 fps:)

maros2710 said:

first of all, thank you for your replies, you are very nice;)

and it was because of computing shadows during movement:) now it has 400 fps:)

Oh, okay :P
I didn't know shadows were capable of that.