![]() |
|
#1
|
||||
|
||||
|
I have a quartz patch which imports a .dae mesh using the mesh importer and is rendered using the mesh renderer. It all worked fine on my macbook pro running osx 10.6.8 but when I moved the files to a mac pro running lion my mesh doesn't display. The mesh was created with blender and has a uv texture.
Any clues? thanks |
|
#2
|
||||
|
||||
|
I've re-exported the mesh from blender without the uv and it does appear in quartz, any suggestions on how to resolve it?
|
|
#3
|
||||
|
||||
|
Hi Mowgli, have/had the same problems with .dae files on lion 10.7.4. I tested them also with vades v002 Model Importer, but the textures were not loaded.
My Quartz Composer Files were produced on Snow Leopard 10.6.8 and rendered the .dae Meshes with the mesh renderer without problems. Here my quick and dirty solution that works for me: open the .dae file with Photoshop extended (CS5 - 6) and export the Mesh from there. Here the Quartz Composer Error Logfile (.dae file from blender 2.63a and mesh renderer): 13:41:22.334 ["dummy_model" @ "Lighting"] > Mesh initialization at path "/Users/xxx/xxx/dummy_model.dae" failed 13:41:34.077 ["Macro Patch" @ "(null)"] > Rendering terminated on <QCOpenGLContext = 0x7fc3944f66e0 | 0 rendering patches> 13:42:00.500 ["dummy_model" @ "Lighting"] > Error creating scene from file /Users/xxx/xxx/dummy_model.dae: Error Domain=NSCocoaErrorDomain Code=259 "The COLLADA file _dummy_model.dae_ could not be opened." UserInfo=xxx {NSLocalizedRecoverySuggestion=The document does not appear to be a valid COLLADA file. Please check that is has not been corrupted., NSURL=file://localhost//Users/xxx/xxx/dummy_model.dae, SCNDetailedErrorsKey=( "Error Domain=SCNKitErrorDomain Code=1005 \"Could not load the scene\" UserInfo=xxx {NSLocalizedDescription=Could not load the scene, NSLocalizedRecoverySuggestion=The document does not appear to be a valid COLLADA file. Please check that is has not been corrupted., SCNConsistencyLineNumberErrorKey=491, NSLocalizedFailureReason=Element '{http://www.collada.org/2005/11/COLLADASchema}profile_GLSL', attribute 'platform': The attribute 'platform' is not allowed.\n}", "Error Domain=SCNKitErrorDomain Code=1005 \"Could not load the scene\" UserInfo=xxx {NSLocalizedDescription=Could not load the scene, NSLocalizedRecoverySuggestion=The document does not appear to be a valid COLLADA file. Please check that is has not been corrupted., SCNConsistencyLineNumberErrorKey=502, NSLocalizedFailureReason=Element '{http://www.collada.org/2005/11/COLLADASchema}shader', attribute 'stage': [facet 'enumeration'] The value 'VERTEX' is not an element of the set {'VERTEXPROGRAM', 'FRAGMENTPROGRAM'}.\n}", "Error Domain=SCNKitErrorDomain Code=1005 \"Could not load the scene\" UserInfo=xxx {NSLocalizedDescription=Could not load the scene, NSLocalizedRecoverySuggestion=The document does not appear to be a valid COLLADA file. Please check that is has not been corrupted., SCNConsistencyLineNumberErrorKey=502, NSLocalizedFailureReason=Element '{http://www.collada.org/2005/11/COLLADASchema}shader', attribute 'stage': 'VERTEX' is not a valid value of the atomic type '{http://www.collada.org/2005/11/COLLADASchema}glsl_pipeline_stage'.\n}", "Error Domain=SCNKitErrorDomain Code=1005 \"Could not load the scene\" UserInfo=xxx {NSLocalizedDescription=Could not load the scene, NSLocalizedRecoverySuggestion=The document does not appear to be a valid COLLADA file. Please check that is has not been corrupted., SCNConsistencyLineNumberErrorKey=505, NSLocalizedFailureReason=Element '{http://www.collada.org/2005/11/COLLADASchema}name': 'My vertex shader' is not a valid value of the atomic type 'xs:NCName'.\n}", "Error Domain=SCNKitErrorDomain Code=1005 \"Could not load the scene\" UserInfo=xxx {NSLocalizedDescription=Could not load the scene, NSLocalizedRecoverySuggestion=The document does not appear to be a valid COLLADA file. Please check that is has not been corrupted., SCNConsistencyLineNumberErrorKey=510, NSLocalizedFailureReason=Element '{http://www.collada.org/2005/11/COLLADASchema}shader', attribute 'stage': [facet 'enumeration'] The value 'FRAGMENT' is not an element of the set {'VERTEXPROGRAM', 'FRAGMENTPROGRAM'}.\n}", "Error Domain=SCNKitErrorDomain Code=1005 \"Could not load the scene\" UserInfo=xxx {NSLocalizedDescription=Could not load the scene, NSLocalizedRecoverySuggestion=The document does not appear to be a valid COLLADA file. Please check that is has not been corrupted., SCNConsistencyLineNumberErrorKey=510, NSLocalizedFailureReason=Element '{http://www.collada.org/2005/11/COLLADASchema}shader', attribute 'stage': 'FRAGMENT' is not a valid value of the atomic type '{http://www.collada.org/2005/11/COLLADASchema}glsl_pipeline_stage'.\n}", "Error Domain=SCNKitErrorDomain Code=1005 \"Could not load the scene\" UserInfo=xxx {NSLocalizedDescription=Could not load the scene, NSLocalizedRecoverySuggestion=The document does not appear to be a valid COLLADA file. Please check that is has not been corrupted., SCNConsistencyLineNumberErrorKey=513, NSLocalizedFailureReason=Element '{http://www.collada.org/2005/11/COLLADASchema}name': 'My fragment shader' is not a valid value of the atomic type 'xs:NCName'.\n}" ), NSLocalizedDescription=The COLLADA file _dummy_model.dae_ could not be opened.} 13:42:06.812 ["Macro Patch" @ "(null)"] > Rendering terminated on <QCOpenGLContext = 0x7fc3944f66e0 | 0 rendering patches> Last edited by 3lab_tv; 11th September 2012 at 12:34 PM. |