Agisoft mesh from OBJ sees multiple meshes problem

Hi,
V8
Have worked with meshes as OBJ exports from Agisoft for a few years.
The other day I clicked on the mesh after import , so as to use SetObjectDisplayMode as rendered. and a list appeared of which mesh was I wanting. !
I am not wanting a choice, it should be one mesh, and one texture file mapped to it.

I have just imported a tractor, and I am getting two meshes in a list., click another location on it and get three meshes in a list. It should be one, in other words no list appears, I just click and run SetObjectDisplayMode.

I cannot progress…again.

What is going on ?

is it Agisoft at fault or Rhino ?

All I do is say export model. for precision use default 6 today.
try for Precision 4, still get same list.
try for Precision 1, its a shambles, made of squares, still three meshes.

Multiple meshes as a jigsaw is no use to man or beast !

Steve

Is it possible your OBJ import settings have changed? Can you post a screenshot of the settings?

@Steve1 I’ve imported meshes from Agisoft Metachape which came in a multiple meshes. It appears that the meshes were exported by Metashape as a single .obj files with multiple .jpg files containing the texture images. I assume Rhino can only handle one texture image file per mesh object so it splits the mesh into multiple meshes, each with a single image file. (I have not verified this is what is happening.)

When I import meshes into Rhino I check the “Import OBJ groups as Groups” option when appears to result in the split meshes being a group in Rhino.


Of course I have to be careful not to accidentally ungroup the meshes.

The cause of the multiple texture image .jpg files being exported by Metashape is a combination of the size of the mesh, the number of photos Metashape uses the texturing and the “Image downscale” parameter selected when building texture. “x1” results in each texture image pixel corresponding to single photo pixel, “x2” results in each texture image pixel being based on a 2x2 set of photo pixels, etc.

Hi,
So select group and dont ungroup thereafter.
I do create sections then group them whilst I move the mesh and sections around to orientate the mesh, then ungroup once done, sometimes I could keep them grouped…and later on sometimes need to group to mesh lines curves etc I have created., then ungroup to get at the curves for reverse engineering.
I have never had to worry about ungrouping too far.
I need the mesh as just one.
Should I select x1 or x2 for the pages. Not sure which you suggest is best.
I see I had used x1 (~2 pages)
here are the settings in the workflow I use.



In summary..
Just what will make the export behave as 1 mesh in Rhino ?

Cheers

Steve

No guarantees.
In Metashape use an Image downscale setting which results in 1 page, possible x4 or x8. This will vary the model.
In Rhino use Import OBJ grous as Groups (not Object names as in your image).

Hi,
trying the first one Rhino, upper choose groups, lower becomes nothing, import, and still two or three meshes.
Now to try the texture make with x4.

Steve

Hi,
..and when making texture in Agisoft, choosing x4 1 page sees one mesh, though it is a tad less quality.
I have had response from Agisoft, they say run selMesh then group, then apply the SetObjectDisplayMode.
I do that and have one mesh to select, it seems to be ok, so will stick with texture x1 (makes 2 or more pages)
SelMesh Group then SetObjectDisplayMode, rendered.

Just need to make sure I never ungroup the mesh.
is there a way of locking that group so when I am ungrouping mesh from curves grouped to it, it never itself gets ungrouped ?

I ungroup and ungroup and keep going at times, not having to worry about ungrouping meshes.

The multiple meshes is what Rhino is doing to work with multiple raster images made during the texture making process, then getting exported in the OBJ make.

Steve

You could put you meshes on a different layer, then lock the layer. Although I don’t know if that will have undesired impact your workflow in other areas.

Hi,
I always have my OBJ on a separate layer. but when i run sections and use them to align and scale the mesh, if the layer was locked I couldnt do that.
I need to group the mesh and lock the grouping of the mesh some other way than locking its layer.

Cheers

Steve

Hi,
Is there a way of grouping these multiple meshes that rhino makes, and locking the grouping to avoid accidental ungrouping, as I draw lines and sections over a mesh, and group them to the mesh, so everything moves with the mesh, for when I scale it or rotate it etc,
I do ungroup items from the mesh for some requirements, then regroup, and I dont want to ungroup the mesh itself !
Locking the layer the mesh is on will deny me the workflow I do with it.

Steve

You can put groups within groups
You can remove objects and groups from groups

RemoveFromGroup
Group | Rhino 3-D modeling

Enable “Snap to locked objects”