Feature request > 3D

3D Performance - How much polygons are possible?

(1/2) > >>

Hey there,
i'm new to this forum and this is my first topic. I bought GLBasic on Steam yesterday and want to ask this:
How much polygons, triangles or quads are possible with a framerate of 30/60? I need to know that because i used Blender a lot. Would be nice to know how much GlBasic can handle. The first thing i will do in 3D is a space game, which contains much different spaceships and planets. After that, when i'm going to master GLBasic i want to do an RPG, 2D and/or 3D. I learned C++ a bit, so i have a complex standard of learning programming ;)
Would be nice to know that, thanks in advance...
Zethael (Alex)

Hello Zethael, welcome!

That is a bit of a difficult question because it will depend on your hardware and things like resolution and whatnot.
Let´s see if one of our friends here, specially the ones who use 3d more, can shed some light.

If I was on your shoes, this is what I would do:
-create a simple project on, let´s say, full hd resolution.
-add objects with a counted polygon till it slows down.
This would give me a certain measure, but your game logic may also slow things down, so I would work with some 1/4 reduction on the total.

Anyways, lets hear what others have to say. I´m interested on the subject but on a little different front. I´d like to know how many characters with a certain complex AI I can hold in a real time simulation. Like a real time rogue like with 50k live entities. This is also a hard question as it depends on the processor and the AI coded, but with the approach above I can sure get some base numbers.

Okay thanks erico, i'll try it ;)

This is rather question what are boundaries for loaded objects/in-engine entities like object/polygon count and so on. As GLBasic overhead shouldn't be high as in some other tools, a true limiting factor will be gpu, yet as GLB uses old OpenGL we don't have those benefits from newer API's, but still this should be enough. Simplest solution would be same as erico already mentioned, make small project put many objects to it and You will see results. But remember that modern AAA games and tools like Unity/Unreal engine are using many optimizations to reach 30/60fps target. So depending on what You want to achieve there may be need to implement some basic optimizations like LOD for objects...

Erico thats another good question, as GLBasic is single-threaded (maybe something may be changed thanks to new compiler?) so probably this will be limiting factor. But it also depends how AI will be written, check for example 10 entities per frame, their current task, status, find new path and so on... it would be nice to have such playground, even in 2d, and another way to show power of GLB :-)

Threads used to be possible in GLBasic. Does it not work any more?


The attachment seems to be missing from that post though. I might be able to dig out my copy of it somewhere but not sure it's the same version.

Edit: Found something that seems to be the right file but haven't tried it, attached below. It was made for GLBasic 5 according to the project header.


[0] Message Index

[#] Next page

Go to full version