Weltkugel
Das Erzeugen einer realistischen Weltkugel ist relativ einfach. Man
benötigt nur eine Kugel (Sphere) und eine passende Textur.
Man nehme:
1. Eine Textur (Quelle: http://textures.forrest.cz/):
2. Eine Kugel, auf die man die Textur projiziert.
#VRML V2.0 utf8
Background {skyColor 0 0 0}
Shape{
appearance Appearance {
material Material { }
texture ImageTexture {
url "earth2.jpg"
}
}
geometry Sphere { radius 3}
}
|
3. Das Ergebnis