Aktuelle Zeit: So Mai 19, 2013 2:16 am


Neues Thema erstellenAntwort erstellen Seite 1 von 1   [ 2 Beiträge ]
Autor Nachricht
 Betreff des Beitrags: A 3D demo with source
BeitragVerfasst: Sa Apr 02, 2005 10:41 am 
Site Admin
Site Admin
Benutzeravatar

Registriert: Di Mai 04, 2004 9:48 am
Beiträge: 4065
Wohnort: Drolshagen (Germany/NRW)
Hi!

So here is my first sample scene from Commando Xenidis with source code. In case you are interested, others will follow.

It is a universe with one sun (planet[1]) and 30 planets around the sun.
It also has a skymap.

Please don't use my planet names or textures.

The source is not documented yet, but I'll answer your questions if there are any.

My main problem is the lighting: All planets get equal lighting, no matter if they are near the sun or far away. And it would be better if the parts not pointing to the sun were darker... I need urgent help on this, if you have some idea, please let me know and feel free to change the code or use it yourself!

If I lower the values in the planets materials (load_planets), they get darker but still every planet has the same lighting, you can change the values for each planet, but I want real lighting on them, please help me out!

Thanks and have fun with it

Firle

http://www.ericbehme.de/download/commando3dscenes.zip

_________________
You know you've spent too much time on the computer when you spill milk and the first thing you think is, 'edit, undo.'


Nach oben
 Profil  
 
 Betreff des Beitrags:
BeitragVerfasst: Di Apr 19, 2005 11:05 am 
Site Admin
Site Admin
Benutzeravatar

Registriert: Di Mai 04, 2004 9:48 am
Beiträge: 4065
Wohnort: Drolshagen (Germany/NRW)
I found out I have to increase the lighting values a lot, I set Diffuse to 255, then it worked. Seems Omega lighting values not only go from 0-1 but from 0-255. :D

Firle

_________________
You know you've spent too much time on the computer when you spill milk and the first thing you think is, 'edit, undo.'


Nach oben
 Profil  
 
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Neues Thema erstellenAntwort erstellen Seite 1 von 1   [ 2 Beiträge ]


Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 0 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
twilightBB Style by Daniel St. Jules of Gamexe.net

Deutsche Übersetzung durch phpBB.de