PDA

View Full Version : COLLADA Problem when loading LW Models in Torque.



Philly85
03-04-2012, 04:21 AM
Hey know this might be a long shot.

Hey I am using Lightwave to build and texture models etc to go into Torque. I use the normal Export > COLLADA

Lightwave version: 9.6
Torque version: 1.0

Sometimes when I finish a model it crashes on load up, I fixed this before doing it with tri-polys and worked.
I did this model by texturing first then turning into tri poly by clicking triple.

Just done a new model but turned into tri polys with triple first before texturing and it still crashed.

Cannot figure out what I am doing wrong.



Code:
*** LOADING MISSION: levels/Empty Room.mis
*** Stage 1 load
*** Stage 2 load
Resource<TSShape>::create - Error reading 'core/art/shapes/WaterTower.dae'
Failed to create resource: [core/art/shapes/WaterTower.dae]
TSStatic::_createShape() - Unable to load shape: core/art/shapes/WaterTower.dae
TSStatic::onAdd() - Shape creation failed!
115: Register object failed for object tower of class TSStatic.
Resource<TSShape>::create - Error reading 'core/art/shapes/Spaceship.dae'
Failed to create resource: [core/art/shapes/Spaceship.dae]
TSStatic::_createShape() - Unable to load shape: core/art/shapes/Spaceship.dae
TSStatic::onAdd() - Shape creation failed!
130: Register object failed for object (null) of class TSStatic.
Resource<TSShape>::create - Error reading 'core/art/shapes/Turret.dae'
Failed to create resource: [core/art/shapes/Turret.dae]
TSStatic::_createShape() - Unable to load shape: core/art/shapes/Turret.dae
TSStatic::onAdd() - Shape creation failed!
145: Register object failed for object (null) of class TSStatic.
*** Mission loaded
Connect request from:
Connection established 3145
CADD: 3146 local
*** Sending mission load to client: levels/Empty Room.mis
Win32Window::WindowProc - resetting device due to window size change.
GFXPCD3D9Device::reset - depthstencil 1fe67a0 has 2 ref's
--- Resetting D3D Device ---
Mapping string: ServerMessage to index: 0
Mapping string: MsgConnectionError to index: 1
onServerMessage:
Mapping string: MsgLoadInfo to index: 2
onServerMessage:
Win32Window::WindowProc - resetting device due to window size change.
GFXPCD3D9Device::reset - depthstencil 5bcf000 has 2 ref's
--- Resetting D3D Device ---
Mapping string: MsgLoadDescripition to index: 3
onServerMessage:
Mapping string: MsgLoadInfoDone to index: 4
Mapping string: EditorOrbitCameraSelectChange to index: 0
core/scripts/server/commands.cs (152): Unable to find object: '' attempting to call function 'setValidEditOrbitPoint'
core/scripts/server/commands.cs (152): Unable to find object: '' attempting to call function 'setValidEditOrbitPoint'
core/scripts/server/commands.cs (152): Unable to find object: '' attempting to call function 'setValidEditOrbitPoint'
core/scripts/server/commands.cs (152): Unable to find object: '' attempting to call function 'setValidEditOrbitPoint'
onServerMessage:
Mapping string: MsgClientJoin to index: 5
Mapping string: Welcome to a Torque application %1. to index: 6
Mapping string:  Visitor to index: 7
onServerMessage:
+- a: Welcome to a Torque application  Visitor.
Mapping string: MissionStartPhase1 to index: 8
*** New Mission: levels/Empty Room.mis
*** Phase 1: Download Datablocks & Targets
Mapping string: MissionStartPhase1Ack to index: 1
Mapping string: MissionStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 2
Material - OctahedronMat(1230) - Failed to load normal map ../../../../../Users/Phil/Desktop/water_tower_tan.jpg for stage 0
Material - OctahedronMat(1230) - Failed to load specular map ../../../../../Users/Phil/Desktop/water_tower_tan.jpg for stage 0
Material - OctahedronMat(1230) - Failed to load normal map ../../../../../Users/Phil/Desktop/water_tower_tan.jpg for stage 0
Material - OctahedronMat(1230) - Failed to load specular map ../../../../../Users/Phil/Desktop/water_tower_tan.jpg for stage 0
[FileSystemChangeNotifier::internalNotifyDirChanged] : [/shaders/procedural]
Ghost Always objects received.
[FileSystemChangeNotifier::internalNotifyDirChanged] : [/shaders/procedural]
Mapping string: MissionStartPhase3 to index: 10
Client Replication Startup has Happened!
fxFoliageReplicator - replicated client foliage for 0 objects
Failed to create resource: [levels/Empty Room.mis.decals]
*** Phase 3: Mission Lighting
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 3
Mapping string: MissionStart to index: 11
*** Initial Control Object
Win32Window::WindowProc - resetting device due to window size change.
GFXPCD3D9Device::reset - depthstencil 5b41d00 has 2 ref's
--- Resetting D3D Device ---
C:/Torque/Torque 3D 2009 SDK 1.0/My Projects/Test/game/shaders/common/postFx/edgeaa/edgeDetectP.hlsl(30,13): warning X3550: array reference cannot be used as an l-value; not natively addressable, forcing loop to unroll
[FileSystemChangeNotifier::internalNotifyDirChanged] : [/shaders/procedural]
[FileSystemChangeNotifier::internalNotifyDirChanged] : [/shaders/procedural]
tools/shapeEditor/scripts/shapeEditorGui.cs (143): Unable to find object: 'TSShapeConstructorGroup' attempting to call function 'getCount'
Object mesh "Mesh_Object" has no matching detail ("detail2" has been added automatically)
Error: daeStandardURIResolver::resolveElement() - Failed to resolve file://C:\Torque\Torque%203D%202009%20SDK%201.0/core/art/shapes/WaterTower/WaterTower.dae#Water%20Tower%20UV%20Map_uvmap

Philly85
03-04-2012, 06:14 AM
Can ignore this now guys I have fixed it :D

Just encase anyone wants to know, make sure the model, surface,uv map and uvmap image have the same name.