3D Efficiency for Low-Poly Game?

Coders forum. Discuss techniques, swap code snippets, ask for help etc. relating to all forms of software development.
Post Reply
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

3D Efficiency for Low-Poly Game?

Post by failrate »

Howdy,

currently doing a bit of 3D stuff just for giggles. The stuff I'm doing is very abstract, so I'm going with very low-poly models. I'm also leaving most of the coloring to materials instead of textures.

The engine I'm using right now is the one that comes built into Blender. It's not really optimal or anything, but it works right out of the box without any setup, so it's at least nicely integrated.

However, for larger levels, it starts to slow down a whole bunch. Alot of the bulk of the levels is long tunnel sections, though, that the player can speed through quite quickly. So, my basic strategy is to take very low-poly objects and stretch them to cover the distance. Another potential strategy is to dynamically instance objects as they're needed to keep from holding loads in memory and keep from show level changes. I'm just wondering if anyone has practical experience with either strategy before I go tearing into code.

Thanks.
Trufun101
Baa!
Baa!
Posts: 40
Joined: Mon Sep 19, 2005 6:44 am 0
Contact:

Re: 3D Efficiency for Low-Poly Game?

Post by Trufun101 »

failrate wrote:Howdy,

currently doing a bit of 3D stuff just for giggles. The stuff I'm doing is very abstract, so I'm going with very low-poly models. I'm also leaving most of the coloring to materials instead of textures.

The engine I'm using right now is the one that comes built into Blender. It's not really optimal or anything, but it works right out of the box without any setup, so it's at least nicely integrated.

However, for larger levels, it starts to slow down a whole bunch. Alot of the bulk of the levels is long tunnel sections, though, that the player can speed through quite quickly. So, my basic strategy is to take very low-poly objects and stretch them to cover the distance. Another potential strategy is to dynamically instance objects as they're needed to keep from holding loads in memory and keep from show level changes. I'm just wondering if anyone has practical experience with either strategy before I go tearing into code.

Thanks.
Since you're not using textures, you can probably get away with the large scale, low poly models. The shading might be a little off, but you can probably just fake it by shading the triangles yourself...

The dynamic instances sounds good, its defintely worth a shot, but I'm not sure if thats the issue... The engine may just be having trouble pushing out that many triangles.
-Chris B.
User avatar
failrate
Baaaaaa!
Baaaaaa!
Posts: 2354
Joined: Sun May 23, 2004 6:54 am 0
Location: Sandy Eggo
Contact:

Post by failrate »

Thanks for that Trufun. I'm guessing that the proper solution will probably combine a bit of both.

Blender's default game engine is a bit cack, but some good fellows have been kind enough to get it working with Crystal Space, which is a GPL game engine.

It works right out of the box, and I can script in Python, so of course I'm very happy.

I'm not entirely sold on 3D games, but I'm really liking what can be done just with a few icospheres and some vertex editing.
Post Reply