Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Oct 17th, 2005, 6:52 PM   #41
Dameon
Troll
 
Dameon's Avatar
 
Join Date: Apr 2005
Location: Texas
Posts: 732
Rep Power: 4 Dameon is on a distinguished road
Sane, I can't agree with your assumption that using DirectX or OpenGL is cheating or counter-productive. They are hardly just-add-water solutions. Truthfully they are fairly close to the hardware. In fact, OpenGL even moreso than DirectX. You still have to learn the math, but not the intricate details of the graphics architecture. Drawing vertices as you are now impedes progress if anything, since rather than working with traditional vertex buffers and matrices, for example, you are inventing your own solutions. While that can be a good thing when learning some topics, not so much in this case. As said, seeing as how OpenGL is considered somewhat lower level than DirectX, that might be the better place to learn the theory.

Also note that DirectX and OpenGL are not 3d engines, but rather interfaces to the underlying hardware. Itt is up to the developer to add another layer, the famed 3d engine. An example of a 3d engine would be Unreal or Source (Note that these also happen to implement other features such as scripting and network play, good canidates to be called something closer to "game engine", but you get the point).
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
Dameon is offline   Reply With Quote
Old Oct 17th, 2005, 8:17 PM   #42
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
I can't use OpenGL or DirectX because I have to use Turing.
Sane is offline   Reply With Quote
Old Oct 18th, 2005, 2:17 AM   #43
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
Quote:
Originally Posted by Sane
I can't use OpenGL or DirectX because I have to use Turing.
Quote:
OpenGL is callable from Ada, C, C++, Fortran, Python, Perl and Java
Sorry mate, no bindings for Turing.
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Oct 18th, 2005, 6:34 AM   #44
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
And why you want to do that in Turing?
ivan is offline   Reply With Quote
Old Oct 18th, 2005, 7:54 AM   #45
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
This topic keeps going around in circles, doesn't it? I mean really, I've seen questions to answers so many times in this thread, it's making my head spin.

And I quote:
Quote:
Originally Posted by Sane
I can only use Turing. It's for school.
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus is offline   Reply With Quote
Old Oct 18th, 2005, 8:03 AM   #46
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
From the first post:
Quote:
I'd like to try to program and implement the core of a 3d engine in a scripting language like Turing or Python.
Contradictions abound.

There are OpenGL bindings for Python, which is why I keep pressin' it

PyOpenGL

I have only experimented with Python, but it seems a fun language.
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Oct 18th, 2005, 10:21 AM   #47
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 did mention PyOpenGL in the second post in this topic, but i don't think he really wants to use OpenGL.
__________________
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 18th, 2005, 10:46 AM   #48
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
Oh, right. Those were excellent links. I didn't know the red book was available online (I have the 3rd Edition, but the first is definitely sufficient for many things).
__________________
-Steven
"Is this a piece of your brain?" - Basil Fawlty
stevengs is offline   Reply With Quote
Old Oct 18th, 2005, 12:00 PM   #49
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,869
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Well I originally intended to do it in Python. But then realised it was for school, so I needed Turing. So yep... I'm going ahead with Turing, I'll just be using wire-frame models, to increase speed. Thanks for the help, you can close this thread I guess.

P.S. IF YOU WANT TO GO ON A DATE OR TALK TO ME YOU CAN FIND ME ON AMERICANSINGLES.COM. MY NAME IS IAMABIGFATLOSER AND IM 98 YEARS OLD. JUST LOOK UP THE PROFILE.

Sorry, that was my friend.
Sane is offline   Reply With Quote
Old Oct 18th, 2005, 12:38 PM   #50
iignotus
Professional Programmer
 
iignotus's Avatar
 
Join Date: Apr 2005
Location: Nowhere Special
Posts: 466
Rep Power: 4 iignotus is on a distinguished road
Send a message via AIM to iignotus
Interesting friend you have there...
__________________
% rc4 hexkey < input > output
#define S ,t=s[i],s[i]=s[j],s[j]=t /* rc4 hexkey <file */
unsigned char k[256],s[256],i,j,t;main(c,v,e)char**v;{++v;while(++i)s[ 
i]=i;for(c=0;*(*v)++;k[c++]=e)sscanf((*v)++-1,"%2x",&e);while(j+=s[i]
+k[i%c]S,++i);for(j=0;c=~getchar();putchar(~c^s[t+=s[i]]))j+=s[++i]S;}
iignotus 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:58 AM.

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