DGL
https://delphigl.com/forum/

Kylix OpenGL 1.5 Template
https://delphigl.com/forum/viewtopic.php?f=19&t=3164
Seite 1 von 2

Autor:  McCLaw [ Di Aug 17, 2004 16:00 ]
Betreff des Beitrags:  Kylix OpenGL 1.5 Template

Hi All :D

I am trying to find a Kylix OpenGL 1.5 Template.

Does one exist? :?

If so, where can I download it?
Thank you in advance.

Autor:  Raphael O. [ Di Aug 17, 2004 16:15 ]
Betreff des Beitrags: 

are you searching for this one: ?
http://www.delphigl.com/do_download.php?f=9000

you can also find it in the "files" section at the menupoint "Templates" ;-)

Autor:  Gast [ Mi Aug 18, 2004 07:10 ]
Betreff des Beitrags: 

Yes!! :)

Thats the one!

Thank you Fiji :D

My next Q id where do I find xlib?

Autor:  McCLaw [ Mi Aug 18, 2004 07:19 ]
Betreff des Beitrags: 

OOPs :oops:
wasnt logged in :oops:

Autor:  Delphic [ Mi Aug 18, 2004 08:10 ]
Betreff des Beitrags: 

Anonymous hat geschrieben:
My next Q id where do I find xlib?

This file is actually part of Kylix. The problem is probably the case of the letters. You may test: xLib, XLib, Xlib.. Or simply search for the file ;-) If the first xlib the compiler finds is written in wrong case, it will complain, but if the first xlib found in a project is written right, the compiler seems not to have a problem with the case anymore.

Autor:  McCLaw [ Mi Aug 18, 2004 10:50 ]
Betreff des Beitrags: 

Is there a Delphi version of this? :D

I would need to compile the app in both Kylix, and delphi.

Excuse my ignorance, Its my first venture into Kylix :oops: :D

Autor:  Delphic [ Mi Aug 18, 2004 15:07 ]
Betreff des Beitrags: 

No this would make no sense, as the xlib unit is only used for accessing the XServer, which is unix specific. It is only needed for initialization, so you won't need it under windows. You could use compiler directives, if you plan to use one initialization-unit for win32 and linux.

Autor:  Phobeus [ Mi Aug 18, 2004 15:10 ]
Betreff des Beitrags: 

Or trying a work-around with something completly different using SDL. ;) Currently we don't have any templates for kylix, but have a look at the freepascal template. It shall be easy to port it.

Autor:  McCLaw [ Mi Aug 18, 2004 15:24 ]
Betreff des Beitrags: 

Hi Flow

I have tried using SDL, and it works, but I need to examine all the available options before I make a decision on what to use for the cross platform code.

I was thinking that perhaps I shoudl look into glut also.

Any of you guys used glut in kylix before?

Autor:  noeska [ Mi Aug 18, 2004 16:37 ]
Betreff des Beitrags: 

Being dependend on lots of external libraries is a bad thing i think. Therefore i have a template for win32 and a template for Linux. My code comes in a unit. All i have to do then is compile it. Take a look at the template that comes with the gl3ds or gui example program.

This way i do not need glut sdl etc.

Autor:  BTierens [ Mi Aug 18, 2004 16:44 ]
Betreff des Beitrags: 

First I tried to use GLX but this didn't work. Then I tried GLUT but it didn't work too and now I 'm using SDL and it works.

Autor:  noeska [ Mi Aug 18, 2004 17:44 ]
Betreff des Beitrags: 

I post my minimal linux opengl app again here:

Dateianhänge:
Dateikommentar: Linux x app with opengl
minimalxapp.zip [1.25 KiB]
368-mal heruntergeladen

Autor:  McCLaw [ Do Aug 19, 2004 14:49 ]
Betreff des Beitrags: 

Thanx for the help all :D

I will try everyting you guys suggested, and see what works the best :)

BTW: Noeska, I havnt forgotten to post your GUI code, i'm just very busy with the game engine at the moment :oops:

Soz bro.

Autor:  Phobeus [ Do Aug 19, 2004 16:10 ]
Betreff des Beitrags: 

In fact you shouldn hurry up with decision about libaries. But I think SDL is really the best possible way that is avaible. You do not need to write extra ports for window creation for windows and linux, nor do you need (for us windows programmers) exotic x libaries. I also think that SDL is really worth learning and as long as some commercial games (UT2004) are using SDL for their linux ports, I am quite sure it won't disappear from one day to the other. Blut in fact should be seen as absolute evil. Plz save your time and stay away ;)
btw: Nice to see here some action :)

Autor:  BTierens [ Do Aug 19, 2004 16:50 ]
Betreff des Beitrags: 

Yes, and SDL contains useful functions such as SDL_GetTicks() for animations.

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