Zum Inhalt springen

CGSG/Workshop: Unterschied zwischen den Versionen

Kyrah (Diskussion | Beiträge)
K Fixed b0rken links
Kyrah (Diskussion | Beiträge)
K Teil 2: moved code samples to Metalab SVN
Zeile 38: Zeile 38:
''Beispiel-Code''
''Beispiel-Code''
# Beleuchtung
# Beleuchtung
## [http://kyrah.net/scratch/opengl/src/07-firstlight.cpp 07-firstlight.cpp] einfache Lichtquelle
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/lighting/firstlight.cpp firstlight.cpp] einfache Lichtquelle
## [http://kyrah.net/scratch/opengl/src/07-materialcolour.cpp 07-materialcolour.cpp] Materialfarben
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/lighting/materialcolour.cpp materialcolour.cpp] Materialfarben
## [http://kyrah.net/scratch/opengl/src/07-components.cpp 07-components.cpp] Materialkomponenten (ambient/diffuse/specular)
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/lighting/components.cpp components.cpp] Materialkomponenten (ambient/diffuse/specular)
## [http://kyrah.net/scratch/opengl/src/07-lightcolour.cpp 07-lightcolour.cpp] Lichtfarben
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/lighting/lightcolour.cpp lightcolour.cpp] Lichtfarben
## [http://kyrah.net/scratch/opengl/src/07-movinglight.cpp 07-movinglight.cpp] bewegte Lichtquelle
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/lighting/movinglight.cpp movinglight.cpp] bewegte Lichtquelle
## [http://kyrah.net/scratch/opengl/src/07-house.cpp 07-house.cpp] das Haus aus der Aufgabe vom letzten Mal mit Beleuchtung
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/lighting/house.cpp house.cpp] das "Haus" vom 1. Workshop mit Beleuchtung
# Needful Things
# Needful Things
## [http://kyrah.net/scratch/opengl/src/08-movinglight-keyrepeat.cpp 08-movinglight-keyrepeat.cpp] verbesserte Tastatureingabe
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/animation/keyrepeat.cpp keyrepeat.cpp] verbesserte Tastatureingabe
## [http://kyrah.net/scratch/opengl/src/08-timer.cpp 08-timer.cpp] Animation mit Timer
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/animation/tba.cpp tba.cpp] zeitbasierte Animation
## [http://kyrah.net/scratch/opengl/src/08-timer-waitevent.cpp 08-timer-waitevent.cpp] Animation mit Timer und SDL_WaitEvent()
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/animation/timer.cpp timer.cpp] Animation mit Timer
## <strike>[http://kyrah.net/scratch/opengl/src/08-notimer-waitevent.cpp 08-notimer-waitevent.cpp] Animation OHNE Timer und SDL_WaitEvent()</strike>
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/animation/timer-waitevent.cpp timer-waitevent.cpp] Animation mit Timer und SDL_WaitEvent()
# Texturen
# Texturen
## [http://kyrah.net/scratch/opengl/src/09-texturing/09-texturing.cpp 09-texturing.cpp] [http://kyrah.net/scratch/opengl/src/09-texturing/Image.h Image.h]  [http://kyrah.net/scratch/opengl/src/09-texturing/Image.cpp Image.cpp] [http://kyrah.net/scratch/opengl/src/09-texturing/Makefile Makefile]  [http://kyrah.net/scratch/opengl/src/09-texturing/crate.tga crate.tga] komplettes Beispiel zur Texturierung
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v1/texturing1.cpp texturing1.cpp] [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v1/Image.h Image.h]  [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v1/Image.cpp Image.cpp] [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v1/Makefile Makefile]  [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v1/crate.tga crate.tga] komplettes Beispiel zur Texturierung
## [http://kyrah.net/scratch/opengl/src/09-texturing/09-texturing-abstracted.cpp 09-texturing-abstracted.cpp] [http://kyrah.net/scratch/opengl/src/09-texturing/Texture.h Texture.h]  [http://kyrah.net/scratch/opengl/src/09-texturing/Texture.cpp Texture.cpp] [http://kyrah.net/scratch/opengl/src/09-texturing/Makefile-abstracted Makefile-abstracted] ditto, mit Klasse ''Texture''
## [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v2/texturing2.cpp texturing2.cpp] [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v2/Texture.h Texture.h]  [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v2/Texture.cpp Texture.cpp] [https://whatever.metalab.at/user/kyrah/opengl/workshops/ws2/textures/v2/Makefile Makefile] ditto, mit Klasse ''Texture''


<!-- coming up in the next part  
<!-- coming up in the next part  
Zeile 62: Zeile 62:
## [http://kyrah.net/scratch/opengl/src/obj/Hyundai_Coupe.zip Hyundai_Coupe.zip] Testdaten - ausführen als ''readobj Hyundai_Coupe/Hyundai_Coupe.obj''
## [http://kyrah.net/scratch/opengl/src/obj/Hyundai_Coupe.zip Hyundai_Coupe.zip] Testdaten - ausführen als ''readobj Hyundai_Coupe/Hyundai_Coupe.obj''
// -->
// -->


== Misc. ==
== Misc. ==