|
Replies:
15
-
Last Post:
Sep 24, 2008 6:45 AM
by: weipeng
|
|
|
|
|
|
|
Importing models made in Sketchup into Wonderland via Blender
Posted:
Jul 8, 2008 5:33 PM
|
|
|
I've worked out a process to import Sketchup models into Wonderland using Blender as an intermediary conversion tool.
I would post this information to the wiki, but I do not know how to create a new page. If somebody can create me a new page under the "For Content Developers" section entitled "Importing Sketchup Models Into Wonderland", I will better document the process.
The process basically entails the following steps:
1.) Building the model in a specific way, then exporting from the free version of Google Sketchup as a .KMZ file. (My Sketchup model had to be scaled to .05 in order for it to import correctly - otherwise it was ginormous.)
2.) The KMZ file is then renamed as a zip archive (FWIW, a KMZ file is just a ZIP file with some textures and a Collada DAE file).
3.) Then the ZIP archive is extracted and, using Blender's Collada 1.4 importer, the Collada DAE file is imported.
4.) After this, the scene is exported as X3D. The X3D file is exported into the folder where the textures reside from step 2.
5.) Then the X3D file is imported into Wonderland either via J3Dfly or using the in-world model import tool.
HTH,
-Matt
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Jul 9, 2008 10:45 AM
in response to: matty_x
|
|
|
Thanks, Matt, I was working on this process and hadn't figured it out.
Michael
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 13, 2008 5:15 PM
in response to: matty_x
|
|
|
I have been trying to generate models with Sketchup and am having problems with the import to Blender step. The import runs and shows that the import was successful but I get no model. The console shows:
FEEDBACK: Illusoft Collada 1.4 Plugin v0.3.159 started The minor version of the file you are using is newer then the plug-in, so errors may occur. scene.link(ob) deprecated! use scene.objects.link(ob) instead FEEDBACK: FINISHED - time elapsed: 0.1 Saved session recovery to /tmp/quit.blend
Blender quit
I have tried this with 2.45, 2.46 and 2.47 Blender versions. Does this path still work for you?
Thanks
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 17, 2008 7:56 AM
in response to: morrisford
|
|
|
I suspect that your model is so big that you cannot see it in Blender... at least, that's my experience. I didn't think the model had imported, when, in fact, it was just so big that it was outside the field of view on my monitor.
I had to scroll out significantly, then select all, and then scale down. I had to scale probably five or six times.
When you've completed scaling, you'll want to lock the transformations so that the collision detection works properly in WL.
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 17, 2008 6:05 PM
in response to: matty_x
|
|
|
Well, if there are models being imported I sure can't find 'em. I'm not any kind of Blender expert so I may be doing something wrong but I can't see anything after import except a coordinate system in the middle of the screen. I have tried a variety of downloaded models both large and small. I have tried several simple models that I created. Nothing.
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 18, 2008 10:25 AM
in response to: morrisford
|
|
|
That's the same experience I had too. I didn't see anything at first. I thought there was nothing there.
I presume this is because Sketchup's units and Blender's units do not correspond one-to-one. An analogy would be that one millimeter in Sketchup is like one meter in Blender.
Try zooming way out (scroll wheel on mouse) and let us know if you see anything.
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 18, 2008 10:59 AM
in response to: matty_x
|
|
|
I scroll in and out to the limits without seeing a model. I found an article about importing into Blender from Sketchup that said to increase the Clip End and Spacing to find an oversize model. I did that without seeing a model.
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 18, 2008 3:44 PM
in response to: morrisford
|
|
|
[nobr]I'm writing a tutorial on how to do this on the wiki. I've got a draft up right now... http://wiki.java.net/bin/view/Javadesktop/ProjectWonderlandContentTipsAndTricks.
I'll be adding screenshots to it shortly.
In the meantime, send me your sketchup model and I'll see if I can see what's up.
matthew DOT schmidt AT gmail DOT com.
-Matt[/nobr]
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 18, 2008 6:26 PM
in response to: matty_x
|
|
|
Ok, I got a sketchup model that I created to import into Blender. I just had to do the scaling as in your explanation. The models that I can't get to work are the models from their 3D Warehouse. I have tried many of those with no luck.
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 22, 2008 9:45 AM
in response to: morrisford
|
|
|
On Thu, 2008-09-18 at 18:26 -0700, wonderland@javadesktop.org wrote: > Ok, I got a sketchup model that I created to import into Blender. I > just had to do the scaling as in your explanation. The models that I > can't get to work are the models from their 3D Warehouse. I have tried > many of those with no luck.
Morris, are you using Sketchup under Linux/Wine?? Or is there a Google Beta hidden somewhere?? Thanx! Got worldbuilder working, and want to start on creating models. Is there a common repository for models to be used in WorldBuilder yet?? That would be good to have incorporated into the nightly builds. Ric
-- ---------------------------------------------------- My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. Linux user# 44256 Sign up at: http://counter.li.org/ https://nuoar.dev.java.net/ Verizon Cell # 434-774-4987
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 18, 2008 6:37 PM
in response to: matty_x
|
|
|
I discovered something interesting with Sketchup. Google offers a free evaluation of Sketchup pro that lasts for 450 minutes or so. Interestingly, this is 450 minutes of running time, not wall clock time. So, a free version could be used to build and save models and the pro version used to open and export.
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 22, 2008 8:23 AM
in response to: matty_x
|
|
|
Great!!!
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 23, 2008 3:10 PM
in response to: matty_x
|
|
|
I cannot see anything in blender after i import the .dae file (.kmz unzipped) no matter how I scale it. Then I try to export it to .x3d format, there is nothing too.
That's why I try vivatystudio, I can get .x3d file directly from .kmz file now. However, wonderland cannot show the proper model (like a pile of random crap).
-vivian
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 23, 2008 5:48 PM
in response to: weipeng
|
|
|
What Sketchup model are you trying to import into Blender? If you are trying to use something from their model repository, there is apparently some type of problem with those models. Possibly too many triangles, but it hasn't been proven yet. Try making a simple model in Sketchup and import that. I got it to work that way.
|
|
|
|
|
|
|
|
Re: Importing models made in Sketchup into Wonderland via Blender
Posted:
Sep 24, 2008 6:45 AM
in response to: matty_x
|
|
|
Yes. If I try a simple model, blender has no problem.
It will be really great if I can use some pretty modes from google sketchup 3d warehouse in Wonderland. Or do you know where I can find free models in .x3d or wonderland world format?
millions of thanks
|
|
|
|
|