Files |  Tutorials |  Articles |  Links |  Home |  Team |  Forum |  Wiki |  Impressum

Aktuelle Zeit: Mi Mai 29, 2024 05:40

Foren-Übersicht » English » English Programming Forum
Unbeantwortete Themen | Aktive Themen



Ein neues Thema erstellen Auf das Thema antworten  [ 17 Beiträge ]  Gehe zu Seite 1, 2  Nächste
Autor Nachricht
 Betreff des Beitrags: Kylix OpenGL 1.5 Template
BeitragVerfasst: Di Aug 17, 2004 16:00 
Offline
DGL Member
Benutzeravatar

Registriert: Do Dez 11, 2003 13:23
Beiträge: 25
Wohnort: South Africa
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.

_________________
Im out of my mind but please leave a message...
www.sulaco.co.za


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Di Aug 17, 2004 16:15 
Offline
DGL Member
Benutzeravatar

Registriert: Sa Jan 04, 2003 21:23
Beiträge: 674
Wohnort: Köln
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" ;-)

_________________
. . .


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 07:10 
Yes!! :)

Thats the one!

Thank you Fiji :D

My next Q id where do I find xlib?


Nach oben
  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 07:19 
Offline
DGL Member
Benutzeravatar

Registriert: Do Dez 11, 2003 13:23
Beiträge: 25
Wohnort: South Africa
OOPs :oops:
wasnt logged in :oops:

_________________
Im out of my mind but please leave a message...
www.sulaco.co.za


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 08:10 
Offline
DGL Member

Registriert: Do Mai 30, 2002 18:48
Beiträge: 1617
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.


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 10:50 
Offline
DGL Member
Benutzeravatar

Registriert: Do Dez 11, 2003 13:23
Beiträge: 25
Wohnort: South Africa
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

_________________
Im out of my mind but please leave a message...
www.sulaco.co.za


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 15:07 
Offline
DGL Member

Registriert: Do Mai 30, 2002 18:48
Beiträge: 1617
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.


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 15:10 
Offline
Fels i.d. Brandung
Benutzeravatar

Registriert: Sa Mai 04, 2002 19:48
Beiträge: 3827
Wohnort: Tespe (nahe Hamburg)
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.

_________________
"Light travels faster than sound. This is why some people appear bright, before you can hear them speak..."


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 15:24 
Offline
DGL Member
Benutzeravatar

Registriert: Do Dez 11, 2003 13:23
Beiträge: 25
Wohnort: South Africa
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?

_________________
Im out of my mind but please leave a message...
www.sulaco.co.za


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 16:37 
Offline
DGL Member
Benutzeravatar

Registriert: Di Jul 01, 2003 18:59
Beiträge: 887
Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
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.

_________________
http://3das.noeska.com - create adventure games without programming


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 16:44 
Offline
DGL Member

Registriert: Fr Aug 13, 2004 17:43
Beiträge: 60
Wohnort: Belgien
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.


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Aug 18, 2004 17:44 
Offline
DGL Member
Benutzeravatar

Registriert: Di Jul 01, 2003 18:59
Beiträge: 887
Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
I post my minimal linux opengl app again here:


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

_________________
http://3das.noeska.com - create adventure games without programming
Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Aug 19, 2004 14:49 
Offline
DGL Member
Benutzeravatar

Registriert: Do Dez 11, 2003 13:23
Beiträge: 25
Wohnort: South Africa
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.

_________________
Im out of my mind but please leave a message...
www.sulaco.co.za


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Aug 19, 2004 16:10 
Offline
Fels i.d. Brandung
Benutzeravatar

Registriert: Sa Mai 04, 2002 19:48
Beiträge: 3827
Wohnort: Tespe (nahe Hamburg)
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 :)

_________________
"Light travels faster than sound. This is why some people appear bright, before you can hear them speak..."


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Do Aug 19, 2004 16:50 
Offline
DGL Member

Registriert: Fr Aug 13, 2004 17:43
Beiträge: 60
Wohnort: Belgien
Yes, and SDL contains useful functions such as SDL_GetTicks() for animations.


Nach oben
 Profil  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 17 Beiträge ]  Gehe zu Seite 1, 2  Nächste
Foren-Übersicht » English » English Programming Forum


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 10 Gäste


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Gehe zu:  
  Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de
[ Time : 0.033s | 20 Queries | GZIP : On ]