7.6– Exemplos
Exemplo
71: Exemplos de PointLight
Background {
# skyColor 0 0 0.2
}
NavigationInfo {
headlight TRUE
}
PointLight {
on TRUE
location 0 5 0
color 0 1 0 # luz vermelha
intensity 1
}
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry Sphere {
radius 2
}
}
Exemplo 72: Exemplos
de PointLight
Background {
# skyColor 0 0 0.2
}
NavigationInfo {
headlight FALSE
}
PointLight {
on TRUE
location 0 5 0
color 0 1 0 # luz vermelha
intensity 1
}
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry Sphere {
radius 2
}
}
Exemplo 73: Exemplos
de PointLight
Background {
skyColor 0 0 0.2
}
NavigationInfo {
headlight TRUE
}
PointLight {
on TRUE
location 0 5 0
color 0 1 0 # luz vermelha
intensity 1
}
PointLight {
on TRUE
location 0 5 0
color 1 0 0 # luz vermelha
intensity 1
}
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry Sphere {
radius 2
}
}
Exemplo 74: Exemplos
de PointLight
Background {
skyColor 0 0 0.2
}
NavigationInfo {
headlight FALSE
}
PointLight {
on TRUE
location 0 5 0
color 0 1 0 # luz vermelha
intensity 1
}
PointLight {
on TRUE
location 0 5 0
color 1 0 0 # luz vermelha
intensity 1
}
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry Sphere {
radius 2
}
}
Exemplo 75: Exemplos
de PointLight
Background {
skyColor 0 0 0.2
}
NavigationInfo {
headlight FALSE
}
PointLight {
on TRUE
location 0 5 0
color 0 1 0 # luz vermelha
intensity 1
}
PointLight {
on TRUE
location 0 5 0
color 1 0 0 # luz vermelha
intensity 1
}
PointLight {
on TRUE
location 0 5 0
color 0 0 1 # luz vermelha
intensity 1
}
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry Sphere {
radius 2
}
}
Exemplo 76: Exemplos
de PointLight
Background {
skyColor 0 0 0.2
}
NavigationInfo {
headlight FALSE
}
PointLight {
on TRUE
location 0 5 0
color 0 1 0 # luz vermelha
intensity 1
}
PointLight {
on TRUE
location 0 5 0
color 1 0 0 # luz vermelha
intensity 1
}
PointLight {
on TRUE
location 0 5 0
color 0 0 1 # luz vermelha
intensity 1
}
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry Sphere {
radius 2
}
}
Exemplo 77: Exemplos
de PointLight
Background {
skyColor 0 0 0.2
}
NavigationInfo {
headlight FALSE
}
PointLight {
on TRUE
location 0 5 0
color 1 0 0 # luz vermelha
intensity 1
}
PointLight {
on TRUE
location 0 5 0
color 0 0 1 # luz vermelha
intensity 1
}
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry Sphere {
radius 2
}
}
Exemplo
78: Exemplos de PointLight
Background {
skyColor 0 0 0.2
}
NavigationInfo {
headlight FALSE
}
PointLight {
on TRUE
location 0 5 0
color 1 0 0 # luz vermelha
intensity 1
}
PointLight {
on TRUE
location 0 5 0
color 0 0 1 # luz vermelha
intensity 1
}
Shape {
appearance Appearance {
material Material {
diffuseColor 1 1 1
}
}
geometry Sphere {
radius 2
}
}