Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 16th, 2005, 6:15 AM   #31
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
nice work
Polyphemus_ is offline   Reply With Quote
Old Oct 16th, 2005, 3:33 PM   #32
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,189
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
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.
Sane is offline   Reply With Quote
Old Oct 16th, 2005, 4:13 PM   #33
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
the speed problem also has to do with the fact it is not hardware accelerated, while engines like opengl and directx are.
Polyphemus_ is offline   Reply With Quote
Old Oct 16th, 2005, 5:15 PM   #34
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,189
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
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?
Sane is offline   Reply With Quote
Old Oct 17th, 2005, 2:01 AM   #35
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
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.
coldDeath is offline   Reply With Quote
Old Oct 17th, 2005, 4:33 AM   #36
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
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.
Polyphemus_ is offline   Reply With Quote
Old Oct 17th, 2005, 7:17 AM   #37
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
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
stevengs is offline   Reply With Quote
Old Oct 17th, 2005, 4:10 PM   #38
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,189
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
I can only use Turing. It's for school. And I want to do this 3d Airplane Fighting Simulator.
Sane is offline   Reply With Quote
Old Oct 17th, 2005, 5:51 PM   #39
stevengs
Professional Programmer
 
stevengs's Avatar
 
Join Date: May 2005
Location: Bad Nauheim, Germany
Posts: 436
Rep Power: 4 stevengs is on a distinguished road
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
stevengs is offline   Reply With Quote
Old Oct 17th, 2005, 6:43 PM   #40
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,189
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
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?
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC