FluidImporter free .obj importer Beta 1.0.5 Updated
-
@tig said:
@whoa said:
Hello
I just installed your importer and I have no issue importing the .obj file, however I am not getting any textures?
Everything is just gray. I received the files from a furniture company, 4 seperate folders with several .obj files + .mtl and some jpgs that I guess are the textures. How do I add these into sketchup onto the objects?Thank you
You can read OBJ and MTL files in Notepad or equivalent.
The OBJ file defines the MTL file by name mtllib xxx.mtl.
The OBJ file usually expects the MTL file to be in the same folder as itself.
The MTL file defines materials.
They can be simple plain color like this (Kd values as %s =~[170,170,170]=~'mid-gray')
newmtl Color_003
Ka 0.000000 0.000000 0.000000
Kd 0.666667 0.666667 0.666667
Ks 0.000000 0.000000 0.000000
d 1.000000
or with a texture specified by an image-file it is like this
newmtl Wood_Floor
Ka 0.000000 0.000000 0.000000
Kd 0.607843 0.411765 0.239216
Ks 0.000000 0.000000 0.000000
d 1.000000
map_Kd MyModel/Wood_Floor.jpg
In this example the MTL file is expecting to find that material's texture's image-file called Wood_Floor.jpg in a subfolder that's in the MTL file's folder, that's named MyModel.
Note that many OBJ exporters use an image subfolder, but some do not - in that case the line might read
map_Kd Wood_Floor.jpg
and then the textures' image files should be in the same folder as the MTL file itself...
If an OBJ importer can't find the image file it usually skips using it, and just uses the color specified for the material - in the case of 'Wood_Floor' this would be an RGB color based on the Kd values, as percentages of 255 =~[155,105,61]=~'mid-brown'...Note that the 'd' value is the opacity: where 1.000000 is solid and 0.500000 is 50% transparent etc... So you can adjust these prior to import if desired...
Thank you so much TIG you just saved me from hours of trying to fix up the textures as normally happens when i try a new importer/exporter Thanks a bunch
BTW for anyone who also has this problem, my .OBJ said
mtllib C:\......\*wheremyModelIs*\test.mtl
I changed it tomtllib test.mtl
- took off the directory data and it worked like a charm -
Hi there,
I tried to download the fluidimporter, but the website gives back a 500 error.
I couldn't find a mirror to download it. Is there someone who would send it to me or give me an available link ?
Thanks
-
Hi,
It should be fixed now.
Nicola
-
hmm... We're having a tab bit of trouble importing a terrain mesh we've made... We keep running out of memory...
The file size on the obj file is 374mb.
Any solutions?If importer cant be solved for it... any other way to get it into sketchup (perhaps in pieces?)
Not sure about the polygon count, but its a large number. Probably somewhere around 2m.
-
All i can say is try poly cruncher or deep exploration beforehand.
That's a pretty large .obj which probably increases inside SU also. Best of luck with it
-
poly cruncher is a bit useless since the goal is to have a complex 3D terrain mesh, and deep exploration would not work... (wrong processor)
any way to chop up a 3D mesh into smaller segments?
-
hmm... figured out the lack of cooperation... tried to import far too large meshes... worked better when going for a smaller mesh.
-
Hello, i tried the FluidImporter, and saddly, even for a simple cub i got a google sketchup 8 crach whatever i'am choosing as import option.
Does it because i'am using a 64bit window ?
Any help possible ?
thanks ^^
-
What app are you using to make the .obj file?
I find this plugin very robust in most cases.
-
I made thoses obj in the Cryengine 3.
I tried the Trial of the simlab soft Obj importer, and that work correctly except for the scale. and i only have problem with thoses ones.
-
You get to choose the units for the OBJ file as you import it, so there is no 'scale issue', just PEBCAC!
-
Trying to figure out what the first 'C' is?
I hope it's not what I'm thinking!
-
Problem Exists Between Computer And Chair
-
@tig said:
You get to choose the units for the OBJ file as you import it, so there is no 'scale issue', just PEBCAC!
Well yes, but the problem is that the simlab importer tool have a 30 import limit and well, for just a personal and occasional use.. thats not so nice having to pay it.
After the other free Obj Importer didnt work at all with thoses object. Your didnt import anything, and the fluidImporter crash all the time ( at least with .obj coming from the CryEngine3, didnt try .obj coming from other soft. )
-
Do you have a small example OBJ we could look at.
Some exporters do make an unusual format...
Did you try taking it into another Application and then export out again before the SKP? -
fluidimporter doesn't work for me!
(works fine only in a in a previous installation of o.s.)i try su7, su8, su8pro trial...
-
@snorky said:
fluidimporter doesn't work for me!
(works fine only in a in a previous installation of o.s.)i try su7, su8, su8pro trial...
How doesn't it work?
It's very frustrating for developers to be told something doesn't work, but then give no clues as to the issue[s]...
Does it appear on the Import menu list of types?
Does it open a dialog for options?
Does it run?
Does it do anything at all?
Is the imported object not as expected?
Does it take a long time to process?
Does Sketchup crash/bugsplat?
If you open the Ruby Console before running the importer are there any error messages?
Can you successfully open this OBJ file in another app like Blender?
Are the OBJ/MTL files together and any textures in the folder as specified in the MTL?You see there are many questions unanswered...
-
you're right, sorry!
simply did not appear *. obj on the list of import formats ...
I do not know what else to explain the problem.only now it is on the list
mystery
(translated by google)
-
Just tried to download fluidimporter. Web page comes back with an error Internal Server Error.
-
pmolsen
Worked fine for me just now.
I'd PM you the zip BUT it's 11Mb...
Advertisement