FluidImporter free .obj importer Beta 1.0.5 Updated
-
To import materials associated with an OBJ file you need the matching MTL file.
These files are readable when opened in a plain-text editor like Notepad.exe.
Near the start of the OBJ code [let's assume it's calledFilename.obj
] there is a line specifying the MTL - saying something likemtllib Filename.mtl
.
This MTL file should be in the same folder as the OBJ file, unless the line of code specifies a subfolder.
The MTL file defines all material e.g. namenewmtl WoodColor
, colorKd 0.890196 0.882353 0.870588
, transparencyd 1.000000
etc.
If a specified material uses a texture then the name of its image file is given in the material's MTL code on a line starting withmap_Kd
.
If there is a folder-path [given as sayTextures**/**oak.png
] then the image file is expected to be in that subfolder, that is itself in the MTL file's folder; however, if there is no subfolder given in the path then the image file is expected to be in the MTL file's own folder.The Importer is not clairvoyant - it can only work with the data in the file[s] that you give it.
The most common reason for 'missing materials' is that they are simply missing! -
@tig said:
To import materials associated with an OBJ file you need the matching MTL file.
These files are readable when opened in a plain-text editor like Notepad.exe.
Near the start of the OBJ code [let's assume it's calledFilename.obj
] there is a line specifying the MTL - saying something likemtllib Filename.mtl
.
This MTL file should be in the same folder as the OBJ file, unless the line of code specifies a subfolder.
The MTL file defines all material e.g. namenewmtl WoodColor
, colorKd 0.890196 0.882353 0.870588
, transparencyd 1.000000
etc.
If a specified material uses a texture then the name of its image file is given in the material's MTL code on a line starting withmap_Kd
.
If there is a folder-path [given as sayTextures**/**oak.png
] then the image file is expected to be in that subfolder, that is itself in the MTL file's folder; however, if there is no subfolder given in the path then the image file is expected to be in the MTL file's own folder.The Importer is not clairvoyant - it can only work with the data in the file[s] that you give it.
The most common reason for 'missing materials' is that they are simply missing!I have the .OBJ .MTL and .TGA I have opened both the .OBJ and the .MTL withe Notepad and all paths and file names are set correctly but the textures I have tried ataching a .ZIP archive with the files attached to yesterday's post and this post but it will not work I will upload it to a different site later today
-
Perhaps it's the TGA image format that's unsuitable ?
Try moving the origin of the TGA to top-left and re-saving... and/or having no TGA RLE-compression in the image [Gimp it].
If a TGA file's format is not suitable for use in a SKM texture it will fail.
I have just maually replicated this error by trying to use a bottom-left/RLE-compressed TGA as a texture - it fails... because there is no suitable image file specified...Alternatively try making PNG versions of the files [with Gimp] and editing the MTL file to look for .PNG not .TGA file names...
See if these ideas works...
-
@tig said:
Perhaps it's the TGA image format that's unsuitable ?
Try moving the origin of the TGA to top-left and re-saving... and/or having no TGA RLE-compression in the image [Gimp it].
If a TGA file's format is not suitable for use in a SKM texture it will fail.
I have just maually replicated this error by trying to use a bottom-left/RLE-compressed TGA as a texture - it fails... because there is no suitable image file specified...Alternatively try making PNG versions of the files [with Gimp] and editing the MTL file to look for .PNG not .TGA file names...
See if these ideas works...
Tried converting to the .TGA to a .PNG it converted fine but still the textures do not import. I do not know what GIMP is so I can't try the first one I have uploaded the files now (you can get them here: http://testsite21.weebly.com/uploads/5/5/0/6/5506080/sketchucation_trimble_sktechup_.obj_error.zip) if you could try and import them and send me the .SKP it would be extremely appreciated I did change it to PNG but I changed it back to .TGA I have included the .PNG in the zip still though.
-
The MTL path is 'absolute' NOT relative
map_Kd **C:\**london_map.tga
etc
For the code to find the image it must either be in the root of the drive [bad idea] or in the same folder as the MTL, so edit it to read
map_Kd london_map.tga
etc
Can't guarantee the TGA file is 'good' but we won't know until you set the paths right... -
@tig said:
The MTL path is 'absolute' NOT relative
map_Kd **C:\**london_map.tga
etc
For the code to find the image it must either be in the root of the drive [bad idea] or in the same folder as the MTL, so edit it to read
map_Kd london_map.tga
etc
Can't guarantee the TGA file is 'good' but we won't know until you set the paths right...I put the files in the root of the drive.
-
But... why ???
Keep them with the MTL file where they belong, and change the path to a relative path inside the MTL file's code.
Not even sure that a \ works in MTL absolute paths - it should be a / ???
The originator needs shooting for making the MTL file that way in the first place...Does it work ?
Either way ??Have you tried fixing the TGA file otherwise ???
-
@tig said:
But... why ???
Keep them with the MTL file where they belong, and change the path to a relative path inside the MTL file's code.
Not even sure that a \ works in MTL absolute paths - it should be a / ???
The originator needs shooting for making the MTL file that way in the first place...Does it work ?
Either way ??Have you tried fixing the TGA file otherwise ???
Fixed the problem by changing
map_Kd C:\london_map.tga
to
map_Kd london_map.tga
-
Hi, I want to uninstall the FluidImporter,
but I use revoUninstaller to do the job,
but revo is make a mistake, it even bold the vray registry to be deleted so i skip the registry deletion and i found this to verify if i can delete these 3 files:are those fluidimporter files? is it save if I delete them?
coz fluidimporter is crashes with my vray so vray wont render any image from imported object..
-
Do not remove any of the other Importer's .dll files.
If you have you need to reinstall the affected products...To stop the Fluid-OBJimporter loading simply run its Uninstaller and it will be removed...
-
I have three .OBJ files I'm trying to import. The largest one imports without crashing, but half of all the facets are not filled in, so I can't really change the material.
The other two files (one without an MTL) crash as soon about 2 seconds after starting to parse file.
Here are the files that crash totally. (One isn't zipped...no MTL).
Thanks.
-
-
Try checking that the units size is correct - very small facets cannot be formed in SketchUp.
Some app's make OBJ files in odd ways...
So if that doesn't work try importing it into another app - like Blender: if it is OK it that app, then re-export from that - the new OBJ format might be made more compatible with this SketchUp's importer ? -
@thomthom said:
I'm getting crashes when I try to import an .obj file I got. (120MB)
I've tried different options - triangulate on/off, material on/off - but it bugsplats every time. Memory usage of Sketchup.exe doesn't exceed 300MB.Any ideas?
I am having this very same issue.
-
guys have you tried installing this in su 2013? I tried but I can't see it in file menu, wondering if anyone here installed it successfully inside 2013
-
You haven't completed your User-Profile... OS, version etc ??
Help us to help you...It is Win 32bit, by default it tries to install into the SketchUp 8 Importers folder, you can redirect it to SketchUp 2013, but when it installs the dll it doesn't load as the OBJ importer in the Import list...
I suspect that the author will need to make a v2013 compatible version...Perhaps if you PM him he'll respond...
-
thanks Tig for the reply. yah, sorry about my profile, I will complete them now.
Hope the author of this plugin release some update for 2013. I think this is the best importer for obj in sketchup
thanks Tig
-
I've been in touch with the author...
He will look at a v2013 compliant version...
But don't hold your breath... -
I now always get bugsplat when using the obj importer...
I am on Win7Pro64 SU7
Anyone with the same problem? -
hi, there is a problem on the official page of http://www.fluidray.com/ (Internal Server Error)
an its imposible to download the fluidimporter win 32
please can someone share
thanks in advance
Advertisement