SketchUp?
by Patrick Shaw · in Collada Test · 03/17/2009 (7:00 am) · 6 replies
Hi all,
I decided to test out exporting Collada files from SketchUp. I created a box, applied a material, tried following the directions from the "Collada Overview" document. When I try to load the file in Torque Collada Test, I get the following message:
Has anyone else tried export from SketchUp yet?
I decided to test out exporting Collada files from SketchUp. I created a box, applied a material, tried following the directions from the "Collada Overview" document. When I try to load the file in Torque Collada Test, I get the following message:
[Win32FileSystemChangeNotifier::internalAddNotification] : failed on [C:\Torque\Torque Collada Test 1.0\scriptsAndAssets\data\shapes\collada\sketchUp_box\models] [3] Failed to create resource: [scriptsAndAssets/data/shapes/collada/sketchUp_box/models/sketchUp_box.dae] TSStatic::onAdd: unable to load shape: scriptsAndAssets/data/shapes/collada/sketchUp_box/models/sketchUp_box.dae tools/missionEditor/scripts/editors/creator.ed.cs (296): Register object failed for object (null) of class TSStatic.
Has anyone else tried export from SketchUp yet?
#2
Thanks. My test box now loads, but the texture is all grey. Is this related to the transparency being inverted on the texture (not the material) or something else?
03/18/2009 (6:44 am)
Chris,Thanks. My test box now loads, but the texture is all grey. Is this related to the transparency being inverted on the texture (not the material) or something else?
#3
What does the generated materials.cs file look like? Any warnings/errors in the console log?
Feel free to email the model (kmz) that is causing the problem and I'll take a look.
03/18/2009 (7:10 pm)
The colour wouldn't be related to the Sketchup transparency bug, no.What does the generated materials.cs file look like? Any warnings/errors in the console log?
Feel free to email the model (kmz) that is causing the problem and I'll take a look.
#4
Setting <transparent> "opaque" attribute to RGB_ZERO for material_0_1_0-effect <effect>
Note: I've noticed that sometimes if save and reload the mission file, the box isn't grey, but is instead covered by the "missing material" texture.
I can't find your email address. Here's the exported collada file:
Sketchup Box
Thanks!
03/19/2009 (5:50 am)
The first time the model is loaded, I get the following error:Setting <transparent> "opaque" attribute to RGB_ZERO for material_0_1_0-effect <effect>
Note: I've noticed that sometimes if save and reload the mission file, the box isn't grey, but is instead covered by the "missing material" texture.
I can't find your email address. Here's the exported collada file:
Sketchup Box
Thanks!
#5
Google says I have insufficient privileges to access that file. My email is in my profile.
03/19/2009 (3:18 pm)
Hi Patrick,Google says I have insufficient privileges to access that file. My email is in my profile.
#6
1. went to google earth and took a snapshot of an entire city
2. layed out the snapshot as a texture in sketchup
3. made all buildings
4. made components
5. saved
6. exported using .kmz to the art folder in my project
- first problem (would crash when importing
7. my solution was first shrinking the entire file in sketchup because they imported way to large.
then i seperated the components into eight parts.and imported each one.
8. now i have an extremely huge city imported onto the game world and it looks awesome so far.
10/07/2009 (12:34 pm)
I am also using sketchup and created an entire city here are my steps used.1. went to google earth and took a snapshot of an entire city
2. layed out the snapshot as a texture in sketchup
3. made all buildings
4. made components
5. saved
6. exported using .kmz to the art folder in my project
- first problem (would crash when importing
7. my solution was first shrinking the entire file in sketchup because they imported way to large.
then i seperated the components into eight parts.and imported each one.
8. now i have an extremely huge city imported onto the game world and it looks awesome so far.
Associate Chris Robertson
There's currently an issue with loading files from inside zip archives. For now, just unzip the kmz file (using WinZip or similar) and all should work fine.