Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- run:
- Oct 31, 2013 10:56:51 AM com.jme3.system.JmeDesktopSystem initialize
- INFO: Running on jMonkeyEngine 3.0.0 RC2
- Oct 31, 2013 10:56:52 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
- INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
- Oct 31, 2013 10:56:52 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
- INFO: Adapter: igdumdim64
- Oct 31, 2013 10:56:52 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
- INFO: Driver Version: 10.18.10.3262
- Oct 31, 2013 10:56:52 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
- INFO: Vendor: Intel
- Oct 31, 2013 10:56:52 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
- INFO: OpenGL Version: 3.2.0 - Build 10.18.10.3262
- Oct 31, 2013 10:56:52 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
- INFO: Renderer: Intel(R) HD Graphics 4000
- Oct 31, 2013 10:56:52 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
- INFO: GLSL Ver: 1.50 - Build 10.18.10.3262
- Oct 31, 2013 10:56:52 AM com.jme3.asset.AssetConfig loadText
- WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
- Oct 31, 2013 10:56:52 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
- INFO: Audio Device: OpenAL Soft
- Oct 31, 2013 10:56:52 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
- INFO: Audio Vendor: OpenAL Community
- Oct 31, 2013 10:56:52 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
- INFO: Audio Renderer: OpenAL Soft
- Oct 31, 2013 10:56:52 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
- INFO: Audio Version: 1.1 ALSOFT 1.15.1
- Oct 31, 2013 10:56:52 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
- INFO: AudioRenderer supports 64 channels
- Oct 31, 2013 10:56:52 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
- INFO: Audio effect extension version: 1.0
- Oct 31, 2013 10:56:52 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
- INFO: Audio max auxilary sends: 4
- Oct 31, 2013 10:56:52 AM com.jme3.renderer.lwjgl.LwjglRenderer updateShaderSourceData
- WARNING: Bad compile of:
- 1 #define HAS_COLOR 1
- 2 #ifdef NUM_BONES
- 3
- 4 #if NUM_BONES < 1 || NUM_BONES > 255
- 5 #error NUM_BONES must be between 1 and 255.
- 6 #endif
- 7
- 8 #define NUM_WEIGHTS_PER_VERT 4
- 9
- 10 attribute vec4 inHWBoneWeight;
- 11 attribute vec4 inHWBoneIndex;
- 12 uniform mat4 m_BoneMatrices[NUM_BONES];
- 13
- 14 void Skinning_Compute(inout vec4 position){
- 15 if (inHWBoneWeight.x != 0.0) {
- 16 #if NUM_WEIGHTS_PER_VERT == 1
- 17 position = m_BoneMatrices[int(inHWBoneIndex.x)] * position;
- 18 #else
- 19 mat4 mat = mat4(0.0);
- 20 mat += m_BoneMatrices[int(inHWBoneIndex.x)] * inHWBoneWeight.x;
- 21 mat += m_BoneMatrices[int(inHWBoneIndex.y)] * inHWBoneWeight.y;
- 22 mat += m_BoneMatrices[int(inHWBoneIndex.z)] * inHWBoneWeight.z;
- 23 mat += m_BoneMatrices[int(inHWBoneIndex.w)] * inHWBoneWeight.w;
- 24 position = mat * position;
- 25 #endif
- 26 }
- 27 }
- 28
- 29 void Skinning_Compute(inout vec4 position, inout vec3 normal){
- 30 if (inHWBoneWeight.x != 0.0) {
- 31 #if NUM_WEIGHTS_PER_VERT == 1
- 32 position = m_BoneMatrices[int(inHWBoneIndex.x)] * position;
- 33 normal = (mat3(m_BoneMatrices[int(inHWBoneIndex.x)][0].xyz,
- 34 m_BoneMatrices[int(inHWBoneIndex.x)][1].xyz,
- 35 m_BoneMatrices[int(inHWBoneIndex.x)][2].xyz) * normal);
- 36 #else
- 37 mat4 mat = mat4(0.0);
- 38 mat += m_BoneMatrices[int(inHWBoneIndex.x)] * inHWBoneWeight.x;
- 39 mat += m_BoneMatrices[int(inHWBoneIndex.y)] * inHWBoneWeight.y;
- 40 mat += m_BoneMatrices[int(inHWBoneIndex.z)] * inHWBoneWeight.z;
- 41 mat += m_BoneMatrices[int(inHWBoneIndex.w)] * inHWBoneWeight.w;
- 42 position = mat * position;
- 43
- 44 mat3 rotMat = mat3(mat[0].xyz, mat[1].xyz, mat[2].xyz);
- 45 normal = rotMat * normal;
- 46 #endif
- 47 }
- 48 }
- 49
- 50 void Skinning_Compute(inout vec4 position, inout vec3 tangent, inout vec3 normal){
- 51 if (inHWBoneWeight.x != 0.0) {
- 52 #if NUM_WEIGHTS_PER_VERT == 1
- 53 position = m_BoneMatrices[int(inHWBoneIndex.x)] * position;
- 54 tangent = m_BoneMatrices[int(inHWBoneIndex.x)] * tangent;
- 55 normal = (mat3(m_BoneMatrices[int(inHWBoneIndex.x)][0].xyz,
- 56 m_BoneMatrices[int(inHWBoneIndex.x)][1].xyz,
- 57 m_BoneMatrices[int(inHWBoneIndex.x)][2].xyz) * normal);
- 58 #else
- 59 mat4 mat = mat4(0.0);
- 60 mat += m_BoneMatrices[int(inHWBoneIndex.x)] * inHWBoneWeight.x;
- 61 mat += m_BoneMatrices[int(inHWBoneIndex.y)] * inHWBoneWeight.y;
- 62 mat += m_BoneMatrices[int(inHWBoneIndex.z)] * inHWBoneWeight.z;
- 63 mat += m_BoneMatrices[int(inHWBoneIndex.w)] * inHWBoneWeight.w;
- 64 position = mat * position;
- 65
- 66 mat3 rotMat = mat3(mat[0].xyz, mat[1].xyz, mat[2].xyz);
- 67 tangent = rotMat * tangent;
- 68 normal = rotMat * normal;
- 69 #endif
- 70 }
- 71 }
- 72
- 73 #endif
- 74
- 75 uniform mat4 g_WorldViewProjectionMatrix;
- 76 attribute vec3 inPosition;
- 77
- 78 #if defined(HAS_COLORMAP) || (defined(HAS_LIGHTMAP) && !defined(SEPARATE_TEXCOORD))
- 79 #define NEED_TEXCOORD1
- 80 #endif
- 81
- 82 attribute vec2 inTexCoord;
- 83 attribute vec2 inTexCoord2;
- 84 attribute vec4 inColor;
- 85
- 86 varying vec2 texCoord1;
- 87 varying vec2 texCoord2;
- 88
- 89 varying vec4 vertColor;
- 90
- 91 void main(){
- 92 #ifdef NEED_TEXCOORD1
- 93 texCoord1 = inTexCoord;
- 94 #endif
- 95
- 96 #ifdef SEPARATE_TEXCOORD
- 97 texCoord2 = inTexCoord2;
- 98 #endif
- 99
- 100 #ifdef HAS_VERTEXCOLOR
- 101 vertColor = inColor;
- 102 #endif
- 103
- 104 vec4 modelSpacePos = vec4(inPosition, 1.0);
- 105 #ifdef NUM_BONES
- 106 Skinning_Compute(modelSpacePos);
- 107 #endif
- 108 gl_Position = g_WorldViewProjectionMatrix * modelSpacePos;
- 109 }
- Oct 31, 2013 10:56:52 AM com.jme3.app.Application handleError
- SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
- com.jme3.renderer.RendererException: compile error in:ShaderSource[name=Common/MatDefs/Misc/Unshaded.vert, defines, type=Vertex, language=GLSL100] error:WARNING: -1:65535: '#version' : version number deprecated in OGL 3.0 forward compatible context driver
- ERROR: 0:75: '' : syntax error: #version is mandatory and should be set before any other token
- ERROR: 0:? : 'pre-mature EOF' : syntax error syntax error
Advertisement
Add Comment
Please, Sign In to add comment