![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#31 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 3
![]() |
nice work
![]() |
|
|
|
|
|
#32 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
Okay, I'm having troubles with using models now. The individual calculations for every single pixel to rotate, flatten then draw takes too long. A solid rotating cube (20 x 20) takes about 100 m/s per frame. So that's no good.
One step I'm taking is making it so it will exclude the flattened pixels of a same outputted (x, y). But I'm afriad that won't be enough. As well, for a model that is 180 x 180 x 180, that's like 194 000 surface pixels, and array of that quantity can't be stored in Turing. |
|
|
|
|
|
#33 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 3
![]() |
the speed problem also has to do with the fact it is not hardware accelerated, while engines like opengl and directx are.
|
|
|
|
|
|
#34 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
Interesting...
How does hardware accelartion work? Certain parts of the processor are built to function well for the calculations of those particular engines I'm guessing? |
|
|
|
|
|
#35 |
|
Expert Programmer
|
I think it is to do with the Graphics Card.
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#36 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 3
![]() |
Hardware acceleration is that the GPU (Graphic Processing Unit) on your graphics card does all the calculations. This means all the GPU time can work on the graphics, and the CPU can do other stuff. When the calculations are done on the CPU, you don't have all of the CPU time, since other applications are running on the background.
|
|
|
|
|
|
#37 |
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
Furthermore, the GPU and memory/memory bus architecture is designed such that the calculations are highly optimized. The calculations can be performed much faster than the with the 'general purpose' system CPU. (besides the fact that the calculations are performed right at the exit point!) You do have to stick to the interface, however, to enjoy these performance gains.
I recommend checking out "OpenGL Programming Guide" - Woo, Neider, Davis and Shreiner, ISBN# 0201604582. I have the third edition, and am very happy with it.
__________________
-Steven "Is this a piece of your brain?" - Basil Fawlty |
|
|
|
|
|
#38 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
I can only use Turing. It's for school. And I want to do this 3d Airplane Fighting Simulator.
|
|
|
|
|
|
#39 |
|
Professional Programmer
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4
![]() |
You might want to stick to wire-frame models, or very simple models. The CPU might manage that.
__________________
-Steven "Is this a piece of your brain?" - Basil Fawlty |
|
|
|
|
|
#40 |
|
Programming Guru
![]() Join Date: Apr 2005
Posts: 1,799
Rep Power: 5
![]() |
Wire-frame models eh.... very nice idea. I like it. I will go for that.
Thanks. ![]() Anyone have some airplane models they can export to a format Blender can handle? |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|