LisaacTM Platform

LIGHT


Light properties
Inherit/Insert Summary
parent_state
parent_object No developed.
 
Constructor Summary
create at
 
Slot Summary
ambient
scattered light - no particular direction
diffuse
conic light
specular
shininess
position
is_directional
if true 'position' is the direction
modified
make
is_enabled
 
Lighting Model
set_model_ambient
set_model_local_viewer
set_model_two_side
notify
set_ambient
set_diffuse
set_specular
set_position
set_directional
enable_default_light
disable_default_light
 
Current states: - lights - planes - textures - depth test - alpha test - stencil test - scissor test - blending - culling - fog
enable
disable
push_attrib
pop_attrib
new_attrib
save
restore
 

Inherit/Insert Detail

parent_state

.../extra/opengl/abstract_renderer/light.li line #9

Section:
Inherit

Profile:
+ SelfSELFparent_state :Expanded  STATE

parent_object

.../extra/opengl/abstract_renderer/state.li line #9

Section:
Inherit

Profile:
- SelfSELFparent_object : OBJECT

Constructor Detail

create at

.../extra/opengl/abstract_renderer/light.li line #24

Section:
Public

Profile:
- SelfSELFcreate  ( a : COLOR, d : COLOR, s : COLOR)  at   pos : VECTOR3REAL_32) : SELF

Detail slot

ambient

.../extra/opengl/abstract_renderer/light.li line #13

Section:
Public

Profile:
+ SelfSELFambient : COLOR

Description:
scattered light - no particular direction

diffuse

.../extra/opengl/abstract_renderer/light.li line #14

Section:
Public

Profile:
+ SelfSELFdiffuse : COLOR

Description:
conic light

specular

.../extra/opengl/abstract_renderer/light.li line #15

Section:
Public

Profile:
+ SelfSELFspecular : COLOR

Description:
shininess

position

.../extra/opengl/abstract_renderer/light.li line #17

Section:
Public

Profile:
+ SelfSELFposition : VECTOR3REAL_32)

is_directional

.../extra/opengl/abstract_renderer/light.li line #19

Section:
Public

Profile:
+ SelfSELFis_directional : BOOLEAN

Description:
if true 'position' is the direction

modified

.../extra/opengl/abstract_renderer/light.li line #21

Section:
Public

Profile:
+ SelfSELFmodified : BOOLEAN

make

.../extra/opengl/abstract_renderer/light.li line #32

Section:
Public

Profile:
- SelfSELFmake  ( a : COLOR, d : COLOR, s : COLOR, pos : VECTOR3REAL_32))

is_enabled

.../extra/opengl/abstract_renderer/state.li line #30

Section:
Public

Profile:
+ SelfSELFis_enabled : BOOLEAN

Lighting Model

set_model_ambient

.../extra/opengl/abstract_renderer/light.li line #46

Section:
Public

Profile:
- SelfSELFset_model_ambient   col : RGBA

set_model_local_viewer

.../extra/opengl/abstract_renderer/light.li line #47

Section:
Public

Profile:
- SelfSELFset_model_local_viewer   b : BOOLEAN

set_model_two_side

.../extra/opengl/abstract_renderer/light.li line #48

Section:
Public

Profile:
- SelfSELFset_model_two_side   b : BOOLEAN

notify

.../extra/opengl/abstract_renderer/light.li line #51

Section:
Public

Profile:
- SelfSELFnotify 

set_ambient

.../extra/opengl/abstract_renderer/light.li line #56

Section:
Public

Profile:
- SelfSELFset_ambient   c : COLOR

set_diffuse

.../extra/opengl/abstract_renderer/light.li line #62

Section:
Public

Profile:
- SelfSELFset_diffuse   c : COLOR

set_specular

.../extra/opengl/abstract_renderer/light.li line #68

Section:
Public

Profile:
- SelfSELFset_specular   c : COLOR

set_position

.../extra/opengl/abstract_renderer/light.li line #74

Section:
Public

Profile:
- SelfSELFset_position   p : VECTOR3REAL_32)

set_directional

.../extra/opengl/abstract_renderer/light.li line #80

Section:
Public

Profile:
- SelfSELFset_directional 

enable_default_light

.../extra/opengl/abstract_renderer/light.li line #86

Section:
Public

Profile:
- SelfSELFenable_default_light 

disable_default_light

.../extra/opengl/abstract_renderer/light.li line #87

Section:
Public

Profile:
- SelfSELFdisable_default_light 

Current states: - lights - planes - textures - depth test - alpha test - stencil test - scissor test - blending - culling - fog

enable

.../extra/opengl/abstract_renderer/state.li line #33

Section:
Public

Profile:
- SelfSELFenable 

disable

.../extra/opengl/abstract_renderer/state.li line #38

Section:
Public

Profile:
- SelfSELFdisable 

push_attrib

.../extra/opengl/abstract_renderer/state.li line #43

Section:
Public

Profile:
- SelfSELFpush_attrib 

pop_attrib

.../extra/opengl/abstract_renderer/state.li line #44

Section:
Public

Profile:
- SelfSELFpop_attrib 

new_attrib

.../extra/opengl/abstract_renderer/state.li line #45

Section:
Public

Profile:
- SelfSELFnew_attrib   body : BLOCK

save

.../extra/opengl/abstract_renderer/state.li line #53

Section:
Public

Profile:
- SelfSELFsave 

restore

.../extra/opengl/abstract_renderer/state.li line #61

Section:
Public

Profile:
- SelfSELFrestore