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

Aktuelle Zeit: So Jun 16, 2024 09:16

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



Ein neues Thema erstellen Auf das Thema antworten  [ 3 Beiträge ] 
Autor Nachricht
BeitragVerfasst: Di Jan 01, 2008 17:34 
Offline
DGL Member
Benutzeravatar

Registriert: Di Jul 01, 2003 18:59
Beiträge: 887
Wohnort: (The Netherlands)
Programmiersprache: fpc/delphi/java/c#
Whilst researching Ambient Occlusion on the internet i found this: http://dbfinteractive.com/index.php?topic=2117.15
It shows how to implement ambient occlusion using spheres without using shaders! Below is a screenshot and the converted delphi sourcecode. Enjoy :o

For those who are unfamiliar with the term Ambient Occlusion: http://en.wikipedia.org/wiki/Ambient_occlusion


Dateianhänge:
Dateikommentar: the delphi sourcecode
AmbientOcclusionNoShaders.zip [7.83 KiB]
282-mal heruntergeladen
aonoshader.jpg
aonoshader.jpg [ 11.81 KiB | 2940-mal betrachtet ]

_________________
http://3das.noeska.com - create adventure games without programming
Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Di Jan 01, 2008 23:17 
Offline
DGL Member
Benutzeravatar

Registriert: Do Sep 02, 2004 19:42
Beiträge: 4158
Programmiersprache: FreePascal, C++
Really interesting on the first view, but as far as I understood it does only work for spheres. So it is not useable in many cases in game programming, or am I wrong?

Greetz Lord Horazont

_________________
If you find any deadlinks, please send me a notification – Wenn du tote Links findest, sende mir eine Benachrichtigung.
current projects: ManiacLab; aioxmpp
zombofant networkmy photostream
„Writing code is like writing poetry“ - source unknown


„Give a man a fish, and you feed him for a day. Teach a man to fish and you feed him for a lifetime. “ ~ A Chinese Proverb


Nach oben
 Profil  
Mit Zitat antworten  
 Betreff des Beitrags:
BeitragVerfasst: Mi Jan 02, 2008 01:46 
Offline
DGL Member
Benutzeravatar

Registriert: Mo Sep 02, 2002 15:41
Beiträge: 867
Wohnort: nahe Stuttgart
I think it's a brilliant idea to use a negative color for lights, that's kinda inventive. Why don't I get such ideas? ;)
However this method will only be useful if you already know where the occluded dark spots are. In addition there can't be more spots than OpenGL lights. Of course you can light... I mean... darken anything but if you take into consideration, there are shaders available that actually run well in realtime on GF68 and up, it's not of much use anymore.
Anyway, after reading through your link i'd be interested in how to do metaballs with lights...


Nach oben
 Profil  
Mit Zitat antworten  
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen Auf das Thema antworten  [ 3 Beiträge ] 
Foren-Übersicht » English » English Programming Forum


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 4 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:  
cron
  Powered by phpBB® Forum Software © phpBB Group
Deutsche Übersetzung durch phpBB.de
[ Time : 0.293s | 19 Queries | GZIP : On ]