Hi Robert,
I bailed on my svn import. TortoiseSVN wouldn't work with the checkout
command as documented. I got the checkout going, but I seemed to be getting way
more than I wanted. After more time than I had to spend I still didn't
have the OSG source.
I did manage to produce a test file. There are two small meshes, one colored
overall magenta, the other cyan. Both are 50% transparent. This is
what I see in a 2.8.3 viewer. The magenta mesh BIND_PER_VERTEX normals.
The cyan has BIND_PER_PRIMITIVE. With a 2.9.8 viewer the semi-tranparent
magenta mesh shows as opaque gray.
-Don Leich
MatrixTransform {
UniqueID MatrixTransform_0
name "il::Scene"
nodeMask 0xffffffff
cullingActive TRUE
UpdateCallbacks {
NodeCallback {
}
}
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 1
Group {
UniqueID Group_1
name "scene"
nodeMask 0xffffffff
cullingActive TRUE
num_children 4
MatrixTransform {
UniqueID MatrixTransform_2
name "il::LightManager"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 2
MatrixTransform {
UniqueID MatrixTransform_3
name "il::Light"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 1
LightSource {
UniqueID LightSource_4
nodeMask 0xffffffff
cullingActive FALSE
StateSet {
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHT0 ON
}
referenceFrame RELATIVE
Light {
UniqueID Light_5
DataVariance DYNAMIC
light_num 0
ambient 0.15 0.15 0.15 1
diffuse 0.7 0.7 0.7 1
specular 1 1 1 1
position -0.57735 -0.57735 -0.57735 0
direction 0.57735 0.57735 0.57735
constant_attenuation 1
linear_attenuation 0
quadratic_attenuation 0
spot_exponent 0
spot_cutoff 180
}
}
}
MatrixTransform {
UniqueID MatrixTransform_6
name "il::Light"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 1
LightSource {
UniqueID LightSource_7
nodeMask 0xffffffff
cullingActive FALSE
StateSet {
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHT0 ON
}
referenceFrame RELATIVE
Light {
UniqueID Light_8
DataVariance DYNAMIC
light_num 1
ambient 0.15 0.15 0.15 1
diffuse 0.7 0.7 0.7 1
specular 1 1 1 1
position 0.57735 0.57735 0.57735 0
direction -0.57735 -0.57735 -0.57735
constant_attenuation 1
linear_attenuation 0
quadratic_attenuation 0
spot_exponent 0
spot_cutoff 180
}
}
}
}
MatrixTransform {
UniqueID MatrixTransform_9
name "scene world transform"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_10
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHT0 ON
GL_LIGHT1 ON
}
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 1
MatrixTransform {
UniqueID MatrixTransform_11
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 1
MatrixTransform {
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 8
MatrixTransform {
name "id:-216"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
MatrixTransform {
name "id:-206"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
MatrixTransform {
name "id:-204"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
MatrixTransform {
name "id:-207"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
MatrixTransform {
name "id:-208"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
MatrixTransform {
name "id:-201"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 2
MatrixTransform {
DataVariance STATIC
name "il::Surface"
nodeMask 0xffffffff
cullingActive TRUE
UpdateCallbacks {
NodeCallback {
}
}
referenceFrame RELATIVE
Matrix {
0.320821 0.069176 -0.0583088 0
-0.0377812 0.297641 0.145237 0
0.0822059 -0.133176 0.294308 0
-0.595045 -0.270617 -2.3841 1
}
num_children 2
Switch {
UniqueID Switch_12
name "il::Surface Overlay"
nodeMask 0xffffffff
cullingActive TRUE
NewChildDefaultValue 0
ValueList {
0
0
0
0
}
num_children 4
Group {
name "il::Surface Primary"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_13
name "Base Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
Group {
name "il::Surface Mesh"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_14
name "il::Mesh Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
Group {
name "il::Surface Contour"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_15
name "il::Contour Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
Group {
name "il::Surface Vectors"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_16
name "il::Vector Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
}
MatrixTransform {
UniqueID MatrixTransform_17
DataVariance STATIC
name "id:3620370"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_18
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode OVERRIDE
binNumber 10
binName DepthSortedBin
GL_CULL_FACE OFF
GL_LIGHTING ON
GL_NORMALIZE ON
GL_BLEND ON
GL_POLYGON_OFFSET_POINT ON
GL_POLYGON_OFFSET_LINE ON
GL_POLYGON_OFFSET_FILL ON
PolygonMode {
mode FRONT_AND_BACK FILL
}
PolygonOffset {
factor 0.5
units 2
}
Material {
UniqueID Material_19
ColorMode AMBIENT_AND_DIFFUSE
ambientColor 0.2 0.2 0.2 0.501
diffuseColor 1 0 1 0.501
specularColor 0 0 0 0.501
emissionColor 0 0 0 0.501
shininess 127
}
Point {
UniqueID Point_20
size 1
fade_threshold_size 1
distance_attenuation 1 0 0
}
LineWidth {
width 1
}
ShadeModel {
mode SMOOTH
}
textureUnit 0 {
GL_TEXTURE_1D OFF
Texture1D {
wrap_s CLAMP
wrap_t CLAMP
wrap_r CLAMP
min_filter LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
shadowComparison FALSE
shadowCompareFunc GL_LEQUAL
shadowTextureMode GL_LUMINANCE
}
TexMat {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
}
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 1
Switch {
UniqueID Switch_21
name "il::Surface Overlay"
nodeMask 0xffffffff
cullingActive TRUE
NewChildDefaultValue 0
ValueList {
1
1
0
0
}
num_children 4
Group {
name "il::Surface Primary"
nodeMask 0xffffffff
cullingActive TRUE
Use StateSet_18
num_children 1
Geode {
UniqueID Geode_22
name "Base Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 2
Geometry {
UniqueID Geometry_23
DataVariance STATIC
useDisplayList TRUE
useVertexBufferObjects FALSE
PrimitiveSets 1
{
DrawElementsUInt QUADS 36
{
0 4 5 1 1 5 6 2 2 6
7 3 4 8 9 5 5 9 10 6
6 10 11 7 8 12 13 9 9 13
14 10 10 14 15 11
}
}
VertexArray Vec3Array 16
{
-1.5 -1.5 -0.5
-1.5 -0.5 -0.5
-1.5 0.5 -0.5
-1.5 1.5 -0.5
-0.5 -1.5 -0.5
-0.5 -0.5 -0.5
-0.5 0.5 -0.5
-0.5 1.5 -0.5
0.5 -1.5 -0.5
0.5 -0.5 -0.5
0.5 0.5 -0.5
0.5 1.5 -0.5
1.5 -1.5 -0.5
1.5 -0.5 -0.5
1.5 0.5 -0.5
1.5 1.5 -0.5
}
NormalBinding PER_VERTEX
NormalArray Vec3Array 16
{
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
}
}
Geometry {
UniqueID Geometry_24
DataVariance STATIC
useDisplayList TRUE
useVertexBufferObjects FALSE
VertexArray UniqueID Vec3Array_25 Vec3Array 16
{
-1.5 -1.5 -0.5
-1.5 -0.5 -0.5
-1.5 0.5 -0.5
-1.5 1.5 -0.5
-0.5 -1.5 -0.5
-0.5 -0.5 -0.5
-0.5 0.5 -0.5
-0.5 1.5 -0.5
0.5 -1.5 -0.5
0.5 -0.5 -0.5
0.5 0.5 -0.5
0.5 1.5 -0.5
1.5 -1.5 -0.5
1.5 -0.5 -0.5
1.5 0.5 -0.5
1.5 1.5 -0.5
}
NormalBinding PER_VERTEX
NormalArray Vec3Array 16
{
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
-0 -0 1
}
}
}
}
Group {
name "il::Surface Mesh"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_26
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHTING OFF
PolygonMode {
mode FRONT_AND_BACK LINE
}
Material {
UniqueID Material_27
ColorMode DIFFUSE
ambientColor 0.2 0.2 0.2 1
diffuseColor 0 0 0 1
specularColor 0 0 0 1
emissionColor 0 0 0 1
shininess 0
}
LineWidth {
width 1
}
textureUnit 0 {
GL_TEXTURE_1D OFF
Texture1D {
wrap_s CLAMP
wrap_t CLAMP
wrap_r CLAMP
min_filter LINEAR_MIPMAP_LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
shadowComparison FALSE
shadowCompareFunc GL_LEQUAL
shadowTextureMode GL_LUMINANCE
}
}
}
num_children 1
Geode {
UniqueID Geode_28
name "il::Mesh Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 1
Geometry {
UniqueID Geometry_29
DataVariance STATIC
useDisplayList TRUE
useVertexBufferObjects FALSE
PrimitiveSets 1
{
DrawElementsUInt LINES 72
{
0 4 4 5 5 1 1 0 1 5
5 6 6 2 2 1 2 6 6 7
7 3 3 2 4 8 8 9 9 5
5 4 5 9 9 10 10 6 6 5
6 10 10 11 11 7 7 6 8 12
12 13 13 9 9 8 9 13 13 14
14 10 10 9 10 14 14 15 15 11
11 10
}
}
VertexArray Use Vec3Array_25
ColorBinding OVERALL
ColorArray Vec4Array 1
{
0 0 0 1
}
}
}
}
Group {
name "il::Surface Contour"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_30
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHTING OFF
PolygonMode {
mode FRONT_AND_BACK LINE
}
Material {
UniqueID Material_31
ColorMode DIFFUSE
ambientColor 0.2 0.2 0.2 1
diffuseColor 1 0 1 1
specularColor 0 0 0 1
emissionColor 0 0 0 1
shininess 0
}
LineWidth {
width 1
}
textureUnit 0 {
GL_TEXTURE_1D OFF
Texture1D {
wrap_s CLAMP
wrap_t CLAMP
wrap_r CLAMP
min_filter LINEAR_MIPMAP_LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
shadowComparison FALSE
shadowCompareFunc GL_LEQUAL
shadowTextureMode GL_LUMINANCE
}
}
}
num_children 1
Geode {
UniqueID Geode_32
name "il::Contour Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
Group {
name "il::Surface Vectors"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_33
name "il::Vector Geode"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_34
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHTING OFF
Material {
UniqueID Material_35
ColorMode DIFFUSE
ambientColor 0.2 0.2 0.2 1
diffuseColor 1 0 1 1
specularColor 0 0 0 1
emissionColor 0 0 0 1
shininess 0
}
LineWidth {
width 1
}
textureUnit 0 {
GL_TEXTURE_1D OFF
Texture1D {
wrap_s CLAMP
wrap_t CLAMP
wrap_r CLAMP
min_filter LINEAR_MIPMAP_LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
shadowComparison FALSE
shadowCompareFunc GL_LEQUAL
shadowTextureMode GL_LUMINANCE
}
}
}
num_drawables 0
}
}
}
}
}
MatrixTransform {
DataVariance STATIC
name "il::Surface"
nodeMask 0xffffffff
cullingActive TRUE
UpdateCallbacks {
NodeCallback {
}
}
referenceFrame RELATIVE
Matrix {
0.320821 0.069176 -0.0583088 0
-0.0377812 0.297641 0.145237 0
0.0822059 -0.133176 0.294308 0
0.681977 -0.0893272 -2.18128 1
}
num_children 2
Switch {
UniqueID Switch_36
name "il::Surface Overlay"
nodeMask 0xffffffff
cullingActive TRUE
NewChildDefaultValue 0
ValueList {
0
0
0
0
}
num_children 4
Group {
name "il::Surface Primary"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_37
name "Base Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
Group {
name "il::Surface Mesh"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_38
name "il::Mesh Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
Group {
name "il::Surface Contour"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_39
name "il::Contour Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
Group {
name "il::Surface Vectors"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_40
name "il::Vector Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
}
MatrixTransform {
UniqueID MatrixTransform_41
DataVariance STATIC
name "id:3621091"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_42
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode OVERRIDE
binNumber 10
binName DepthSortedBin
GL_CULL_FACE OFF
GL_LIGHTING ON
GL_NORMALIZE ON
GL_BLEND ON
GL_POLYGON_OFFSET_POINT ON
GL_POLYGON_OFFSET_LINE ON
GL_POLYGON_OFFSET_FILL ON
PolygonMode {
mode FRONT_AND_BACK FILL
}
PolygonOffset {
factor 0.5
units 2
}
Material {
UniqueID Material_43
ColorMode AMBIENT_AND_DIFFUSE
ambientColor 0.2 0.2 0.2 0.501
diffuseColor 0 1 1 0.501
specularColor 0 0 0 0.501
emissionColor 0 0 0 0.501
shininess 127
}
Point {
UniqueID Point_44
size 1
fade_threshold_size 1
distance_attenuation 1 0 0
}
LineWidth {
width 1
}
ShadeModel {
mode SMOOTH
}
textureUnit 0 {
GL_TEXTURE_1D OFF
Texture1D {
wrap_s CLAMP
wrap_t CLAMP
wrap_r CLAMP
min_filter LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
shadowComparison FALSE
shadowCompareFunc GL_LEQUAL
shadowTextureMode GL_LUMINANCE
}
TexMat {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
}
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
num_children 1
Switch {
UniqueID Switch_45
name "il::Surface Overlay"
nodeMask 0xffffffff
cullingActive TRUE
NewChildDefaultValue 0
ValueList {
1
1
0
0
}
num_children 4
Group {
name "il::Surface Primary"
nodeMask 0xffffffff
cullingActive TRUE
Use StateSet_42
num_children 1
Geode {
UniqueID Geode_46
name "Base Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 2
Geometry {
UniqueID Geometry_47
DataVariance STATIC
useDisplayList TRUE
useVertexBufferObjects FALSE
PrimitiveSets 1
{
DrawElementsUInt QUADS 36
{
0 4 5 1 1 5 6 2 2 6
7 3 4 8 9 5 5 9 10 6
6 10 11 7 8 12 13 9 9 13
14 10 10 14 15 11
}
}
VertexArray Vec3Array 16
{
-1.5 -1.5 -0.5
-1.5 -0.5 -0.5
-1.5 0.5 -0.5
-1.5 1.5 -0.5
-0.5 -1.5 -0.5
-0.5 -0.5 -0.5
-0.5 0.5 -0.5
-0.5 1.5 -0.5
0.5 -1.5 -0.5
0.5 -0.5 -0.5
0.5 0.5 -0.5
0.5 1.5 -0.5
1.5 -1.5 -0.5
1.5 -0.5 -0.5
1.5 0.5 -0.5
1.5 1.5 -0.5
}
NormalBinding PER_PRIMITIVE
NormalArray Vec3Array 9
{
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
}
}
Geometry {
UniqueID Geometry_48
DataVariance STATIC
useDisplayList TRUE
useVertexBufferObjects FALSE
VertexArray UniqueID Vec3Array_49 Vec3Array 16
{
-1.5 -1.5 -0.5
-1.5 -0.5 -0.5
-1.5 0.5 -0.5
-1.5 1.5 -0.5
-0.5 -1.5 -0.5
-0.5 -0.5 -0.5
-0.5 0.5 -0.5
-0.5 1.5 -0.5
0.5 -1.5 -0.5
0.5 -0.5 -0.5
0.5 0.5 -0.5
0.5 1.5 -0.5
1.5 -1.5 -0.5
1.5 -0.5 -0.5
1.5 0.5 -0.5
1.5 1.5 -0.5
}
NormalBinding PER_PRIMITIVE
NormalArray Vec3Array 9
{
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
0 0 1
}
}
}
}
Group {
name "il::Surface Mesh"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_50
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHTING OFF
PolygonMode {
mode FRONT_AND_BACK LINE
}
Material {
UniqueID Material_51
ColorMode DIFFUSE
ambientColor 0.2 0.2 0.2 1
diffuseColor 0 0 0 1
specularColor 0 0 0 1
emissionColor 0 0 0 1
shininess 0
}
LineWidth {
width 1
}
textureUnit 0 {
GL_TEXTURE_1D OFF
Texture1D {
wrap_s CLAMP
wrap_t CLAMP
wrap_r CLAMP
min_filter LINEAR_MIPMAP_LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
shadowComparison FALSE
shadowCompareFunc GL_LEQUAL
shadowTextureMode GL_LUMINANCE
}
}
}
num_children 1
Geode {
UniqueID Geode_52
name "il::Mesh Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 1
Geometry {
UniqueID Geometry_53
DataVariance STATIC
useDisplayList TRUE
useVertexBufferObjects FALSE
PrimitiveSets 1
{
DrawElementsUInt LINES 72
{
0 4 4 5 5 1 1 0 1 5
5 6 6 2 2 1 2 6 6 7
7 3 3 2 4 8 8 9 9 5
5 4 5 9 9 10 10 6 6 5
6 10 10 11 11 7 7 6 8 12
12 13 13 9 9 8 9 13 13 14
14 10 10 9 10 14 14 15 15 11
11 10
}
}
VertexArray Use Vec3Array_49
ColorBinding OVERALL
ColorArray Vec4Array 1
{
0 0 0 1
}
}
}
}
Group {
name "il::Surface Contour"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_54
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHTING OFF
PolygonMode {
mode FRONT_AND_BACK LINE
}
Material {
UniqueID Material_55
ColorMode DIFFUSE
ambientColor 0.2 0.2 0.2 1
diffuseColor 0 1 1 1
specularColor 0 0 0 1
emissionColor 0 0 0 1
shininess 0
}
LineWidth {
width 1
}
textureUnit 0 {
GL_TEXTURE_1D OFF
Texture1D {
wrap_s CLAMP
wrap_t CLAMP
wrap_r CLAMP
min_filter LINEAR_MIPMAP_LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
shadowComparison FALSE
shadowCompareFunc GL_LEQUAL
shadowTextureMode GL_LUMINANCE
}
}
}
num_children 1
Geode {
UniqueID Geode_56
name "il::Contour Geode"
nodeMask 0xffffffff
cullingActive TRUE
num_drawables 0
}
}
Group {
name "il::Surface Vectors"
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Geode {
UniqueID Geode_57
name "il::Vector Geode"
nodeMask 0xffffffff
cullingActive TRUE
StateSet {
UniqueID StateSet_58
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHTING OFF
Material {
UniqueID Material_59
ColorMode DIFFUSE
ambientColor 0.2 0.2 0.2 1
diffuseColor 0 1 1 1
specularColor 0 0 0 1
emissionColor 0 0 0 1
shininess 0
}
LineWidth {
width 1
}
textureUnit 0 {
GL_TEXTURE_1D OFF
Texture1D {
wrap_s CLAMP
wrap_t CLAMP
wrap_r CLAMP
min_filter LINEAR_MIPMAP_LINEAR
mag_filter LINEAR
maxAnisotropy 1
borderColor 0 0 0 0
borderWidth 0
useHardwareMipMapGeneration TRUE
unRefImageDataAfterApply FALSE
internalFormatMode USE_IMAGE_DATA_FORMAT
resizeNonPowerOfTwo TRUE
shadowComparison FALSE
shadowCompareFunc GL_LEQUAL
shadowTextureMode GL_LUMINANCE
}
}
}
num_drawables 0
}
}
}
}
}
}
MatrixTransform {
name "id:-202"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
MatrixTransform {
name "id:-203"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
}
}
}
Camera {
UniqueID Camera_60
name "background image"
nodeMask 0xffffffff
cullingActive FALSE
StateSet {
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
}
referenceFrame ABSOLUTE
clearColor 1 1 1 1
clearMask 0x4100
transformOrder PRE_MULTIPLY
ProjectionMatrix {
0.00625 0 0 0
0 0.00833333 0 0
0 0 -1 0
-1 -1 -0 1
}
ViewMatrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
renderOrder PRE_RENDER
renderTargetImplementation FRAME_BUFFER
renderTargetFallback FRAME_BUFFER
drawBuffer 0
readBuffer 0
}
Camera {
UniqueID Camera_61
name "heads up display"
nodeMask 0xffffffff
cullingActive FALSE
StateSet {
DataVariance STATIC
rendering_hint DEFAULT_BIN
renderBinMode INHERIT
GL_LIGHTING OFF
GL_DEPTH_TEST ON
GL_BLEND ON
Depth {
function ALWAYS
writeMask TRUE
range 0 0.0001
}
}
referenceFrame ABSOLUTE
clearColor 0 0 0 1
clearMask 0x0
transformOrder PRE_MULTIPLY
ProjectionMatrix {
0.75 0 0 0
0 1 0 0
0 0 -1 0
-0 -0 -0 1
}
ViewMatrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 -1 1
}
renderOrder POST_RENDER
renderTargetImplementation FRAME_BUFFER
renderTargetFallback FRAME_BUFFER
drawBuffer 0
readBuffer 0
num_children 2
Group {
UniqueID Group_62
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
Group {
nodeMask 0xffffffff
cullingActive TRUE
num_children 2
MatrixTransform {
name "id:-105"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
MatrixTransform {
name "id:-120"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
}
}
Group {
UniqueID Group_63
nodeMask 0xffffffff
cullingActive TRUE
num_children 1
MatrixTransform {
name "id:-118"
nodeMask 0xffffffff
cullingActive TRUE
referenceFrame RELATIVE
Matrix {
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
}
}
}
}
}
}
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org