Page 1 of 1

Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 6:49 am
by mswf
Well, I've been having several attempts at trying to convert sketchup models for some time now, all without result. The problem I keep running into, is that when I import my model in XSI, I can only view it as a wireframe, as soon as I switch view mode to 'textured', the model turns invisible.
My procedure for converting a model:
1. Make one in Sketchup, making sure all the tubes are un-smoothed and explode all curves/edges when done. (as described in the tutorial)
2. Export as .kmz.
3. Unzip that file, and copy all the textures from the "images folder" to the "models" folder. I've also tried to copy the files in the root of the folder to the models folder.
4. Crosswalk import the .dae model in crosswalk.
5. ending up with no result
This is how the opened-up .kmz folder looks like:

Root (for example, tat_model)
-images (folder)
--texture[0-18].png (meaning there is a texture0.png, texture1.png etc.)
-models (folder)
--model (in this example, tat_model)
-doc.kml:
Hidden/Spoiler:
[code]<?xml version='1.0' encoding='UTF-8'?>
<kml xmlns='http://www.opengis.net/kml/2.2' xmlns:gx='http://www.google.com/kml/ext/2.2' xmlns:kml='http://www.opengis.net/kml/2.2' xmlns:atom='http://www.w3.org/2005/Atom'>
<Folder>
<name>rattatak_factory_1</name>
<description><![CDATA[Created with <a href="http://sketchup.google.com/">Google SketchUp 7.0.10247</a>]]></description>
<DocumentSource>SketchUp</DocumentSource>
<visibility>1</visibility>
<LookAt>
<heading>319.148</heading>
<tilt>52.996</tilt>
<latitude>40.01557441189352</latitude>
<longitude>-105.2802028207255</longitude>
<range>374.8360647643941</range>
<altitude>263.1819667993723</altitude>
</LookAt>
<Folder>
<name>Tour</name>
<Placemark>
<name><![CDATA[Camera]]></name>
<visibility>1</visibility>
<LookAt>
<heading>319.148</heading>
<tilt>52.996</tilt>
<latitude>40.01557441189352</latitude>
<longitude>-105.2802028207255</longitude>
<range>374.8360647643941</range>
<altitude>263.1819667993723</altitude>
</LookAt>
</Placemark>
</Folder>
<Placemark>
<name>Model</name>
<description><![CDATA[]]></description>
<Style id='default'>
</Style>
<Model>
<altitudeMode>relativeToGround</altitudeMode>
<Location>
<longitude>-105.283000000000</longitude>
<latitude>40.017000000000</latitude>
<altitude>0.000000000000</altitude>
</Location>
<Orientation>
<heading>-0.000000000000</heading>
<tilt>0</tilt>
<roll>0</roll>
</Orientation>
<Scale>
<x>1.0</x>
<y>1.0</y>
<z>1.0</z>
</Scale>
<Link>
<href>models/rattatak_factory_1.dae</href>
</Link>
</Model>
</Placemark></Folder>
</kml>[/code]
-textures.txt:
Hidden/Spoiler:
[code]<../images/texture0.png> <../images/texture0.png>
<../images/texture1.png> <../images/texture1.png>
<../images/texture10.png> <../images/texture10.png>
<../images/texture11.png> <../images/texture11.png>
<../images/texture12.png> <../images/texture12.png>
<../images/texture13.png> <../images/texture13.png>
<../images/texture14.png> <../images/texture14.png>
<../images/texture15.png> <../images/texture15.png>
<../images/texture16.png> <../images/texture16.png>
<../images/texture17.png> <../images/texture17.png>
<../images/texture18.png> <../images/texture18.png>
<../images/texture2.png> <../images/texture2.png>
<../images/texture3.png> <../images/texture3.png>
<../images/texture4.png> <../images/texture4.png>
<../images/texture5.png> <../images/texture5.png>
<../images/texture6.png> <../images/texture6.png>
<../images/texture7.png> <../images/texture7.png>
<../images/texture8.png> <../images/texture8.png>
<../images/texture9.png> <../images/texture9.png>[/code]
Does anyone have any ideas?

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 8:29 am
by Commander_Fett
I don't know if you need to do this, but did you try putting the text docs in the model folder as well?

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 9:18 am
by mswf
Yes, I did.

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 2:05 pm
by FragMe!
It might also be XSI doesn't recognize .png as a texture. Try changing one of the textures to tga or jpg or even bmp, but tga would be the best choice as that is what the games uses.

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 2:06 pm
by trainmaster611
Here's a nifty OBJ exporter plugin:

http://sketchuptips.blogspot.com/2009/0 ... rials.html

Download the ObjExporter.rb and then put it in Google Sketchup 7\Plugins. Then open your model in sketchup and click plugin > ObjExporter, choose your options (which includes allowing you to export your mapping) and voila, an obj!

I dunno if this technique will give you a different result but I think it's worth a shot.

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 2:35 pm
by mswf
trainmaster611 wrote:Here's a nifty OBJ exporter plugin:

http://sketchuptips.blogspot.com/2009/0 ... rials.html

Download the ObjExporter.rb and then put it in Google Sketchup 7\Plugins. Then open your model in sketchup and click plugin > ObjExporter, choose your options (which includes allowing you to export your mapping) and voila, an obj!

I dunno if this technique will give you a different result but I think it's worth a shot.
Thanks for the reply, but I've already tried that one. It resulted in me ending up with a folder, containing all the textures + a .x file (??? I was all like WUT)

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 2:37 pm
by trainmaster611
mswf wrote:
trainmaster611 wrote:Here's a nifty OBJ exporter plugin:

http://sketchuptips.blogspot.com/2009/0 ... rials.html

Download the ObjExporter.rb and then put it in Google Sketchup 7\Plugins. Then open your model in sketchup and click plugin > ObjExporter, choose your options (which includes allowing you to export your mapping) and voila, an obj!

I dunno if this technique will give you a different result but I think it's worth a shot.
Thanks for the reply, but I've already tried that one. It resulted in me ending up with a folder, containing all the textures + a .x file (??? I was all like WUT)
You downloaded the wrong file. The first link leads you to a .x exporter. The one below makes an obj file.

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 2:47 pm
by mswf
Okay, that does explain a lot.
[offtopic] What is a .x file?

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 3:11 pm
by Null_1138
I want to say DirectX.

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Jul 25, 2009 6:52 pm
by AceMastermind
If you use the obj exporter for SketchUp that trainmaster611 linked to then try THIS obj importer for Mod Tool instead of the default one and see if it helps.
mswf wrote:...The problem I keep running into, is that when I import my model in XSI, I can only view it as a wireframe, as soon as I switch view mode to 'textured', the model turns invisible...
Here's a topic someone made on The Area about this same issue:
http://area.autodesk.com/forum/autodesk ... page-last/

EDIT
You can fix this "problem" 2 ways:
1. By giving the object a new material and connecting the appropriate texture
OR
2. By disabling Transparency in the material:
Hidden/Spoiler:
Image

Select your object and open up the Render Tree then click on the material node to open it's properties.
Select the Transparency/Reflection tab then uncheck Enable under Transparency.
Image

You need to make this change to each cluster for your object, the different clusters can be found in the drop down box.
Select a cluster then update the Render Tree to see the nodes for that cluster then follow the the same steps I posted above the second image:
Image

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Aug 01, 2009 3:14 am
by mswf
Okay, seeing how other people are getting their models in the Modtools better than I do, I'm guessing it has to do with my settings.
I've been playing around with them, but since I lack expertise in the programm, I've got no solid idea on which combinations at least should've worked:
.obj exporter plugin for sketchup:
Hidden/Spoiler:
Image
Crosswalk importer from Modtools 7.5:
Hidden/Spoiler:
Image
Could someone with a better understanding of the terms used post his opinion as to which options I should select?
Thank you in advance!
Hidden/Spoiler:
(I know this is a bump, but going to other people's threads with my problems didn't seem to be very nice)

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Aug 01, 2009 9:46 am
by trainmaster611
mswf wrote:Okay, seeing how other people are getting their models in the Modtools better than I do, I'm guessing it has to do with my settings.
I've been playing around with them, but since I lack expertise in the programm, I've got no solid idea on which combinations at least should've worked:
.obj exporter plugin for sketchup:
Hidden/Spoiler:
Image
Crosswalk importer from Modtools 7.5:
Hidden/Spoiler:
Image
Could someone with a better understanding of the terms used post his opinion as to which options I should select?
Thank you in advance!
Hidden/Spoiler:
(I know this is a bump, but going to other people's threads with my problems didn't seem to be very nice)
For the sketchup exporter, I'm tempted to day that you should uncheck guess faces to export and check export front faces (assuming that you made the faces facing towards the right side to begin with).

I don't see any options that should be changed in the XSI importer. Is that the one Ace suggested to you (doesn't look like it)?

Re: Sketchup .kmz in XSI 7.5 conversion problems

Posted: Sat Aug 01, 2009 1:22 pm
by Eaol
Ok man, now I have a new problem: When on textured view, I get this really weird texture effect where everything is either black or gray or blended between those colors. And other than that, there are no textures visible. :faint: :cpu: :(