DGL
https://delphigl.com/forum/

GLScene
https://delphigl.com/forum/viewtopic.php?f=19&t=2065
Seite 1 von 1

Autor:  GCreator [ Mi Okt 22, 2003 18:43 ]
Betreff des Beitrags:  GLScene

Is there GLScene the best 3d component...And how can I learn GLScene or your better component ..Is there a guide or something different??

Autor:  Phobeus [ Mi Okt 22, 2003 23:09 ]
Betreff des Beitrags: 

I personally won't suggest anybody components for creating 3d-graphics. Of course, first it seems to be easier to learn, but in fact you learn more about the component itself than about graphic programming itself. So give normal opengl programming a chance and use the headers ;) If you really wanna use some components, I think GlScene are the best you can get in the web. I heard about another ... think it was GlExtreme or something like that. Don't know if it's worth something...

Autor:  rswm [ Do Okt 23, 2003 07:28 ]
Betreff des Beitrags: 

if you wish to use components then you glscene!!! glextreme is not so good (itested both).

but i think you should use the headers instead as phobeus sad.

Autor:  hmmm [ Do Okt 23, 2003 11:56 ]
Betreff des Beitrags:  GCreator

OpenGL is so hard and it has so much for write code.......! Where can I find a tutorial in opengl or glscene? Or to use the examples?

Autor:  rswm [ Do Okt 23, 2003 12:08 ]
Betreff des Beitrags: 

i don't think opengl is hard.
if you wrote a basic unit which starts opengl and do some things you never use very often in ONE program than it's easy.

i don't write everytime the whole thing, i use my unit GLBase.dcu/pas and i created a template. so i must click 3 times and then i can edit my new program. it's easier than you would think.

be smart - use opengl.

if you search for glscene docs then look at the projectsite (to find in the linksection of this site [www.delphigl.com] under something like "Bibliotheken" or so)

RSWM

Autor:  How can i start... [ Do Okt 23, 2003 18:21 ]
Betreff des Beitrags:  GCreator

how can i start to learn OpenGL...!Recomment me..!How did YOU start?

Autor:  Sascha Willems [ Do Okt 23, 2003 18:26 ]
Betreff des Beitrags: 

Since OpenGL is independend of the programming language you use,you can take a look at nehe's Tuts which are used by many people to start with OpenGL.
Also take a look at the redbook (see our downloads),which is THE document for learning OpenGL.
And if you can read german,don't forget our tutorials.And if you don't mind the sloppy translation,then use something like babblefish to translate them into english.

Autor:  Sorry.. [ Do Okt 23, 2003 22:01 ]
Betreff des Beitrags:  GCreator

I'm sorry i asked so many times but in red book why there isnt a chapters in graphics there! I think the examples in nehe are in C++

Autor:  Sascha Willems [ Do Okt 23, 2003 22:10 ]
Betreff des Beitrags: 

The whole Redbook is about graphics with OpenGL,do I don't know where's the problem.Hopefully you searched for the OpenGL-Redbook and not only for Redbook,as a Redbooks are also used in other fields.
And for the Nehe-Tutorials : As I said,OpenGL is independend of the used programming language,so there's no problem learning it via NeHe's great tutorials (and most of them come with a delphi-port).In C, you write glTranslatef(1.0,1.0,1.0) and in Delphi it's glTranslatef(1,1,1),so there's almost no difference.(And you even can use the 1.0 in Delphi).

Autor:  Silk [ Do Okt 23, 2003 22:28 ]
Betreff des Beitrags:  Re: GCreator

Sorry.. hat geschrieben:
I'm sorry i asked so many times but in red book why there isnt a chapters in graphics there! I think the examples in nehe are in C++

if your red book has something to do with Russia you downloaded the wrong one :P The OpenGL Programming Guide aka. the Red Book is about nothing else but graphics programming.

The Nehe Tutorials are written in C++ indeed, but since the OpenGL Commands and Variables are identical for Delphi i found it not hard to adapt it to Delphi. At the end of the Tutorials there are usually translations for lots of different programming languages, so you don't have to translate the window handling code to Delphi on your own. As said the OpenGL Commands are same for all languages, e.g:

Code:
  1.  
  2. glColor3f(1.0, 0.0, 1.0);
  3. glBegin(GL_QUADS);
  4.   glVertex3f(0.0, 0.0, 0.0);
  5.   glVertex3f(0.0, 1.0, 0.0);
  6.   glVertex3f(1.0, 1.0, 0.0);
  7.   glVertex3f(1.0, 0.0, 0.0);
  8. glEnd();


This code should do exactly the same in C++ like it does in Delphi (Draw a Quad).

Maybe try translate the delphigl.com tutorials with babelfish.altavista.com and take a look at them too, no idea how useful the result will be but its definitely worth a try!

Autor:  KidPaddle [ Do Okt 23, 2003 22:43 ]
Betreff des Beitrags: 

Silk, your member icon ist great :lol:

KidPaddle

Autor:  rswm [ Fr Okt 24, 2003 08:02 ]
Betreff des Beitrags: 

i started learning opengl by taking a look at some small sourcecodes. then i tried a little bit. the next step was to look at nehe's tuts.

after this i knew the first things like translation, rotation, etc.

then i found DGL. theses tutshelped me a lot and the forum is great to.

i recommend you to look at sources, read tuts and be active in at least one forum.

if you have questions concerning opengl we will help you to understand it.

RSWM

Autor:  Raphael O. [ Fr Okt 24, 2003 09:19 ]
Betreff des Beitrags: 

the tutorials at nehe all use C++ but the sourcecode for most of them are also available with Delphi-Code :)
Just look below the tutorial ;)

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/