LisaacTM Platform

TERRAIN


Height map
Inherit/Insert Summary
parent_framework No developed.
 
Constructor Summary
create texture
 
Slot Summary
width
height
w_step
h_step
height_factor
heights
normals
texture
is_textured
 
Creation.
make
build the terrain
render at
rescale
cross_product_p1 p2 p3
compute normal unit vector of the (p1,p2,p3) triangle
compute_normals
 

Inherit/Insert Detail

parent_framework

.../extra/opengl/3D/terrain.li line #9

Section:
Inherit

Profile:
- SelfSELFparent_framework : FRAMEWORK_ANY

Constructor Detail

create texture

.../extra/opengl/3D/terrain.li line #33

Section:
Public

Profile:
- SelfSELFcreate   map : IMAGE  texture   tex : TEXTURESELF

Detail slot

width

.../extra/opengl/3D/terrain.li line #13

Section:
Public

Profile:
+ SelfSELFwidth : INTEGER

height

.../extra/opengl/3D/terrain.li line #14

Section:
Public

Profile:
+ SelfSELFheight : INTEGER

w_step

.../extra/opengl/3D/terrain.li line #16

Section:
Public

Profile:
+ SelfSELFw_step : REAL_32

h_step

.../extra/opengl/3D/terrain.li line #17

Section:
Public

Profile:
+ SelfSELFh_step : REAL_32

height_factor

.../extra/opengl/3D/terrain.li line #19

Section:
Public

Profile:
+ SelfSELFheight_factor : REAL_32

heights

.../extra/opengl/3D/terrain.li line #21

Section:
Public

Profile:
+ SelfSELFheights : FAST_ARRAYREAL_32)

normals

.../extra/opengl/3D/terrain.li line #22

Section:
Public

Profile:
+ SelfSELFnormals : FAST_ARRAYVECTOR3REAL_32))

texture

.../extra/opengl/3D/terrain.li line #24

Section:
Public

Profile:
+ SelfSELFtexture : TEXTURE

is_textured

.../extra/opengl/3D/terrain.li line #26

Section:
Public

Profile:
- SelfSELFis_textured : BOOLEAN

Creation.

make

.../extra/opengl/3D/terrain.li line #40

Section:
Public

Profile:
- SelfSELFmake  ( image : IMAGE, tex : TEXTURE)

Description:
build the terrain

render at

.../extra/opengl/3D/terrain.li line #75

Section:
Public

Profile:
- SelfSELFrender   vb : VERTEX_BUFFER  at  ( xpos : REAL_32, ypos : REAL_32, zpos : REAL_32)

rescale

.../extra/opengl/3D/terrain.li line #115

Section:
Public

Profile:
- SelfSELFrescale  ( min : REAL_32, max : REAL_32)

cross_product_p1 p2 p3

.../extra/opengl/3D/terrain.li line #144

Section:
Public

Profile:
- SelfSELFcross_product_p1  ( x1 : INTEGER, z1 : INTEGER)  p2  ( x2 : INTEGER, z2 : INTEGER)  p3  ( x3 : INTEGER, z3 : INTEGER) : VECTOR3REAL_32)

Description:
compute normal unit vector of the (p1,p2,p3) triangle

compute_normals

.../extra/opengl/3D/terrain.li line #158

Section:
Public

Profile:
- SelfSELFcompute_normals