Archived

This topic is now archived and is closed to further replies.

FelixChuk

Lesson 28 to the last lesson

Recommended Posts

I am new in here and also new in OpenGL. I am FelixChuk from HongKong, nice to meet you all. Why there are no Delphi source code from Lesson 28 to the last lesson?? I learnt Delphi for three years and now I want to learn OpenGL. Lastly, I found this great website for me to learn OpenGL, but I followed all the lessons and now I found that..... no Delphi source code available from lesson 28... Hope that it will be available in the near future. Sorry for my poor English. ^-^

Share this post


Link to post
Share on other sites
yes..i know..
i know...C/C++ is really great..
but....as I am still a student...learning C/C++ will use most of my time...also i think it is a little bit difficult for me.

As I mainly want to learn OpenGL, I just want to finished learning OpenGL first...
after that...change to learn C/C++...with OpenGL...

DO you have any Delphi+OpenGL websites for me at this time??

Share this post


Link to post
Share on other sites
Why''s everyone afraid of C++ ?
people thinks its extreamly hard and all, but really it''s just another language, it''s not that hard to lern. Especially when you already have general programming knowledge like Delphi in your case.


return 1;

Share this post


Link to post
Share on other sites
again...i know C++ is not very very hard to learn...
but....at least....it is another language...
i need time to learn and remember the syntax...

um..
It is almost a MUST that I will change to learn C++, but now..
I want to learn more about OpenGL first...

Why so many people learn C++ ??
Why so many people said that Delphi is not good ??

Share this post


Link to post
Share on other sites
C++ gives you the full speed and flexibility of the graphics libraries. I believe both OGL and DX are targetted at C++.

This prety much means you need some sort of typelib for some other language to hook into these libraries.

C++ gives you the thinest layer to these tools and also gives you full access to their data types.

I do mock-ups in VB, but there are certain parts not exposed through the typelib. Plus, I''m not big on directly modifying data bytes with VB, you have a lot of overhead to do simple bit operations. Which kills your speed.

Finally, modern C++ compilers make it real easy to hook in Asm. No matter how fast you get your code, you can always speed it up by going to the source. One of the big advantages to C++ is access to that generated code. I don''t know about Delphi, but VB goes straight from source to binary, no access to the asm code.

The flexibility and speed of C++ is just so much higher than anything else. That is why.

Now, if you just want to do pong. Delphi will be fine.. if you can find a typelib, otherwise you''re going to have to create one yourself... not a fun way to learn a library.

Dustin

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Delphi is great, I think it has the same speed as the Borland C/C++ compiler. It is also great combined with OpenGL. Delphi+OpenGL is a very popular combination so it should be a lot of pages.

Here at gamedev do you the turbo forum and pages that is for Borland users.

Share this post


Link to post
Share on other sites
Thanks for Dustin_00 telling me why so many people using C/C++
really thx....^-^

ok...here is the last question I want to ask...
Which one is better..??
"Borland C++" or "MS Visual C++"

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
ok, i must say i code C/C++ with opengl, and i think it''s better than delphi (although i never coded in delphi) ...

BUT ...

if as you said you don''t have very much time to learn a new language, just stick to delphi for now, i''ve seen some OpenGL demos made with delphi, and they were very good, so don''t waste your time learning a new language for now ...

when you have some time, buy a good C/C++ book, and learn from the beginning (the good old printf("Hello World"); ), and don''t abandon delphi !!

knowing many different languages is a big advantage, so take your time to learn them well, don''t hurry ...

and some languages are better for some tasks than others ...

flure

Share this post


Link to post
Share on other sites
At first...I learn Delphi because the school''s computer lessons teach me ''Pascal''...so...after that I start learning Delphi.

Also, Delphi is quite easy to understand...and I learn to write a Windows Program.(before I use pascal to write DOS program)
Now, I learnt some API and some Execution technique, etc.

But..now...I found that quite a few jobs require ''Delphi''...
Most jobs'' requirement is ''C/C++...'',so I want to learn C/C++ from now on.

I must not forget Delphi because Delphi brings me a lot of programming''s fun. I will use Delphi continuously, but I will also learn C/C++ at the same time...

The same question..
Which one is better..??
"Borland C++" or "MS Visual C++"

Share this post


Link to post
Share on other sites
FelixChuk,
In response to your question, "Which is better, Visual C++, or Borland C++?" :

It really is a matter of personal taste, though Visual C/C++ has a lot more support (including mine). I used to use Borland compilers in the past, starting with Turbo Pascal 1.0, and ending with Borland C/C++ 3.1. (Yes, that was quite a while ago )

You can get Borland C/C++ 5.5 command line compiler for free, but it doesn''t have any fancey ide with it. (I''m sure there are third party ide''s you can find, but as I use Visual C++, I have no desire to hunt these down) If cost is the primary factor, then download this and play with it. If resources are, then buy Visual C++. (There are tons of books and online resources available for Visual C++, and even id Software releases their source code with Visual Studio workspaces) You can find introductory versions of Visual C++ bundled with some of those "Learn C in 21 days" books. I reccomend Visual C++ over Borland, but only because of my lack of exposure to recent Borland products.

Feel free to email me.

Share this post


Link to post
Share on other sites