Class OpenGLRenderer

  • All Implemented Interfaces:
    java.io.Serializable

    public class OpenGLRenderer
    extends Renderer
    See Also:
    Serialized Form
    • Field Detail

      • ms_aeObjectType

        public static int[] ms_aeObjectType
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeAlphaSrcBlend

        public static int[] ms_aeAlphaSrcBlend
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeAlphaDstBlend

        public static int[] ms_aeAlphaDstBlend
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeBlendEquation

        public static int[] ms_aeBlendEquation
        Blend Equation mappings from Wild Magic to OpenGL enumerations.
      • ms_aeAlphaTest

        public static int[] ms_aeAlphaTest
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeFrontFace

        public static int[] ms_aeFrontFace
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeCullFace

        public static int[] ms_aeCullFace
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeStencilCompare

        public static int[] ms_aeStencilCompare
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeStencilOperation

        public static int[] ms_aeStencilOperation
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeZBufferCompare

        public static int[] ms_aeZBufferCompare
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeTextureMipmap

        public static int[] ms_aeTextureMipmap
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeDepthCompare

        public static int[] ms_aeDepthCompare
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeWrapMode

        public static int[] ms_aeWrapMode
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeImageComponents

        public static int[] ms_aeImageComponents
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeImageFormats

        public static int[] ms_aeImageFormats
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeImageTypes

        public static int[] ms_aeImageTypes
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeSamplerTypes

        public static int[] ms_aeSamplerTypes
        Mappings from Wild Magic constants to OpenGL enumerations.
      • ms_aeFillTypes

        public static int[] ms_aeFillTypes
        Mappings from Wild Magic constants to OpenGL enumerations.
      • m_iDrawBuffer

        private int m_iDrawBuffer
      • m_iDrawBufferSave

        private int m_iDrawBufferSave
      • m_kCanvas

        private com.jogamp.opengl.awt.GLCanvas m_kCanvas
        GLCanvas for Java/JOGL
      • ms_kContext

        private static com.jogamp.opengl.GLContext ms_kContext
        GLContext for Java/JOGL
      • m_kGL

        private com.jogamp.opengl.GL3 m_kGL
        GL object from GLCanvas.getGL() used to access openGL calls.
      • m_iShadingLanguage

        private int m_iShadingLanguage
      • m_aiParams

        private int[] m_aiParams
        reusable storage avoids repeated 'new' calls
      • ms_kSampler1DStr

        protected static final java.lang.String ms_kSampler1DStr
        For loading and parsing a shader program.
      • ms_kSampler2DStr

        protected static final java.lang.String ms_kSampler2DStr
      • ms_kSampler3DStr

        protected static final java.lang.String ms_kSampler3DStr
      • ms_kSamplerCubeStr

        protected static final java.lang.String ms_kSamplerCubeStr
      • ms_kSamplerProjStr

        protected static final java.lang.String ms_kSamplerProjStr
      • ms_kPositionStr

        protected static final java.lang.String ms_kPositionStr
      • ms_kNormalStr

        protected static final java.lang.String ms_kNormalStr
      • ms_kColorStr

        protected static final java.lang.String ms_kColorStr
      • ms_kColor0Str

        protected static final java.lang.String ms_kColor0Str
      • ms_kColor1Str

        protected static final java.lang.String ms_kColor1Str
      • ms_kTexCoordStr

        protected static final java.lang.String ms_kTexCoordStr
      • ms_kInStr

        protected static final java.lang.String ms_kInStr
      • ms_kEOL

        protected static final java.lang.String ms_kEOL
      • ms_kTexUnitString

        protected static final java.lang.String ms_kTexUnitString
      • ms_kUserString

        protected static final java.lang.String ms_kUserString
      • gs_aucChar0

        private static final byte[] gs_aucChar0
        Bitmap Fonts:
      • gs_aucChar1

        private static final byte[] gs_aucChar1
        Bitmap Fonts:
      • gs_aucChar2

        private static final byte[] gs_aucChar2
        Bitmap Fonts:
      • gs_aucChar3

        private static final byte[] gs_aucChar3
        Bitmap Fonts:
      • gs_aucChar4

        private static final byte[] gs_aucChar4
        Bitmap Fonts:
      • gs_aucChar5

        private static final byte[] gs_aucChar5
        Bitmap Fonts:
      • gs_aucChar6

        private static final byte[] gs_aucChar6
        Bitmap Fonts:
      • gs_aucChar7

        private static final byte[] gs_aucChar7
        Bitmap Fonts:
      • gs_aucChar8

        private static final byte[] gs_aucChar8
        Bitmap Fonts:
      • gs_aucChar9

        private static final byte[] gs_aucChar9
        Bitmap Fonts:
      • gs_aucChar10

        private static final byte[] gs_aucChar10
        Bitmap Fonts:
      • gs_aucChar11

        private static final byte[] gs_aucChar11
        Bitmap Fonts:
      • gs_aucChar12

        private static final byte[] gs_aucChar12
        Bitmap Fonts:
      • gs_aucChar13

        private static final byte[] gs_aucChar13
        Bitmap Fonts:
      • gs_aucChar14

        private static final byte[] gs_aucChar14
        Bitmap Fonts:
      • gs_aucChar15

        private static final byte[] gs_aucChar15
        Bitmap Fonts:
      • gs_aucChar16

        private static final byte[] gs_aucChar16
        Bitmap Fonts:
      • gs_aucChar17

        private static final byte[] gs_aucChar17
        Bitmap Fonts:
      • gs_aucChar18

        private static final byte[] gs_aucChar18
        Bitmap Fonts:
      • gs_aucChar19

        private static final byte[] gs_aucChar19
        Bitmap Fonts:
      • gs_aucChar20

        private static final byte[] gs_aucChar20
        Bitmap Fonts:
      • gs_aucChar21

        private static final byte[] gs_aucChar21
        Bitmap Fonts:
      • gs_aucChar22

        private static final byte[] gs_aucChar22
        Bitmap Fonts:
      • gs_aucChar23

        private static final byte[] gs_aucChar23
        Bitmap Fonts:
      • gs_aucChar24

        private static final byte[] gs_aucChar24
        Bitmap Fonts:
      • gs_aucChar25

        private static final byte[] gs_aucChar25
        Bitmap Fonts:
      • gs_aucChar26

        private static final byte[] gs_aucChar26
        Bitmap Fonts:
      • gs_aucChar27

        private static final byte[] gs_aucChar27
        Bitmap Fonts:
      • gs_aucChar28

        private static final byte[] gs_aucChar28
        Bitmap Fonts:
      • gs_aucChar29

        private static final byte[] gs_aucChar29
        Bitmap Fonts:
      • gs_aucChar30

        private static final byte[] gs_aucChar30
        Bitmap Fonts:
      • gs_aucChar31

        private static final byte[] gs_aucChar31
        Bitmap Fonts:
      • gs_aucChar32

        private static final byte[] gs_aucChar32
        Bitmap Fonts:
      • gs_aucChar33

        private static final byte[] gs_aucChar33
        Bitmap Fonts:
      • gs_aucChar34

        private static final byte[] gs_aucChar34
        Bitmap Fonts:
      • gs_aucChar35

        private static final byte[] gs_aucChar35
        Bitmap Fonts:
      • gs_aucChar36

        private static final byte[] gs_aucChar36
        Bitmap Fonts:
      • gs_aucChar37

        private static final byte[] gs_aucChar37
        Bitmap Fonts:
      • gs_aucChar38

        private static final byte[] gs_aucChar38
        Bitmap Fonts:
      • gs_aucChar39

        private static final byte[] gs_aucChar39
        Bitmap Fonts:
      • gs_aucChar40

        private static final byte[] gs_aucChar40
        Bitmap Fonts:
      • gs_aucChar41

        private static final byte[] gs_aucChar41
        Bitmap Fonts:
      • gs_aucChar42

        private static final byte[] gs_aucChar42
        Bitmap Fonts:
      • gs_aucChar43

        private static final byte[] gs_aucChar43
        Bitmap Fonts:
      • gs_aucChar44

        private static final byte[] gs_aucChar44
        Bitmap Fonts:
      • gs_aucChar45

        private static final byte[] gs_aucChar45
        Bitmap Fonts:
      • gs_aucChar46

        private static final byte[] gs_aucChar46
        Bitmap Fonts:
      • gs_aucChar47

        private static final byte[] gs_aucChar47
        Bitmap Fonts:
      • gs_aucChar48

        private static final byte[] gs_aucChar48
        Bitmap Fonts:
      • gs_aucChar49

        private static final byte[] gs_aucChar49
        Bitmap Fonts:
      • gs_aucChar50

        private static final byte[] gs_aucChar50
        Bitmap Fonts:
      • gs_aucChar51

        private static final byte[] gs_aucChar51
        Bitmap Fonts:
      • gs_aucChar52

        private static final byte[] gs_aucChar52
        Bitmap Fonts:
      • gs_aucChar53

        private static final byte[] gs_aucChar53
        Bitmap Fonts:
      • gs_aucChar54

        private static final byte[] gs_aucChar54
        Bitmap Fonts:
      • gs_aucChar55

        private static final byte[] gs_aucChar55
        Bitmap Fonts:
      • gs_aucChar56

        private static final byte[] gs_aucChar56
        Bitmap Fonts:
      • gs_aucChar57

        private static final byte[] gs_aucChar57
        Bitmap Fonts:
      • gs_aucChar58

        private static final byte[] gs_aucChar58
        Bitmap Fonts:
      • gs_aucChar59

        private static final byte[] gs_aucChar59
        Bitmap Fonts:
      • gs_aucChar60

        private static final byte[] gs_aucChar60
        Bitmap Fonts:
      • gs_aucChar61

        private static final byte[] gs_aucChar61
        Bitmap Fonts:
      • gs_aucChar62

        private static final byte[] gs_aucChar62
        Bitmap Fonts:
      • gs_aucChar63

        private static final byte[] gs_aucChar63
        Bitmap Fonts:
      • gs_aucChar64

        private static final byte[] gs_aucChar64
        Bitmap Fonts:
      • gs_aucChar65

        private static final byte[] gs_aucChar65
        Bitmap Fonts:
      • gs_aucChar66

        private static final byte[] gs_aucChar66
        Bitmap Fonts:
      • gs_aucChar67

        private static final byte[] gs_aucChar67
        Bitmap Fonts:
      • gs_aucChar68

        private static final byte[] gs_aucChar68
        Bitmap Fonts:
      • gs_aucChar69

        private static final byte[] gs_aucChar69
        Bitmap Fonts:
      • gs_aucChar70

        private static final byte[] gs_aucChar70
        Bitmap Fonts:
      • gs_aucChar71

        private static final byte[] gs_aucChar71
        Bitmap Fonts:
      • gs_aucChar72

        private static final byte[] gs_aucChar72
        Bitmap Fonts:
      • gs_aucChar73

        private static final byte[] gs_aucChar73
        Bitmap Fonts:
      • gs_aucChar74

        private static final byte[] gs_aucChar74
        Bitmap Fonts:
      • gs_aucChar75

        private static final byte[] gs_aucChar75
        Bitmap Fonts:
      • gs_aucChar76

        private static final byte[] gs_aucChar76
        Bitmap Fonts:
      • gs_aucChar77

        private static final byte[] gs_aucChar77
        Bitmap Fonts:
      • gs_aucChar78

        private static final byte[] gs_aucChar78
        Bitmap Fonts:
      • gs_aucChar79

        private static final byte[] gs_aucChar79
        Bitmap Fonts:
      • gs_aucChar80

        private static final byte[] gs_aucChar80
        Bitmap Fonts:
      • gs_aucChar81

        private static final byte[] gs_aucChar81
        Bitmap Fonts:
      • gs_aucChar82

        private static final byte[] gs_aucChar82
        Bitmap Fonts:
      • gs_aucChar83

        private static final byte[] gs_aucChar83
        Bitmap Fonts:
      • gs_aucChar84

        private static final byte[] gs_aucChar84
        Bitmap Fonts:
      • gs_aucChar85

        private static final byte[] gs_aucChar85
        Bitmap Fonts:
      • gs_aucChar86

        private static final byte[] gs_aucChar86
        Bitmap Fonts:
      • gs_aucChar87

        private static final byte[] gs_aucChar87
        Bitmap Fonts:
      • gs_aucChar88

        private static final byte[] gs_aucChar88
        Bitmap Fonts:
      • gs_aucChar89

        private static final byte[] gs_aucChar89
        Bitmap Fonts:
      • gs_aucChar90

        private static final byte[] gs_aucChar90
        Bitmap Fonts:
      • gs_aucChar91

        private static final byte[] gs_aucChar91
        Bitmap Fonts:
      • gs_aucChar92

        private static final byte[] gs_aucChar92
        Bitmap Fonts:
      • gs_aucChar93

        private static final byte[] gs_aucChar93
        Bitmap Fonts:
      • gs_aucChar94

        private static final byte[] gs_aucChar94
        Bitmap Fonts:
      • gs_aucChar95

        private static final byte[] gs_aucChar95
        Bitmap Fonts:
      • gs_aucChar96

        private static final byte[] gs_aucChar96
        Bitmap Fonts:
      • gs_aucChar97

        private static final byte[] gs_aucChar97
        Bitmap Fonts:
      • gs_aucChar98

        private static final byte[] gs_aucChar98
        Bitmap Fonts:
      • gs_aucChar99

        private static final byte[] gs_aucChar99
        Bitmap Fonts:
      • gs_aucChar100

        private static final byte[] gs_aucChar100
        Bitmap Fonts:
      • gs_kChar100

        private static BitmapFontChar gs_kChar100
        Bitmap Fonts:
      • gs_aucChar101

        private static final byte[] gs_aucChar101
        Bitmap Fonts:
      • gs_kChar101

        private static BitmapFontChar gs_kChar101
        Bitmap Fonts:
      • gs_aucChar102

        private static final byte[] gs_aucChar102
        Bitmap Fonts:
      • gs_kChar102

        private static BitmapFontChar gs_kChar102
        Bitmap Fonts:
      • gs_aucChar103

        private static final byte[] gs_aucChar103
        Bitmap Fonts:
      • gs_kChar103

        private static BitmapFontChar gs_kChar103
        Bitmap Fonts:
      • gs_aucChar104

        private static final byte[] gs_aucChar104
        Bitmap Fonts:
      • gs_kChar104

        private static BitmapFontChar gs_kChar104
        Bitmap Fonts:
      • gs_aucChar105

        private static final byte[] gs_aucChar105
        Bitmap Fonts:
      • gs_kChar105

        private static BitmapFontChar gs_kChar105
        Bitmap Fonts:
      • gs_aucChar106

        private static final byte[] gs_aucChar106
        Bitmap Fonts:
      • gs_kChar106

        private static BitmapFontChar gs_kChar106
        Bitmap Fonts:
      • gs_aucChar107

        private static final byte[] gs_aucChar107
        Bitmap Fonts:
      • gs_kChar107

        private static BitmapFontChar gs_kChar107
        Bitmap Fonts:
      • gs_aucChar108

        private static final byte[] gs_aucChar108
        Bitmap Fonts:
      • gs_kChar108

        private static BitmapFontChar gs_kChar108
        Bitmap Fonts:
      • gs_aucChar109

        private static final byte[] gs_aucChar109
        Bitmap Fonts:
      • gs_kChar109

        private static BitmapFontChar gs_kChar109
        Bitmap Fonts:
      • gs_aucChar110

        private static final byte[] gs_aucChar110
        Bitmap Fonts:
      • gs_kChar110

        private static BitmapFontChar gs_kChar110
        Bitmap Fonts:
      • gs_aucChar111

        private static final byte[] gs_aucChar111
        Bitmap Fonts:
      • gs_kChar111

        private static BitmapFontChar gs_kChar111
        Bitmap Fonts:
      • gs_aucChar112

        private static final byte[] gs_aucChar112
        Bitmap Fonts:
      • gs_kChar112

        private static BitmapFontChar gs_kChar112
        Bitmap Fonts:
      • gs_aucChar113

        private static final byte[] gs_aucChar113
        Bitmap Fonts:
      • gs_kChar113

        private static BitmapFontChar gs_kChar113
        Bitmap Fonts:
      • gs_aucChar114

        private static final byte[] gs_aucChar114
        Bitmap Fonts:
      • gs_kChar114

        private static BitmapFontChar gs_kChar114
        Bitmap Fonts:
      • gs_aucChar115

        private static final byte[] gs_aucChar115
        Bitmap Fonts:
      • gs_kChar115

        private static BitmapFontChar gs_kChar115
        Bitmap Fonts:
      • gs_aucChar116

        private static final byte[] gs_aucChar116
        Bitmap Fonts:
      • gs_kChar116

        private static BitmapFontChar gs_kChar116
        Bitmap Fonts:
      • gs_aucChar117

        private static final byte[] gs_aucChar117
        Bitmap Fonts:
      • gs_kChar117

        private static BitmapFontChar gs_kChar117
        Bitmap Fonts:
      • gs_aucChar118

        private static final byte[] gs_aucChar118
        Bitmap Fonts:
      • gs_kChar118

        private static BitmapFontChar gs_kChar118
        Bitmap Fonts:
      • gs_aucChar119

        private static final byte[] gs_aucChar119
        Bitmap Fonts:
      • gs_kChar119

        private static BitmapFontChar gs_kChar119
        Bitmap Fonts:
      • gs_aucChar120

        private static final byte[] gs_aucChar120
        Bitmap Fonts:
      • gs_kChar120

        private static BitmapFontChar gs_kChar120
        Bitmap Fonts:
      • gs_aucChar121

        private static final byte[] gs_aucChar121
        Bitmap Fonts:
      • gs_kChar121

        private static BitmapFontChar gs_kChar121
        Bitmap Fonts:
      • gs_aucChar122

        private static final byte[] gs_aucChar122
        Bitmap Fonts:
      • gs_kChar122

        private static BitmapFontChar gs_kChar122
        Bitmap Fonts:
      • gs_aucChar123

        private static final byte[] gs_aucChar123
        Bitmap Fonts:
      • gs_kChar123

        private static BitmapFontChar gs_kChar123
        Bitmap Fonts:
      • gs_aucChar124

        private static final byte[] gs_aucChar124
        Bitmap Fonts:
      • gs_kChar124

        private static BitmapFontChar gs_kChar124
        Bitmap Fonts:
      • gs_aucChar125

        private static final byte[] gs_aucChar125
        Bitmap Fonts:
      • gs_kChar125

        private static BitmapFontChar gs_kChar125
        Bitmap Fonts:
      • gs_aucChar126

        private static final byte[] gs_aucChar126
        Bitmap Fonts:
      • gs_kChar126

        private static BitmapFontChar gs_kChar126
        Bitmap Fonts:
      • gs_aucChar127

        private static final byte[] gs_aucChar127
        Bitmap Fonts:
      • gs_kChar127

        private static BitmapFontChar gs_kChar127
        Bitmap Fonts:
      • gs_aucChar128

        private static final byte[] gs_aucChar128
        Bitmap Fonts:
      • gs_kChar128

        private static BitmapFontChar gs_kChar128
        Bitmap Fonts:
      • gs_aucChar129

        private static final byte[] gs_aucChar129
        Bitmap Fonts:
      • gs_kChar129

        private static BitmapFontChar gs_kChar129
        Bitmap Fonts:
      • gs_aucChar130

        private static final byte[] gs_aucChar130
        Bitmap Fonts:
      • gs_kChar130

        private static BitmapFontChar gs_kChar130
        Bitmap Fonts:
      • gs_aucChar131

        private static final byte[] gs_aucChar131
        Bitmap Fonts:
      • gs_kChar131

        private static BitmapFontChar gs_kChar131
        Bitmap Fonts:
      • gs_aucChar132

        private static final byte[] gs_aucChar132
        Bitmap Fonts:
      • gs_kChar132

        private static BitmapFontChar gs_kChar132
        Bitmap Fonts:
      • gs_aucChar133

        private static final byte[] gs_aucChar133
        Bitmap Fonts:
      • gs_kChar133

        private static BitmapFontChar gs_kChar133
        Bitmap Fonts:
      • gs_aucChar134

        private static final byte[] gs_aucChar134
        Bitmap Fonts:
      • gs_kChar134

        private static BitmapFontChar gs_kChar134
        Bitmap Fonts:
      • gs_aucChar135

        private static final byte[] gs_aucChar135
        Bitmap Fonts:
      • gs_kChar135

        private static BitmapFontChar gs_kChar135
        Bitmap Fonts:
      • gs_aucChar136

        private static final byte[] gs_aucChar136
        Bitmap Fonts:
      • gs_kChar136

        private static BitmapFontChar gs_kChar136
        Bitmap Fonts:
      • gs_aucChar137

        private static final byte[] gs_aucChar137
        Bitmap Fonts:
      • gs_kChar137

        private static BitmapFontChar gs_kChar137
        Bitmap Fonts:
      • gs_aucChar138

        private static final byte[] gs_aucChar138
        Bitmap Fonts:
      • gs_kChar138

        private static BitmapFontChar gs_kChar138
        Bitmap Fonts:
      • gs_aucChar139

        private static final byte[] gs_aucChar139
        Bitmap Fonts:
      • gs_kChar139

        private static BitmapFontChar gs_kChar139
        Bitmap Fonts:
      • gs_aucChar140

        private static final byte[] gs_aucChar140
        Bitmap Fonts:
      • gs_kChar140

        private static BitmapFontChar gs_kChar140
        Bitmap Fonts:
      • gs_aucChar141

        private static final byte[] gs_aucChar141
        Bitmap Fonts:
      • gs_kChar141

        private static BitmapFontChar gs_kChar141
        Bitmap Fonts:
      • gs_aucChar142

        private static final byte[] gs_aucChar142
        Bitmap Fonts:
      • gs_kChar142

        private static BitmapFontChar gs_kChar142
        Bitmap Fonts:
      • gs_aucChar143

        private static final byte[] gs_aucChar143
        Bitmap Fonts:
      • gs_kChar143

        private static BitmapFontChar gs_kChar143
        Bitmap Fonts:
      • gs_aucChar144

        private static final byte[] gs_aucChar144
        Bitmap Fonts:
      • gs_kChar144

        private static BitmapFontChar gs_kChar144
        Bitmap Fonts:
      • gs_aucChar145

        private static final byte[] gs_aucChar145
        Bitmap Fonts:
      • gs_kChar145

        private static BitmapFontChar gs_kChar145
        Bitmap Fonts:
      • gs_aucChar146

        private static final byte[] gs_aucChar146
        Bitmap Fonts:
      • gs_kChar146

        private static BitmapFontChar gs_kChar146
        Bitmap Fonts:
      • gs_aucChar147

        private static final byte[] gs_aucChar147
        Bitmap Fonts:
      • gs_kChar147

        private static BitmapFontChar gs_kChar147
        Bitmap Fonts:
      • gs_aucChar148

        private static final byte[] gs_aucChar148
        Bitmap Fonts:
      • gs_kChar148

        private static BitmapFontChar gs_kChar148
        Bitmap Fonts:
      • gs_aucChar149

        private static final byte[] gs_aucChar149
        Bitmap Fonts:
      • gs_kChar149

        private static BitmapFontChar gs_kChar149
        Bitmap Fonts:
      • gs_aucChar150

        private static final byte[] gs_aucChar150
        Bitmap Fonts:
      • gs_kChar150

        private static BitmapFontChar gs_kChar150
        Bitmap Fonts:
      • gs_aucChar151

        private static final byte[] gs_aucChar151
        Bitmap Fonts:
      • gs_kChar151

        private static BitmapFontChar gs_kChar151
        Bitmap Fonts:
      • gs_aucChar152

        private static final byte[] gs_aucChar152
        Bitmap Fonts:
      • gs_kChar152

        private static BitmapFontChar gs_kChar152
        Bitmap Fonts:
      • gs_aucChar153

        private static final byte[] gs_aucChar153
        Bitmap Fonts:
      • gs_kChar153

        private static BitmapFontChar gs_kChar153
        Bitmap Fonts:
      • gs_aucChar154

        private static final byte[] gs_aucChar154
        Bitmap Fonts:
      • gs_kChar154

        private static BitmapFontChar gs_kChar154
        Bitmap Fonts:
      • gs_aucChar155

        private static final byte[] gs_aucChar155
        Bitmap Fonts:
      • gs_kChar155

        private static BitmapFontChar gs_kChar155
        Bitmap Fonts:
      • gs_aucChar156

        private static final byte[] gs_aucChar156
        Bitmap Fonts:
      • gs_kChar156

        private static BitmapFontChar gs_kChar156
        Bitmap Fonts:
      • gs_aucChar157

        private static final byte[] gs_aucChar157
        Bitmap Fonts:
      • gs_kChar157

        private static BitmapFontChar gs_kChar157
        Bitmap Fonts:
      • gs_aucChar158

        private static final byte[] gs_aucChar158
        Bitmap Fonts:
      • gs_kChar158

        private static BitmapFontChar gs_kChar158
        Bitmap Fonts:
      • gs_aucChar159

        private static final byte[] gs_aucChar159
        Bitmap Fonts:
      • gs_kChar159

        private static BitmapFontChar gs_kChar159
        Bitmap Fonts:
      • gs_aucChar160

        private static final byte[] gs_aucChar160
        Bitmap Fonts:
      • gs_kChar160

        private static BitmapFontChar gs_kChar160
        Bitmap Fonts:
      • gs_aucChar161

        private static final byte[] gs_aucChar161
        Bitmap Fonts:
      • gs_kChar161

        private static BitmapFontChar gs_kChar161
        Bitmap Fonts:
      • gs_aucChar162

        private static final byte[] gs_aucChar162
        Bitmap Fonts:
      • gs_kChar162

        private static BitmapFontChar gs_kChar162
        Bitmap Fonts:
      • gs_aucChar163

        private static final byte[] gs_aucChar163
        Bitmap Fonts:
      • gs_kChar163

        private static BitmapFontChar gs_kChar163
        Bitmap Fonts:
      • gs_aucChar164

        private static final byte[] gs_aucChar164
        Bitmap Fonts:
      • gs_kChar164

        private static BitmapFontChar gs_kChar164
        Bitmap Fonts:
      • gs_aucChar165

        private static final byte[] gs_aucChar165
        Bitmap Fonts:
      • gs_kChar165

        private static BitmapFontChar gs_kChar165
        Bitmap Fonts:
      • gs_aucChar166

        private static final byte[] gs_aucChar166
        Bitmap Fonts:
      • gs_kChar166

        private static BitmapFontChar gs_kChar166
        Bitmap Fonts:
      • gs_aucChar167

        private static final byte[] gs_aucChar167
        Bitmap Fonts:
      • gs_kChar167

        private static BitmapFontChar gs_kChar167
        Bitmap Fonts:
      • gs_aucChar168

        private static final byte[] gs_aucChar168
        Bitmap Fonts:
      • gs_kChar168

        private static BitmapFontChar gs_kChar168
        Bitmap Fonts:
      • gs_aucChar169

        private static final byte[] gs_aucChar169
        Bitmap Fonts:
      • gs_kChar169

        private static BitmapFontChar gs_kChar169
        Bitmap Fonts:
      • gs_aucChar170

        private static final byte[] gs_aucChar170
        Bitmap Fonts:
      • gs_kChar170

        private static BitmapFontChar gs_kChar170
        Bitmap Fonts:
      • gs_aucChar171

        private static final byte[] gs_aucChar171
        Bitmap Fonts:
      • gs_kChar171

        private static BitmapFontChar gs_kChar171
        Bitmap Fonts:
      • gs_aucChar172

        private static final byte[] gs_aucChar172
        Bitmap Fonts:
      • gs_kChar172

        private static BitmapFontChar gs_kChar172
        Bitmap Fonts:
      • gs_aucChar173

        private static final byte[] gs_aucChar173
        Bitmap Fonts:
      • gs_kChar173

        private static BitmapFontChar gs_kChar173
        Bitmap Fonts:
      • gs_aucChar174

        private static final byte[] gs_aucChar174
        Bitmap Fonts:
      • gs_kChar174

        private static BitmapFontChar gs_kChar174
        Bitmap Fonts:
      • gs_aucChar175

        private static final byte[] gs_aucChar175
        Bitmap Fonts:
      • gs_kChar175

        private static BitmapFontChar gs_kChar175
        Bitmap Fonts:
      • gs_aucChar176

        private static final byte[] gs_aucChar176
        Bitmap Fonts:
      • gs_kChar176

        private static BitmapFontChar gs_kChar176
        Bitmap Fonts:
      • gs_aucChar177

        private static final byte[] gs_aucChar177
        Bitmap Fonts:
      • gs_kChar177

        private static BitmapFontChar gs_kChar177
        Bitmap Fonts:
      • gs_aucChar178

        private static final byte[] gs_aucChar178
        Bitmap Fonts:
      • gs_kChar178

        private static BitmapFontChar gs_kChar178
        Bitmap Fonts:
      • gs_aucChar179

        private static final byte[] gs_aucChar179
        Bitmap Fonts:
      • gs_kChar179

        private static BitmapFontChar gs_kChar179
        Bitmap Fonts:
      • gs_aucChar180

        private static final byte[] gs_aucChar180
        Bitmap Fonts:
      • gs_kChar180

        private static BitmapFontChar gs_kChar180
        Bitmap Fonts:
      • gs_aucChar181

        private static final byte[] gs_aucChar181
        Bitmap Fonts:
      • gs_kChar181

        private static BitmapFontChar gs_kChar181
        Bitmap Fonts:
      • gs_aucChar182

        private static final byte[] gs_aucChar182
        Bitmap Fonts:
      • gs_kChar182

        private static BitmapFontChar gs_kChar182
        Bitmap Fonts:
      • gs_aucChar183

        private static final byte[] gs_aucChar183
        Bitmap Fonts:
      • gs_kChar183

        private static BitmapFontChar gs_kChar183
        Bitmap Fonts:
      • gs_aucChar184

        private static final byte[] gs_aucChar184
        Bitmap Fonts:
      • gs_kChar184

        private static BitmapFontChar gs_kChar184
        Bitmap Fonts:
      • gs_aucChar185

        private static final byte[] gs_aucChar185
        Bitmap Fonts:
      • gs_kChar185

        private static BitmapFontChar gs_kChar185
        Bitmap Fonts:
      • gs_aucChar186

        private static final byte[] gs_aucChar186
        Bitmap Fonts:
      • gs_kChar186

        private static BitmapFontChar gs_kChar186
        Bitmap Fonts:
      • gs_aucChar187

        private static final byte[] gs_aucChar187
        Bitmap Fonts:
      • gs_kChar187

        private static BitmapFontChar gs_kChar187
        Bitmap Fonts:
      • gs_aucChar188

        private static final byte[] gs_aucChar188
        Bitmap Fonts:
      • gs_kChar188

        private static BitmapFontChar gs_kChar188
        Bitmap Fonts:
      • gs_aucChar189

        private static final byte[] gs_aucChar189
        Bitmap Fonts:
      • gs_kChar189

        private static BitmapFontChar gs_kChar189
        Bitmap Fonts:
      • gs_aucChar190

        private static final byte[] gs_aucChar190
        Bitmap Fonts:
      • gs_kChar190

        private static BitmapFontChar gs_kChar190
        Bitmap Fonts:
      • gs_aucChar191

        private static final byte[] gs_aucChar191
        Bitmap Fonts:
      • gs_kChar191

        private static BitmapFontChar gs_kChar191
        Bitmap Fonts:
      • gs_aucChar192

        private static final byte[] gs_aucChar192
        Bitmap Fonts:
      • gs_kChar192

        private static BitmapFontChar gs_kChar192
        Bitmap Fonts:
      • gs_aucChar193

        private static final byte[] gs_aucChar193
        Bitmap Fonts:
      • gs_kChar193

        private static BitmapFontChar gs_kChar193
        Bitmap Fonts:
      • gs_aucChar194

        private static final byte[] gs_aucChar194
        Bitmap Fonts:
      • gs_kChar194

        private static BitmapFontChar gs_kChar194
        Bitmap Fonts:
      • gs_aucChar195

        private static final byte[] gs_aucChar195
        Bitmap Fonts:
      • gs_kChar195

        private static BitmapFontChar gs_kChar195
        Bitmap Fonts:
      • gs_aucChar196

        private static final byte[] gs_aucChar196
        Bitmap Fonts:
      • gs_kChar196

        private static BitmapFontChar gs_kChar196
        Bitmap Fonts:
      • gs_aucChar197

        private static final byte[] gs_aucChar197
        Bitmap Fonts:
      • gs_kChar197

        private static BitmapFontChar gs_kChar197
        Bitmap Fonts:
      • gs_aucChar198

        private static final byte[] gs_aucChar198
        Bitmap Fonts:
      • gs_kChar198

        private static BitmapFontChar gs_kChar198
        Bitmap Fonts:
      • gs_aucChar199

        private static final byte[] gs_aucChar199
        Bitmap Fonts:
      • gs_kChar199

        private static BitmapFontChar gs_kChar199
        Bitmap Fonts:
      • gs_aucChar200

        private static final byte[] gs_aucChar200
        Bitmap Fonts:
      • gs_kChar200

        private static BitmapFontChar gs_kChar200
        Bitmap Fonts:
      • gs_aucChar201

        private static final byte[] gs_aucChar201
        Bitmap Fonts:
      • gs_kChar201

        private static BitmapFontChar gs_kChar201
        Bitmap Fonts:
      • gs_aucChar202

        private static final byte[] gs_aucChar202
        Bitmap Fonts:
      • gs_kChar202

        private static BitmapFontChar gs_kChar202
        Bitmap Fonts:
      • gs_aucChar203

        private static final byte[] gs_aucChar203
        Bitmap Fonts:
      • gs_kChar203

        private static BitmapFontChar gs_kChar203
        Bitmap Fonts:
      • gs_aucChar204

        private static final byte[] gs_aucChar204
        Bitmap Fonts:
      • gs_kChar204

        private static BitmapFontChar gs_kChar204
        Bitmap Fonts:
      • gs_aucChar205

        private static final byte[] gs_aucChar205
        Bitmap Fonts:
      • gs_kChar205

        private static BitmapFontChar gs_kChar205
        Bitmap Fonts:
      • gs_aucChar206

        private static final byte[] gs_aucChar206
        Bitmap Fonts:
      • gs_kChar206

        private static BitmapFontChar gs_kChar206
        Bitmap Fonts:
      • gs_aucChar207

        private static final byte[] gs_aucChar207
        Bitmap Fonts:
      • gs_kChar207

        private static BitmapFontChar gs_kChar207
        Bitmap Fonts:
      • gs_aucChar208

        private static final byte[] gs_aucChar208
        Bitmap Fonts:
      • gs_kChar208

        private static BitmapFontChar gs_kChar208
        Bitmap Fonts:
      • gs_aucChar209

        private static final byte[] gs_aucChar209
        Bitmap Fonts:
      • gs_kChar209

        private static BitmapFontChar gs_kChar209
        Bitmap Fonts:
      • gs_aucChar210

        private static final byte[] gs_aucChar210
        Bitmap Fonts:
      • gs_kChar210

        private static BitmapFontChar gs_kChar210
        Bitmap Fonts:
      • gs_aucChar211

        private static final byte[] gs_aucChar211
        Bitmap Fonts:
      • gs_kChar211

        private static BitmapFontChar gs_kChar211
        Bitmap Fonts:
      • gs_aucChar212

        private static final byte[] gs_aucChar212
        Bitmap Fonts:
      • gs_kChar212

        private static BitmapFontChar gs_kChar212
        Bitmap Fonts:
      • gs_aucChar213

        private static final byte[] gs_aucChar213
        Bitmap Fonts:
      • gs_kChar213

        private static BitmapFontChar gs_kChar213
        Bitmap Fonts:
      • gs_aucChar214

        private static final byte[] gs_aucChar214
        Bitmap Fonts:
      • gs_kChar214

        private static BitmapFontChar gs_kChar214
        Bitmap Fonts:
      • gs_aucChar215

        private static final byte[] gs_aucChar215
        Bitmap Fonts:
      • gs_kChar215

        private static BitmapFontChar gs_kChar215
        Bitmap Fonts:
      • gs_aucChar216

        private static final byte[] gs_aucChar216
        Bitmap Fonts:
      • gs_kChar216

        private static BitmapFontChar gs_kChar216
        Bitmap Fonts:
      • gs_aucChar217

        private static final byte[] gs_aucChar217
        Bitmap Fonts:
      • gs_kChar217

        private static BitmapFontChar gs_kChar217
        Bitmap Fonts:
      • gs_aucChar218

        private static final byte[] gs_aucChar218
        Bitmap Fonts:
      • gs_kChar218

        private static BitmapFontChar gs_kChar218
        Bitmap Fonts:
      • gs_aucChar219

        private static final byte[] gs_aucChar219
        Bitmap Fonts:
      • gs_kChar219

        private static BitmapFontChar gs_kChar219
        Bitmap Fonts:
      • gs_aucChar220

        private static final byte[] gs_aucChar220
        Bitmap Fonts:
      • gs_kChar220

        private static BitmapFontChar gs_kChar220
        Bitmap Fonts:
      • gs_aucChar221

        private static final byte[] gs_aucChar221
        Bitmap Fonts:
      • gs_kChar221

        private static BitmapFontChar gs_kChar221
        Bitmap Fonts:
      • gs_aucChar222

        private static final byte[] gs_aucChar222
        Bitmap Fonts:
      • gs_kChar222

        private static BitmapFontChar gs_kChar222
        Bitmap Fonts:
      • gs_aucChar223

        private static final byte[] gs_aucChar223
        Bitmap Fonts:
      • gs_kChar223

        private static BitmapFontChar gs_kChar223
        Bitmap Fonts:
      • gs_aucChar224

        private static final byte[] gs_aucChar224
        Bitmap Fonts:
      • gs_kChar224

        private static BitmapFontChar gs_kChar224
        Bitmap Fonts:
      • gs_aucChar225

        private static final byte[] gs_aucChar225
        Bitmap Fonts:
      • gs_kChar225

        private static BitmapFontChar gs_kChar225
        Bitmap Fonts:
      • gs_aucChar226

        private static final byte[] gs_aucChar226
        Bitmap Fonts:
      • gs_kChar226

        private static BitmapFontChar gs_kChar226
        Bitmap Fonts:
      • gs_aucChar227

        private static final byte[] gs_aucChar227
        Bitmap Fonts:
      • gs_kChar227

        private static BitmapFontChar gs_kChar227
        Bitmap Fonts:
      • gs_aucChar228

        private static final byte[] gs_aucChar228
        Bitmap Fonts:
      • gs_kChar228

        private static BitmapFontChar gs_kChar228
        Bitmap Fonts:
      • gs_aucChar229

        private static final byte[] gs_aucChar229
        Bitmap Fonts:
      • gs_kChar229

        private static BitmapFontChar gs_kChar229
        Bitmap Fonts:
      • gs_aucChar230

        private static final byte[] gs_aucChar230
        Bitmap Fonts:
      • gs_kChar230

        private static BitmapFontChar gs_kChar230
        Bitmap Fonts:
      • gs_aucChar231

        private static final byte[] gs_aucChar231
        Bitmap Fonts:
      • gs_kChar231

        private static BitmapFontChar gs_kChar231
        Bitmap Fonts:
      • gs_aucChar232

        private static final byte[] gs_aucChar232
        Bitmap Fonts:
      • gs_kChar232

        private static BitmapFontChar gs_kChar232
        Bitmap Fonts:
      • gs_aucChar233

        private static final byte[] gs_aucChar233
        Bitmap Fonts:
      • gs_kChar233

        private static BitmapFontChar gs_kChar233
        Bitmap Fonts:
      • gs_aucChar234

        private static final byte[] gs_aucChar234
        Bitmap Fonts:
      • gs_kChar234

        private static BitmapFontChar gs_kChar234
        Bitmap Fonts:
      • gs_aucChar235

        private static final byte[] gs_aucChar235
        Bitmap Fonts:
      • gs_kChar235

        private static BitmapFontChar gs_kChar235
        Bitmap Fonts:
      • gs_aucChar236

        private static final byte[] gs_aucChar236
        Bitmap Fonts:
      • gs_kChar236

        private static BitmapFontChar gs_kChar236
        Bitmap Fonts:
      • gs_aucChar237

        private static final byte[] gs_aucChar237
        Bitmap Fonts:
      • gs_kChar237

        private static BitmapFontChar gs_kChar237
        Bitmap Fonts:
      • gs_aucChar238

        private static final byte[] gs_aucChar238
        Bitmap Fonts:
      • gs_kChar238

        private static BitmapFontChar gs_kChar238
        Bitmap Fonts:
      • gs_aucChar239

        private static final byte[] gs_aucChar239
        Bitmap Fonts:
      • gs_kChar239

        private static BitmapFontChar gs_kChar239
        Bitmap Fonts:
      • gs_aucChar240

        private static final byte[] gs_aucChar240
        Bitmap Fonts:
      • gs_kChar240

        private static BitmapFontChar gs_kChar240
        Bitmap Fonts:
      • gs_aucChar241

        private static final byte[] gs_aucChar241
        Bitmap Fonts:
      • gs_kChar241

        private static BitmapFontChar gs_kChar241
        Bitmap Fonts:
      • gs_aucChar242

        private static final byte[] gs_aucChar242
        Bitmap Fonts:
      • gs_kChar242

        private static BitmapFontChar gs_kChar242
        Bitmap Fonts:
      • gs_aucChar243

        private static final byte[] gs_aucChar243
        Bitmap Fonts:
      • gs_kChar243

        private static BitmapFontChar gs_kChar243
        Bitmap Fonts:
      • gs_aucChar244

        private static final byte[] gs_aucChar244
        Bitmap Fonts:
      • gs_kChar244

        private static BitmapFontChar gs_kChar244
        Bitmap Fonts:
      • gs_aucChar245

        private static final byte[] gs_aucChar245
        Bitmap Fonts:
      • gs_kChar245

        private static BitmapFontChar gs_kChar245
        Bitmap Fonts:
      • gs_aucChar246

        private static final byte[] gs_aucChar246
        Bitmap Fonts:
      • gs_kChar246

        private static BitmapFontChar gs_kChar246
        Bitmap Fonts:
      • gs_aucChar247

        private static final byte[] gs_aucChar247
        Bitmap Fonts:
      • gs_kChar247

        private static BitmapFontChar gs_kChar247
        Bitmap Fonts:
      • gs_aucChar248

        private static final byte[] gs_aucChar248
        Bitmap Fonts:
      • gs_kChar248

        private static BitmapFontChar gs_kChar248
        Bitmap Fonts:
      • gs_aucChar249

        private static final byte[] gs_aucChar249
        Bitmap Fonts:
      • gs_kChar249

        private static BitmapFontChar gs_kChar249
        Bitmap Fonts:
      • gs_aucChar250

        private static final byte[] gs_aucChar250
        Bitmap Fonts:
      • gs_kChar250

        private static BitmapFontChar gs_kChar250
        Bitmap Fonts:
      • gs_aucChar251

        private static final byte[] gs_aucChar251
        Bitmap Fonts:
      • gs_kChar251

        private static BitmapFontChar gs_kChar251
        Bitmap Fonts:
      • gs_aucChar252

        private static final byte[] gs_aucChar252
        Bitmap Fonts:
      • gs_kChar252

        private static BitmapFontChar gs_kChar252
        Bitmap Fonts:
      • gs_aucChar253

        private static final byte[] gs_aucChar253
        Bitmap Fonts:
      • gs_kChar253

        private static BitmapFontChar gs_kChar253
        Bitmap Fonts:
      • gs_aucChar254

        private static final byte[] gs_aucChar254
        Bitmap Fonts:
      • gs_kChar254

        private static BitmapFontChar gs_kChar254
        Bitmap Fonts:
      • gs_aucChar255

        private static final byte[] gs_aucChar255
        Bitmap Fonts:
      • gs_kChar255

        private static BitmapFontChar gs_kChar255
        Bitmap Fonts:
      • g_kVerdana_S16B0I0

        private final BitmapFont g_kVerdana_S16B0I0
        Bitmap Fonts:
      • textureID

        private static int textureID
      • drawScreenTexture

        private boolean drawScreenTexture
      • screenTexture

        private Texture screenTexture
      • screenPolygon

        private TriMesh screenPolygon
      • screenCamera

        private Camera screenCamera
      • xPos

        private int xPos
      • yPos

        private int yPos
    • Method Detail

      • BeginScene

        public boolean BeginScene()
        Begin rendering the scene.
        Overrides:
        BeginScene in class Renderer
        Returns:
        true.
      • ClearBackBuffer

        public void ClearBackBuffer()
        Clear back buffer.
        Specified by:
        ClearBackBuffer in class Renderer
      • ClearBackBuffer

        public void ClearBackBuffer​(int iXPos,
                                    int iYPos,
                                    int iWidth,
                                    int iHeight)
        Clear the back buffer in the specified subwindow.
        Specified by:
        ClearBackBuffer in class Renderer
        Parameters:
        iXPos - the x-position for the subwindow
        iYPos - the y-position for the subwindow
        iWidth - the subwindow width
        iHeight - the subwindow height
      • ClearBuffers

        public void ClearBuffers()
        Clear all buffers.
        Specified by:
        ClearBuffers in class Renderer
      • ClearBuffers

        public void ClearBuffers​(int iXPos,
                                 int iYPos,
                                 int iWidth,
                                 int iHeight)
        Clear the all buffers in the specified subwindow.
        Specified by:
        ClearBuffers in class Renderer
        Parameters:
        iXPos - the x-position for the subwindow
        iYPos - the y-position for the subwindow
        iWidth - the subwindow width
        iHeight - the subwindow height
      • ClearColorDepth

        public void ClearColorDepth()
        Clear all buffers.
        Specified by:
        ClearColorDepth in class Renderer
      • ClearStencilBuffer

        public void ClearStencilBuffer()
        Clear stencil buffer.
        Specified by:
        ClearStencilBuffer in class Renderer
      • ClearStencilBuffer

        public void ClearStencilBuffer​(int iXPos,
                                       int iYPos,
                                       int iWidth,
                                       int iHeight)
        Clear the stencil buffer in the specified subwindow.
        Specified by:
        ClearStencilBuffer in class Renderer
        Parameters:
        iXPos - the x-position for the subwindow
        iYPos - the y-position for the subwindow
        iWidth - the subwindow width
        iHeight - the subwindow height
      • ClearZBuffer

        public void ClearZBuffer()
        Clear depth buffer.
        Specified by:
        ClearZBuffer in class Renderer
      • ClearZBuffer

        public void ClearZBuffer​(int iXPos,
                                 int iYPos,
                                 int iWidth,
                                 int iHeight)
        Clear the depth buffer in the specified subwindow.
        Specified by:
        ClearZBuffer in class Renderer
        Parameters:
        iXPos - the x-position for the subwindow
        iYPos - the y-position for the subwindow
        iWidth - the subwindow width
        iHeight - the subwindow height
      • CompilePrograms

        public Program CompilePrograms​(Geometry pkGeometry,
                                       Program pkVProgram,
                                       Program pkPProgram)
        Compiles two shaders into a program.
        Specified by:
        CompilePrograms in class Renderer
        Parameters:
        pkVProgram - the vertex program to compile
        pkPProgram - the pixel program to compile
        Returns:
        compiled Program containing combined information.
      • DisableUserClipPlane

        public void DisableUserClipPlane​(int i)
        Disables additional clip planes.
        Specified by:
        DisableUserClipPlane in class Renderer
        Parameters:
        i - the clip plane to disable (GL_CLIP_PLANE0 + i).
      • DisplayBackBuffer

        public void DisplayBackBuffer()
        Display the back buffer.
        Specified by:
        DisplayBackBuffer in class Renderer
      • dispose

        public void dispose()
        Delete memory:
        Overrides:
        dispose in class Renderer
      • Draw

        public void Draw​(byte[] aucBuffer)
        Draw a byte bitmap.
        Specified by:
        Draw in class Renderer
        Parameters:
        aucBuffer - the bitmap to draw.
      • Draw

        public void Draw​(float iX,
                         float iY,
                         float iZ,
                         ColorRGBA rkColor,
                         char[] acText)
        Description copied from class: Renderer
        Draw text.
        Specified by:
        Draw in class Renderer
        Parameters:
        iX - the x-position for the start of the text being drawn.
        iY - the y-position for the start of the text being drawn.
        iZ - the z-position for the start of the text being drawn.
        rkColor - text color
        acText - text to draw
      • Draw

        public void Draw​(int iX,
                         int iY,
                         ColorRGBA rkColor,
                         java.lang.String text)
        Specified by:
        Draw in class Renderer
      • Draw

        public void Draw​(int iX,
                         int iY,
                         ColorRGBA rkColor,
                         char[] acText)
        Draw text.
        Parameters:
        iX - the x-position for the start of the text being drawn.
        iY - the y-position for the start of the text being drawn.
        rkColor - text color
        acText - text to draw
      • DrawCharacter

        public void DrawCharacter​(BitmapFont rkFont,
                                  char cChar,
                                  ColorRGBA rkColor)
        Text drawing
        Parameters:
        rkFont - the BitmapFont for text drawing
        cChar - the character to draw.
      • Draw

        public void Draw​(float iX,
                         float iY,
                         float iZ,
                         byte[][] acText,
                         int width,
                         int height)
        Specified by:
        Draw in class Renderer
      • Draw

        public void Draw​(int iX,
                         int iY,
                         byte[][] acText,
                         int width,
                         int height)
      • DrawElements

        public void DrawElements()
        The entry point to drawing a geometry object.
        Specified by:
        DrawElements in class Renderer
      • Finish

        public void Finish()
        Include additional clip planes. The input plane must be in model coordinates. It is transformed internally to camera coordinates to support clipping in clip space.
        Specified by:
        Finish in class Renderer
        Parameters:
        i - the GL_CLIP_PLANE0 (+i) clip plane to include.
        rkPlane - the clip plane definition. public void EnableUserClipPlane (int i, Plane3f rkPlane) { double adPlane[] = new double[] { rkPlane.Normal.X, rkPlane.Normal.Y, rkPlane.Normal.Z, -rkPlane.Constant }; m_kGL.glEnable(GL3.GL_CLIP_PLANE0 + i); m_kGL.glClipPlane(GL3.GL_CLIP_PLANE0 + i,adPlane,0); adPlane = null; }
      • GetCanvas

        public com.jogamp.opengl.awt.GLCanvas GetCanvas()
      • GetCommentCharacter

        public final char GetCommentCharacter()
        Renderer-specific information for loading shader programs.
        Specified by:
        GetCommentCharacter in class Renderer
        Returns:
        comment characeter
      • GetContext

        public com.jogamp.opengl.GLContext GetContext()
      • GetExtension

        public final java.lang.String GetExtension()
        Renderer-specific information for loading shader programs.
        Specified by:
        GetExtension in class Renderer
        Returns:
        extension
      • GetPixelColor

        public ColorRGBA GetPixelColor​(int iX,
                                       int iY)
        Description copied from class: Renderer
        Read the pixel color at the current mouse location.
        Specified by:
        GetPixelColor in class Renderer
        Parameters:
        iX - mouse x position
        iY - mouse y position
        Returns:
        pixel color.
      • GetScreenImage

        public java.nio.ByteBuffer GetScreenImage​(int iWidth,
                                                  int iHeight)
        Specified by:
        GetScreenImage in class Renderer
      • GetSizeOnScreen

        public int[] GetSizeOnScreen​(char[] acText)
        Specified by:
        GetSizeOnScreen in class Renderer
      • GetUnique

        public boolean GetUnique()
        Returns if the program being loaded must be unique. This is true only when glsl shaders are used (currently the only option).
        Returns:
        true if shader has to be unique.
      • InitCanvas

        public void InitCanvas()
        Initialize canvas with hardware accelerated capabilities.
      • InitializeState

        public void InitializeState()
        Initialize the rendering state (vertices, colors, normals, textures, vertex and pixel programs, etc.)
        Specified by:
        InitializeState in class Renderer
      • OnDepthRangeChange

        public void OnDepthRangeChange()
        Called when the depth range changes. Updates the camera.
        Specified by:
        OnDepthRangeChange in class Renderer
      • OnDisableProgram

        public void OnDisableProgram​(ResourceIdentifier pkID)
        Disable the Compiled Program specified by the ResourceIdentifer parameter pkID.
        Specified by:
        OnDisableProgram in class Renderer
        Parameters:
        pkID - the ResourceIdentifier describing the compiled GLSL Program to disable.
      • OnDisableTexture

        public void OnDisableTexture​(ResourceIdentifier pkID)
        Disable the Texture specified by the ResourceIdentifer parameter pkID.
        Specified by:
        OnDisableTexture in class Renderer
        Parameters:
        pkID - the ResourceIdentifier describing the Texture to disable.
      • OnEnableProgram

        public void OnEnableProgram​(ResourceIdentifier pkID)
        Enable the VertexProgram specified by the ResourceIdentifer parameter pkID.
        Specified by:
        OnEnableProgram in class Renderer
        Parameters:
        pkID - the ResourceIdentifier describing the VertexProgram to enable.
      • OnEnableTexture

        public void OnEnableTexture​(ResourceIdentifier pkID,
                                    SamplerInformation pkSI)
        Enable the Texture specified by the ResourceIdentifer parameter pkID and the SamplerInformation pkSI. Enable texture should be called when enabling a texture for use with a shader program.
        Specified by:
        OnEnableTexture in class Renderer
        Parameters:
        pkID - the ResourceIdentifier describing the Texture to enable.
      • OnLoadProgram

        public ResourceIdentifier OnLoadProgram​(Program pkCProgram)
        Resource loading and releasing (to/from video memory).
        Specified by:
        OnLoadProgram in class Renderer
        Parameters:
        pkCProgram - the compiled program to generate/bind
        Returns:
        the new ResourceIdentifier for the Program
      • OnLoadTexture

        public ResourceIdentifier OnLoadTexture​(Texture pkTexture)
        Resource loading and releasing (to/from video memory).
        Specified by:
        OnLoadTexture in class Renderer
        Parameters:
        pkTexture - the Texture to generate/bind
        Returns:
        the new ResourceIdentifier for the Texture
      • OnReloadVAO

        public void OnReloadVAO​(Geometry pkGeometry,
                                ResourceIdentifier pkID)
        Description copied from class: Renderer
        Resource loading and releasing (to/from video memory).
        Specified by:
        OnReloadVAO in class Renderer
        pkID - the vertex array object to generate/bind with the new ResourceIdentifier for the VAO
      • OnReleaseProgram

        public void OnReleaseProgram​(ResourceIdentifier pkID)
        Description copied from class: Renderer
        Release the VertexProgram described in the ResourceIdentifier parameter.
        Specified by:
        OnReleaseProgram in class Renderer
        Parameters:
        pkID - the ResourceIdentifier with the VertexProgram to release.
      • OnReleaseTexture

        public void OnReleaseTexture​(ResourceIdentifier pkID)
        Release the Texture described in the ResourceIdentifier parameter.
        Specified by:
        OnReleaseTexture in class Renderer
        Parameters:
        pkID - the ResourceIdentifier with the Texture to release.
      • OnReleaseVAOBuffer

        public void OnReleaseVAOBuffer​(ResourceIdentifier pkID)
        Release the IndexBuffer described in the ResourceIdentifier parameter.
        Specified by:
        OnReleaseVAOBuffer in class Renderer
        Parameters:
        pkID - the ResourceIdentifier with the IndexBuffer to release.
      • OnReloadTexture

        public void OnReloadTexture​(ResourceIdentifier pkID)
        Resource loading and releasing (to/from video memory).
        Specified by:
        OnReloadTexture in class Renderer
        Parameters:
        pkTexture - the Texture to generate/bind
      • OnViewportChange

        public void OnViewportChange()
        Called when the viewport changes. Updates the camera.
        Specified by:
        OnViewportChange in class Renderer
      • ParseProgram

        public void ParseProgram​(Program pkProgram,
                                 int iType)
        Parse the input program for the parameters.
        Specified by:
        ParseProgram in class Renderer
        Parameters:
        pkProgram - Program to parse.
        iType - the type of program to parse, Program.VERTEX or Program.PIXEL.
      • ReadProgram

        public Program ReadProgram​(java.lang.String rkProgramName,
                                   int iType)
        Read a Shader Program from file.
        Specified by:
        ReadProgram in class Renderer
        Parameters:
        rkProgramName - the name of the program to load.
        iType - the type of program to read VERTEX, PIXEL.
        Returns:
        a new Program, or null if it cannot be loaded.
      • Screenshot

        public java.awt.image.BufferedImage Screenshot()
        Specified by:
        Screenshot in class Renderer
      • SelectFont

        public boolean SelectFont​(int iFontID)
        Select a font based on ID.
        Specified by:
        SelectFont in class Renderer
        Parameters:
        iFontID - the font to use.
        Returns:
        true if the font exists, false otherwise.
      • SetAlphaState

        public void SetAlphaState​(AlphaState pkState)
        Sets the AlphaState for the OpenGLRenderer.
        Overrides:
        SetAlphaState in class Renderer
        Parameters:
        pkState - the new AlphaState.
      • SetBackgroundColor

        public void SetBackgroundColor​(ColorRGBA rkColor)
        Set the background color
        Overrides:
        SetBackgroundColor in class Renderer
        Parameters:
        rkColor - the new background color.
      • SetColorMask

        public void SetColorMask​(boolean bAllowRed,
                                 boolean bAllowGreen,
                                 boolean bAllowBlue,
                                 boolean bAllowAlpha)
        Enable or disable which color channels will be written to the color buffer.
        Overrides:
        SetColorMask in class Renderer
        Parameters:
        bAllowRed - when true allow the red channel to be written
        bAllowGreen - when true allow the green channel to be written
        bAllowBlue - when true allow the blue channel to be written
        bAllowAlpha - when true allow the alpha channel to be written
      • SetCullState

        public void SetCullState​(CullState pkState)
        Sets the CullState for the OpenGLRenderer.
        Overrides:
        SetCullState in class Renderer
        Parameters:
        pkState - the new CullState.
      • SetDrawable

        public void SetDrawable​(com.jogamp.opengl.GLAutoDrawable kDraw)
      • SetLineStipple

        public void SetLineStipple​(int iRepeat,
                                   short usPattern)
        Set the line stipple.
        Overrides:
        SetLineStipple in class Renderer
        Parameters:
        iRepeat - the repeat factor
        usPattern - the stipple pattern.
      • SetLineWidth

        public void SetLineWidth​(float fWidth)
        Set the line width.
        Overrides:
        SetLineWidth in class Renderer
        Parameters:
        fWidth - new line width.
      • SetPointSize

        public void SetPointSize​(float fSize)
        Set the point size.
        Overrides:
        SetPointSize in class Renderer
        Parameters:
        fSize - new point size.
      • SetPolygonOffsetState

        public void SetPolygonOffsetState​(PolygonOffsetState pkState)
        Sets the PolygonOffsetState for the OpenGLRenderer.
        Overrides:
        SetPolygonOffsetState in class Renderer
        Parameters:
        pkState - the new PolygonOffsetState.
      • SetStencilState

        public void SetStencilState​(StencilState pkState)
        Sets the StencilState for the OpenGLRenderer.
        Overrides:
        SetStencilState in class Renderer
        Parameters:
        pkState - the new StencilState.
      • SetProgramConstant

        public void SetProgramConstant​(Renderer.ConstantType eCType,
                                       RendererConstant.Type paramType,
                                       int iBaseRegister,
                                       int iRegisterQuantity,
                                       int iNumFloats,
                                       float[] afData)
        Resource enabling and disabling. Sets the values for the Vertex Program constant parameters.
        Specified by:
        SetProgramConstant in class Renderer
        Parameters:
        eCTYpe - the ConstantType parameter (RENDERER, NUMERICAL, USER)
        paramType - the RendererConstant.Type parameter
        iBaseRegister - the register to load the parameter values into
        iRegisterQuantity - the number of registers
        iNumFloats - the number of floats in the program constant
        afData - the parameter values.
      • SetWireframeState

        public void SetWireframeState​(WireframeState pkState)
        Sets the WireframeState for the OpenGLRenderer.
        Overrides:
        SetWireframeState in class Renderer
        Parameters:
        pkState - the new WireframeState.
      • SetZBufferState

        public void SetZBufferState​(ZBufferState pkState)
        Sets the ZBufferState for the OpenGLRenderer.
        Overrides:
        SetZBufferState in class Renderer
        Parameters:
        pkState - the new ZBufferState.
      • UnloadFont

        public void UnloadFont​(int iFontID)
        Clear a font based on ID.
        Specified by:
        UnloadFont in class Renderer
        Parameters:
        iFontID - the font to remove.
      • ReadProgramFile

        protected boolean ReadProgramFile​(Program pkProgram,
                                          java.lang.String rkProgramName,
                                          java.lang.String rkDirectory)
        Read text file containing one or more shader programs from disk, set program name, type, and program text string
        Parameters:
        rkProgramName - the name of the program to load.
        rkDirectory - the directory where the program is located.
        Returns:
        true if file contents were read, false if it cannot be loaded.
      • RecurseParamsInProgram

        protected void RecurseParamsInProgram​(Program rkProgram)
        Query the linked program, setup the RendererConstants, UserConstants, and Samplers.
        Parameters:
        rkProgram - the shader program to query
      • GetSizeOnScreen

        private void GetSizeOnScreen​(BitmapFont rkFont,
                                     char cChar,
                                     int[] aiSize)
      • initScreenTexture

        private void initScreenTexture()