class XML_WORLD_LOADER [E_ -> LOADABLE_GL_OBJECT]

All features

Direct parents

conformant parents

WORLD_LOADER, XML_CALLBACKS

Summary

creation features

exported features

Details

load_from_file (world: WORLD, complete_file_name: STRING)
with_attribute (attribute_name: STRING, attribute_value: STRING)

To be called to add all the attributed of a node BEFORE calling open_node

require

  • attribute_name /= Void
  • attribute_value /= Void

open_node (node_name: STRING)

require

  • node_name /= Void

ensure

  • current_node.is_equal(node_name)

close_node (node_name: STRING)

require

  • current_node.is_equal(node_name)

open_close_node (node_name: STRING)

require

  • node_name /= Void

current_node: STRING
data (a_data: STRING)

require

  • a_data /= Void

parse_error
loaded_file: STRING
file: STRING
loaded_world: WORLD
coordx: REAL
coordy: REAL
coordz: REAL
green: REAL
blue: REAL
alpha: REAL
angleh: REAL
anglep: REAL
r_value: REAL
current_light: LIGHT
current_light_id: INTEGER
current_type: STRING
f_start: REAL
f_end: REAL
f_density: REAL
current_fog: FOG
fz_world: STRING
fz_camera: STRING
fz_fog: STRING
fz_start: STRING
fz_end: STRING
fz_density: STRING
fz_atmospheric: STRING
fz_light: STRING
fz_type: STRING
fz_directional: STRING
fz_spot: STRING
fz_direction: STRING
fz_ambient: STRING
fz_diffuse: STRING
fz_specular: STRING
fz_object: STRING
fz_file: STRING
fz_position: STRING
fz_coordx: STRING
fz_coordy: STRING
fz_coordz: STRING
fz_orientation: STRING
fz_angleh: STRING
fz_anglep: STRING
fz_r: STRING
fz_green: STRING
fz_blue: STRING
fz_alpha: STRING
fz_color: STRING
is_world: BOOLEAN
is_camera: BOOLEAN
is_light: BOOLEAN
is_object: BOOLEAN
is_position: BOOLEAN
is_orientation: BOOLEAN
is_direction: BOOLEAN
is_ambient: BOOLEAN
is_diffuse: BOOLEAN
is_specular: BOOLEAN
is_fog: BOOLEAN
is_color: BOOLEAN
has_orientation: BOOLEAN
is_directional: BOOLEAN
is_spot: BOOLEAN
is_atmospheric: BOOLEAN
load (world: WORLD, complete_file_name: STRING, uol: UNIVERSAL_OBJECT_LOADER[E_], utl: UNIVERSAL_TEXTURE_LOADER)
universal_object_loader: UNIVERSAL_OBJECT_LOADER[E_]
universal_texture_loader: UNIVERSAL_TEXTURE_LOADER
make
set_clear_color (red: REAL, green: REAL, blue: REAL, alpha: REAL)
set_clear_depth (depth: REAL)
translate (x: REAL, y: REAL, z: REAL)
rotate (angle: REAL, axis_x: REAL, axis_y: REAL, axis_z: REAL)
scale (x: REAL, y: REAL, z: REAL)
begin_rendering
end_rendering
begin_points

require

  • not has_begun

ensure

  • has_begun

begin_lines

require

  • not has_begun

ensure

  • has_begun

begin_line_strip

require

  • not has_begun

ensure

  • has_begun

begin_line_loop

require

  • not has_begun

ensure

  • has_begun

begin_triangles

require

  • not has_begun

ensure

  • has_begun

begin_triangle_strip

require

  • not has_begun

ensure

  • has_begun

begin_triangle_fan

require

  • not has_begun

ensure

  • has_begun

begin_quads

require

  • not has_begun

ensure

  • has_begun

begin_quad_strip

require

  • not has_begun

ensure

  • has_begun

begin_polygon

require

  • not has_begun

ensure

  • has_begun

end_primitive

require

  • has_begun

ensure

  • not has_begun

vertex (x: REAL, y: REAL, z: REAL)
full_red: GL_COLOR
full_green: GL_COLOR
full_blue: GL_COLOR
full_yellow: GL_COLOR
full_magenta: GL_COLOR
full_cyan: GL_COLOR
full_white: GL_COLOR
full_black: GL_COLOR
clamp (real: REAL): REAL

ensure

  • Result.in_range(0, 1)

has_begun: BOOLEAN
gl: GL
glu: GLU