/usr/share/Coin/draggerDefaults/directionalLightDragger.iv is in libcoin80-runtime 3.1.4~abc9f50+dfsg3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | #Inventor V2.1 ascii
# Standard common material definitions.
DEF DIRECTIONALLIGHT_INACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0.5 emissiveColor 0.5 0.5 0.5 }
DEF DIRECTIONALLIGHT_ACTIVE_MATERIAL Material { diffuseColor 0.5 0.5 0 emissiveColor 0.5 0.5 0 }
# Duplicates the inactive material. Don't "optimize" away this by
# referencing the DIRECTIONALLIGHT_INACTIVE_MATERIAL instance, as that
# would be unsecure in case of userdefined geometries.
DEF directionalLightOverallMaterial Material { diffuseColor 0.5 0.5 0.5 emissiveColor 0.5 0.5 0.5 }
DEF DIRECTIONALLIGHT_ARROW Separator {
# Orient along negative Z axis.
Rotation { rotation 1 0 0 -1.57 }
Coordinate3 { point [ 0 0 0, 0 9 0 ] }
IndexedLineSet { coordIndex [ 0, 1, -1 ] }
Translation { translation 0 10 0 }
Cone { }
Translation { translation 0 -11 0 }
Cone { bottomRadius 0.1 }
}
DEF directionalLightRotatorRotator Separator {
USE DIRECTIONALLIGHT_INACTIVE_MATERIAL
USE DIRECTIONALLIGHT_ARROW
}
DEF directionalLightRotatorRotatorActive Separator {
USE DIRECTIONALLIGHT_ACTIVE_MATERIAL
USE DIRECTIONALLIGHT_ARROW
}
DEF directionalLightRotatorFeedback Separator { }
DEF directionalLightRotatorFeedbackActive Separator { }
DEF directionalLightTranslatorPlaneTranslator Separator {
USE DIRECTIONALLIGHT_INACTIVE_MATERIAL
Sphere { }
}
DEF directionalLightTranslatorPlaneTranslatorActive Separator {
USE DIRECTIONALLIGHT_ACTIVE_MATERIAL
Sphere { }
}
DEF DIRECTIONALLIGHT_TRANSLATE_AXIS Group {
Rotation { rotation 0 0 1 1.57 }
Cylinder { height 3 radius 0.2 }
}
DEF directionalLightTranslatorLineTranslator Separator {
USE DIRECTIONALLIGHT_INACTIVE_MATERIAL
USE DIRECTIONALLIGHT_TRANSLATE_AXIS
}
DEF directionalLightTranslatorLineTranslatorActive Separator {
USE DIRECTIONALLIGHT_ACTIVE_MATERIAL
USE DIRECTIONALLIGHT_TRANSLATE_AXIS
}
|