Forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - michaelRRI

Pages: [1]
1
Python and Java API / Re: transfer_texture ignored
« on: December 11, 2025, 06:34:22 AM »
nm. worked it out. For anyone seeing this, need
Code: [Select]
source_data=Metashape.DataSource.ModelData, to override the default use of ImageData.

NOTE: would think this would be implied when transfer_texture=True. ;)

M

2
Python and Java API / transfer_texture ignored
« on: December 11, 2025, 06:04:41 AM »
Hi,

May be simple question but I am trying to write a script to bake diffuse from one model to another and it seems to always use the images instead of the model.

This is my basic call:
Code: [Select]
chunk.buildTexture(
        texture_size=4096,                                                                   
        source_asset=3,
        transfer_texture=True,
    )

And this is what is returned in console (transfer_texture is absent):
Code: [Select]
2025-12-11 13:59:33 BuildTexture: blending_mode = MosaicBlending, texture_size = 4096, downscale = 2, sharpening = 1, fill_holes = on, ghosting_filter = on, out_of_focus_filter = off, texture_type = Diffuse map, source_asset = 3, enable_gpu = on, relaxed_precision = on
I am using V2.2.2 and have the natural texture mode tweak enabled.

3
Bug Reports / Re: Generate masks from model issue in 2.2
« on: October 23, 2025, 01:55:57 PM »
Thanks Egor. I tried those things and it is still happening.
The clipping does indeed occur from the far side of the model.
I did happen to make a test project of the bug though and submitted as a ticket if you want to follow up there.
Michael

4
Bug Reports / Re: Generate masks from model issue in 2.2
« on: September 12, 2025, 01:13:36 PM »
Hi,

I am checking this again now 2.2.2 is released. The main issues of black frames, slow processing and tearing type artefacts are all fixed.

But, this one still remains:
"Also, when running a batch on a project with MANY small chunks (100+ with 30-40 photos each), I also notice some chunks as if they are clipping the object as one would expect with the mask defocus areas. This only happens on some chunks. When I run the generation again just on these chunks alone, they work."

I just noticed it in a batch process on 2.2.2
It usually happens when there is a camera lens difference between some of the chunks it seems.

M

5
General / Re: Beta-testing of new texture blending algorithm
« on: September 06, 2025, 11:02:53 AM »
actually, I worked out the bug.
When you first add the tweak and apply, the "Model - Assigned Camera" option is not added to the dropdown.
It is, however, there once the program is restarted.

And I worked out the second one on my own. A case of PEBCAK.
;-)

M

6
General / Re: Beta-testing of new texture blending algorithm
« on: September 06, 2025, 10:37:23 AM »
Hi Alexey,

First, congrats on such a cool feature. I ran some test sets and getting very impressive results so far.

I am trying to find the things you mention here though and cannot find them "Model - Assigned Camera view for analysis: After the texture is built, you can inspect which parts of the model texture were taken from which photos. Use the dropdown next to the model view button (same location as Confidence and Shaded) and select Model - Assigned Camera."

This one is not on my dropdown. Is there a separate tweak to enable this?

Also, re: "Open Assigned Image for texture inspection: Right-click on any surface point on the model and select Open Assigned Image to view the specific image used for that location."

Whenever I do this, I get "no image found"

Finally, just an out of interest... does it work in a similar way to the depth of field masking or is it doing specific sharpness detection? Just interested as it really really worked well on getting rid of some out of focus areas for me.

Anyway, thanks again for such and amazing improvement.

Michael

7
Feature Requests / Re: Hotkey for crop
« on: August 30, 2025, 09:07:01 AM »
ah. of course. sorry for the silly request.

8
Feature Requests / Hotkey for crop
« on: August 29, 2025, 12:29:21 AM »
Can we have a hotkey for "crop selection" please?

9
Bug Reports / Re: Generate masks from model issue in 2.2
« on: June 27, 2025, 02:15:27 AM »
Thanks Egor,

I look forward to the update.
One other thing I have been thinking for a while, is it possible to have an option (possibly checkbox) when generating masks from a model to ignore backface? It would certainly help in some of my workflows.

10
Bug Reports / Generate masks from model issue in 2.2
« on: June 02, 2025, 12:55:47 PM »
Hey all,
I have noticed some problems with the "generate masks from model" feature. I have been using this for years flawlessly and now I get some issues.

I have been running it on some larger projects and have noticed some key changes. 1. It is a lot slower and slows down on some photos. 2. It tends to create an all black mask on some frames when it shouldn't. 3. On some photos, it looks like "tearing" type shapes that are not constrained by the model are showing up in the mask. These seem to get worse further through the list of photos in the project so I suspect a memory issue. I opened an old large project from before 2.2 release which did have masks made correctly and re-running it now fails.

Also, when running a batch on a project with MANY small chunks (100+ with 30-40 photos each), I also notice some chunks as if they are clipping the object as one would expect with the mask defocus areas. This only happens on some chunks. When I run the generation again just on these chunks alone, they work.

Has something drastically changed under the hood in regards to generating masks? Let me know if I can provide some samples to help diagnose as I am going to have to downgrade back to 2.1 to get a few projects done.

11
Bug Reports / Re: Grid not interactive after scaling
« on: May 31, 2025, 03:14:54 AM »
Can confirm it is fixed for me. Thanks Alexey.

12
Bug Reports / Re: Grid not interactive after scaling
« on: May 17, 2025, 12:42:47 AM »
Thanks echocharlie. Just to note, it did happen to me on a project made with the current version so not sure it is totally related to a legacy project issue.

13
Bug Reports / Grid not interactive after scaling
« on: May 15, 2025, 01:41:47 AM »
I have noticed a new behavior with the latest release that may be a bug.

When doing object work, I align photos, make mesh etc. and then set scale by dropping a couple markers and using a scale bar to update. Then I orient my model (using rotate object and move object) to be straight, upright and centered to the local coordinate space.

The bug I have found is that after rotating the model, the grid no longer updates properly when panning around the scene with middle mouse button and the navigation arrow selected. It seems to stay locked to the center of view only. I did some export and import tests and it doesn't seem to be moving the model coordinates but this is different behavior to the previous version/s. Is this a bug or a feature?

Pages: [1]