Issues with texture mapping

Hello all:
I am pretty new to Rhino, but am using it for work to show clients what their project will look like. We are a custom granite fabrication shop. We take photos of the slabs of stone, nest the pieces over the slab photos, and can see a preview of what each piece will look like when cut out of that specific location in the slab. The program we use for this nesting is Slabsmith, and it can only make low quality renders. We would like to be able to use Rhino to have better quality renders, but I am having trouble with the layout exporting properly. In Slabsmith I can put everything together and see the finished colors and textures, but when I export a .glb file into Rhino 8, it messes up the texture. It is putting breaks in the texture in places where there shouldn’t be. How the Slabsmith layout looks is how I need the final render to look. Any tips on how to fix this issue? I am not sure what information is needed, but I will attach photos. Thanks!







Different answer than you were expecting:

(1) These are such simple shapes. I would re-build them with curves and extusions. Then, you will then have far better control over mapping vs. ths current triangular mesh faces.

(2) In fact, you can just split the surface(s) as needed for each slab of granite. Whenever you have a 1:1 surface area to graphic area, it’s fast, obvious, and accurate.

Hi @Gavin_Wheeler
The fault could be either the glb export or import - no way of telling. You could post the glb file so that people can take a look and see if something obvious pops up. Can Slabsmith export other formats? Have you tried importing the glb into another program like eg. Blender to see if that works?
HTH, Jakob

Hi @Gavin_Wheeler

Is the issue the display of the mesh wires once in Rhino or is the mapping of the stone image not what you expected? I see that slabsmith also supports obj, you might want to try that format too. If you post the 3dm file I can try to help more.

Hey Brian, I think the issue is that the texture from Slabsmith is not exporting properly? On the places on the render where you can see the break in texture, you can also see the pattern change that wasn’t in Slabsmith. It looks that that section of the texture has shifted left and right so it no longer aligns like it did when in slabsmith.
Here is the glb, it says the 3dm is too large (39 mb). Is there a way I can compress that?
5287 fireplace.glb (19.7 MB)

Hey Jakob, Here’s the glb. I do not have any other 3d cad programs to test it on unfortunately
5287 fireplace.glb (19.7 MB)



Here is the issue, the red is in Slabsmith and how it should look, the blue is how it is importing. The horizontal banding and shifting is what I am looking at but that may just be a symptom of a different problem.

Hi @Gavin_Wheeler
Here’s how it looks in Blender


As you can see, the error looks to be the same as in Rhino, so my guess is, that the error lies in the export from Slabsmith, not in Rhino’s import. You can try and contact Slabsmith’s support instead, and hear if it’s something they are aware of/have any work-arounds.
HTH, Jakob

Edit: Another piece of software - a file converter - sees the same error, so I’m pretty certain it’s the export that has it wrong:

1 Like

@Gavin_Wheeler The size in the 3dm is from the texture maps so your only possible reduction in this case is to Zip it. The file you shared is good enough though and I agree with Jacob that it looks like an export bug from Slabsmith. You could try the obj format to see if it is any better, that will carry the mesh UVs as well.