What procedure for an fbx as opposed to obj import?

Hi, I have purchased a model from Sketchlab, three download options:-
fbx or usdz or glTF.
I grabbed each pne and downloaded to a folder named for each one.

Unzipped anything then unzipped what came from that etc.

The usdz was a file .usdz and nothing more, nothing to unzip. and Rhino doesnt recognise it when I go file import.

Rhino also doesnt recognise the glTF after unzip. That one did have goodies to unzip. I get scene.glTF
and 4 images
Material0_baseColor.jpeg
Material1_baseColor.jpeg
Material2_baseColor.jpeg
Material3_baseColor.jpeg

File iImport sees nothing in that folder, so .glTF isnt liked by Rhino.

so far sketchlab is providing files Rhino doesnt understand !

so third tike lucky ?

The fbx sees two folders result, sources and textures. in the sources is yet another .zip and unzipped we get an .fbx

sketchfabTemp.obj.fbx

and a folder sketchfabTemp.obj.fbm inside of which are 4 files:-
sketchfabTemp_tex0.jpg
sketchfabTemp_tex1.jpg
sketchfabTemp_tex2.jpg
sketchfabTemp_tex3.jpg

There was also a Textures folder as mentioned. In that we get:-
sketchfabTemp_tex0.jpeg
sketchfabTemp_tex1.jpeg
sketchfabTemp_tex2.jpeg
sketchfabTemp_tex3.jpeg

I create a new file and import the .fbx

at least it sees it !

next I would with an obj go apply texture by object and browse to the single .jpg file. (just one file my photogrammetry prog makes)
here there are 4 of them. How do I know which one belongs to which mesh, as there is more than one mesh in the imported fbx.

I also try for ignoring that step and setting SetObjectDisplayMode to rendered, and I get a dark looking object with textures, but not as daylight looking and detailed as the model shown in Sketchlab. and poor woozy areas.

Help !!

Steve

For an .obj file with textures in .jpg files, there are usemtl lines in the .obj file that contain a reference to materials in a separate .mtl file. The mtl file calls out the .jpg files that go with each usemtl request. Can you find something like a .mtl file in your case?

Can you look inside the .obj.fbx file with a text editor or hex editor and see if it contains usemtl lines? These will be located before the faces section or vertices section.

Hopefully somebody with .fbx file knowledge will respond to your request and give you better advice. I am only familiar with .obj files.

Can you post the .fbx file or provide a link so I can take a look at it?

Regards,
Terry.

Hi,
I have opened the fbx into notepad and done a find for usemtl and it hasnt any.
There are no other files just the fbx and the four jpg files.
As I paid money for the file I am unsure I can go placing it for potential users to also use it.

Cheers

Steve

Hi @Steve1
I take it you are still using Rhino 5? USDZ and glTF both import in V8 (IIRC).
-Jakob

And FBX doesn’t import materials in Rhino. You’ll need to drag and drop the appropriate textures onto the geometries yourself. With just 4 textures, it shouldn’t take long to figure out which texture goes where.
-Jakob

Hi,
I am not ready for v8 yet though.
I have some major testing of dims to do.

Its a sort of landscape, just grasses with old concrete and brick structures within it. its one mesh and selecting it sees some parts go yellow, but nothing that is easily identifiable.

the jpgs are all grasses and bits of concrete,

If it was a table and chairs with a mesh for the table, another for the chairs, another the floor etc that would be easy.

This is going to be many tries until it perhaps looks right. Think myself lucky there are not 20 textures all as grasses and bricks.

If it had instructions and what part to click on and what jpg was for that, that would make sense. I bet even the maker doesnt know, as fbx unlike obj, makes many jpgs to no apparent logic.

I now have tried to PM the author but no means exists on sketchfab. so I click his name and see his website but thats freezing up on make contact. So I go to his companys website using goole and kaspersky declares it a dodgy site, and so it goes on !
I will phone the company…and they are closed, try again tomorrow.

why not use .obj, far simpler. fbx is autodesk, .and a PITA

Steve

could I alter the jpg to a solid colour then see where it gets mapped to when I select it ?

as all are grasses and bricks its a nightmare trying to work out which bit of the mesh is for which jpg.
.what a stupid system ,

give me obj any day.

seller shouldnt be allowed to sell something that is as such.

surely the fbx should know where its jpgs get mapped to.

would a different prog than Rhino auto map them when fbx imported ?

Steve