ShiVa3D
Dynamic lighting performance problem.
Windows DX9/OpenGL 2 Standalone AppsDynamic lighting performance problem.
by michax » 21 Nov 2011, 05:11
I've got sluggish performance in Shiva when using Dynamic Lighting (vertex or pixel).
For a test purpose i've put together scene with wall created from 10 000 box models and one directional light.
Details about base model:
- material: solid color, no textures, no shadows, per vertex lighting
- attribute: collider (i don't see diference without it)
- no dynamics
- no Z Shell for transparency
I've tested 3 multi platform engines within indie budget range. Results below:
- Shiva 1.9.1_beta2, exported C++.
FPS: 17 (Vertex or Pixel lighting)
FPS: 40 (Disabled lighting)
- Unity 3.4.2 Free
FPS: 60 (Vertex Lit)Good Quality
FPS: 90 (Vertex Lit)Fastest
FPS: 55 (Deffered)Good Quality,Fastest
- Esenthel
FPS: 144 Deffered rendering
FPS: 150 Forward rendering
Hardware used for testing
CPU: i7 Extreme, HT, 4 cores, 8 cores visible in system.
GPU: GTX 260, drivers 285.62 default settings, no overrides.
OS: Windows 7 x64
RAM: 6gb
I don't know if it's hardware specific case, but on my pc performance with shiva and
lit objects is very bad. I've included all executables used for testing and also Shiva project.
Shiva test have simple GUI. To generate boxes put 10000 in input box, click generate and then click Toogle to show boxes.
There is huge posibility that i messed something in code, if so i would appreciate suggestion to fix performance problem.
If everything is ok with test app configuration, is there an plan to improve performance for PC with shiva ? Not only lit objects
perform badly. Same issue occurs without dynamic lighting, but performance in that case is acceptable.
Test executables:
http://dl.dropbox.com/u/25801721/benchmark_executable.zip
Shiva project:
http://dl.dropbox.com/u/25801721/shiva_project.zip
Thanks for help.
For a test purpose i've put together scene with wall created from 10 000 box models and one directional light.
Details about base model:
- material: solid color, no textures, no shadows, per vertex lighting
- attribute: collider (i don't see diference without it)
- no dynamics
- no Z Shell for transparency
I've tested 3 multi platform engines within indie budget range. Results below:
- Shiva 1.9.1_beta2, exported C++.
FPS: 17 (Vertex or Pixel lighting)
FPS: 40 (Disabled lighting)
- Unity 3.4.2 Free
FPS: 60 (Vertex Lit)Good Quality
FPS: 90 (Vertex Lit)Fastest
FPS: 55 (Deffered)Good Quality,Fastest
- Esenthel
FPS: 144 Deffered rendering
FPS: 150 Forward rendering
Hardware used for testing
CPU: i7 Extreme, HT, 4 cores, 8 cores visible in system.
GPU: GTX 260, drivers 285.62 default settings, no overrides.
OS: Windows 7 x64
RAM: 6gb
I don't know if it's hardware specific case, but on my pc performance with shiva and
lit objects is very bad. I've included all executables used for testing and also Shiva project.
Shiva test have simple GUI. To generate boxes put 10000 in input box, click generate and then click Toogle to show boxes.
There is huge posibility that i messed something in code, if so i would appreciate suggestion to fix performance problem.
If everything is ok with test app configuration, is there an plan to improve performance for PC with shiva ? Not only lit objects
perform badly. Same issue occurs without dynamic lighting, but performance in that case is acceptable.
Test executables:
http://dl.dropbox.com/u/25801721/benchmark_executable.zip
Shiva project:
http://dl.dropbox.com/u/25801721/shiva_project.zip
Thanks for help.
1 post
• Page 1 of 1
