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 - wojtek

Pages: 1 2 3 [4] 5 6 ... 19
46
Python and Java API / Re: Undo via Python?
« on: October 22, 2021, 12:08:57 PM »
Hello wojtek,

Which operations do you need to Undo via Python?

Essentially what I'm doing is the following:

1. Select a section of a model I want to edit in an external package
2. Crop selection (works via script)
3. Export & Import to the external package (works via script)
after editing:
4. Import edited section as a new model (works via script)
5. Go back to the original model (works via script)
6. Undo the Cropping
7. Delete original selection

So I'm stuck at 6 and have been doing this part manually instead.

47
Python and Java API / Re: Colorize Vertices via Python
« on: October 22, 2021, 12:05:02 PM »
Hello wojtek,

Which version of Metashape Pro you are using?

I've just tested it in 1.8.0 pre-release and it works as expected: colors are modified in the Model view and new values are returned for the selected vertices.

Hmm, it works indeed if the model already has Vertex Colors. I've been testing on a model that had no vertex colors to begin with. Any idea how to go around that?

48
Python and Java API / Colorize Vertices via Python
« on: October 21, 2021, 02:48:37 PM »
Code: [Select]
docRef = Metashape.app.document
chunk = docRef.chunk
model = chunk.model
faces = model.faces

for f in faces:
    if f.selected:
        v1 = f.vertices[0]
        v2 = f.vertices[1]
        v3 = f.vertices[2]
        model.vertices[v1].color = (255,0,0)
        model.vertices[v2].color = (255,0,0)
        model.vertices[v3].color = (255,0,0)

Tried following code, does not throw an error but also does not change the values if I print them back. Any help would be greatly appreaciated.

49
Python and Java API / Re: Undo via Python?
« on: October 21, 2021, 02:38:07 PM »
Pretty please?  :-*

50
Python and Java API / Undo via Python?
« on: October 17, 2021, 03:55:09 PM »
Is it possible to Undo/Redo via python?

51
Bug Reports / Re: 1.7.4 Holes in mesh
« on: October 09, 2021, 02:41:15 PM »
I may have been wrong about 1.8 beta fixing the mesh weirdness that got introduced in 1.7.4.  I've been running tests today and I'm having a chronic problem with it just like in 1.7.4.  Had to go back to 1.7.3 for now.

Yes, can confirm that 1.8.0 has the same issues found in 1.7.4 and 1.7.5

52
Bug Reports / Re: All previous models open with no texture in V1.74
« on: September 28, 2021, 05:23:49 PM »
Hello all,

Please check, the pre-release version of 1.7.5 (build 13151) which should include the texture parametrization fix:

Standard edition links:
http://download.agisoft.com/metashape_1_7_5_x64.msi                         Windows
http://download.agisoft.com/metashape_1_7_5.dmg                                  macOS
http://download.agisoft.com/metashape_1_7_5_amd64.tar.gz               Linux

Professional edition links:
http://download.agisoft.com/metashape-pro_1_7_5_x64.msi                     Windows
http://download.agisoft.com/metashape-pro_1_7_5.dmg                              macOS
http://download.agisoft.com/metashape-pro_1_7_5_amd64.tar.gz           Linux

Hey, Thanks!

I've tested this and while the critical errors seem to be gone the parametrization is still off compared to 1.6.6.

A lot of small islands are generated for no reason(?). What is the primary benefit of the new UV mapping method?

Edit: Can we have a tweak that reverts the parametrization method to the old version?

53
General / Re: Agisoft Metashape 1.8.0 pre-release
« on: September 23, 2021, 12:47:19 PM »
I'm getting similar results to Mak11:

Some areas are vastly improved while others suffer quite dramatically.

54
Bug Reports / Re: 1.8 beta Cannot Read existing Batch Files
« on: September 22, 2021, 10:11:35 PM »
I'm not sure if this is a bug or just that 1.8 cannot read old batch .xml files by design, but when I attempt to load my existing batch files I get this error message:

In most cases you can just edit the version number in your old xml

55
General / Re: Nvidia Tesla K80. A good, cheap option?
« on: September 12, 2021, 08:22:24 PM »
I dunno if investing in a Kepler based card makes sense. You'd need to do/find some benchmarks as it may be slower than some lower end modern cards (it is an 8 year old architecture at this point after all)

edit: Over here these cards are around the same price as used 1080ti which does not make them look all that good.

56
Bug Reports / Re: All previous models open with no texture in V1.74
« on: September 11, 2021, 02:39:34 PM »
Hello Bill,

Would it be possible to share two projects to support@agisoft.com - one with the texture generated in the older version and another after re-saving the project in 1.7.4 with the "lost texture"?

We haven't been able to reproduce the problem on our side in a meantime.
Hello again Alexey,
I have been doing some experimentation and reran this project using jpegs.  The result was the same  - worse actually, because the 'fuzzy' patches of texture (UV mapping problem?) reappeared (see screen capture attached).  And the file still reopens with no texture.  I have uploaded a zipped bunch of jpegs and another psz file run from these jpegs (Prac exam Q3 sample 1 1.74 jpeg test.psz) into the same ondrive folder I provided a link to above so can see if you can reproduce the problem.

p.s. I just notice you asked me to email links to support - I have now done that also.
cheers
Bill

UV mapping is broken in 1.7.4, see here: https://www.agisoft.com/forum/index.php?topic=13701.0

57
Yes, the issue revolves around UV patches being deformed and/or almost 0px in size. Also more small UV patches in general.


Is there a tweak we can use to fallback to previous version of UV parametrization?

58
Feature Requests / Re: "Apply" button for "Select confidance range" dialog
« on: September 01, 2021, 07:21:41 PM »
An "Apply" button for "Select confidance range" dialog in Dense Cloud / filter by confidence would be great: it would be a lot easier to find the right value without having to navigate so many times in the menu to find the dialog

Agreed.

You can bind a hotkey to the filter menu options for the time being, though.

59
I've retested with build 13028 and I'm getting different but still broken results.

60
It's a problem with the UV mapping in 1.7.4, I've reported this a few days ago so I guess Alexey and the team are on it already.

Pages: 1 2 3 [4] 5 6 ... 19