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.

Topics - danderson4

Pages: [1]
Python and Java API / Designate Chunk as active chunk
« on: February 03, 2023, 02:16:11 AM »
How to I set a chunk to be the active chunk (ie. bolded) so that when I save the document that chunk is the active chunk when the .psx file is opened manually later on?
I have a script that iterates through a folder opening each .psx document and then aligns and merges chunks and saves the document.  It then does some processing to the merged chunk. But even though the merged chunk is the last chunk I reference  using chunk=chunks[2] (for example) that is not the active chunk when I reopen the file to see the results.
Thank you for help

I am looking to change the background color of the model view using a script.  For instance, it the background is already #999999 I want it to change to #000000 and vice versa.  I want to be able to quickly check the look of my model against a black background, but the switch back to gray for working.
Any help is greatly appreciated

General / Parameterizing Texture Atlas now taking extremely long
« on: April 09, 2020, 05:16:40 PM »
I'm using Metashape 1.6.1 on a Windows 10 machine and since upgrading to 1.6.1, the parameterizing texture atlas step of build textures seems to take 2-3 times longer than it did in earlier versions.  I haven't timed it to get a specific increase in time, but i have rerun textures on models created with 1.5.x and there is definitely an significant increase in the time to complete this step in the texturing process.
Anyone else encountering similar issues?

General / Finding License Key info
« on: February 25, 2020, 06:04:55 AM »
Is there any way to determine what license key was used to activate Metashape Pro on a particular computer? We have 12 licenses of Pro and I need to determine which key was used on which computer during activation so I can determine which keys have not been used.  Unfortunately, the person installing did not keep accurate records of which keys they used on which machine.

General / Metashape 1.6.1 not using GPU for texture blending
« on: February 10, 2020, 07:02:59 PM »
When creating a texture for my model, I am getting the following in the details section:

Found device GeForce GTX 1070 driver version 1640382464, API version: 1.0.65, location 4294967295::4294967295
Found device Intel(R) UHD Graphics 630 driver version 1645260, API version: 1.1.103, location 4294967295::4294967295
Only NVIDIA and AMD devices are currently supported
Cannot use GPU. Reason: Cannot find suitable device
Performing blending on CPU...

Why is it not using the GPU when I have an NVIDIA GeForece GTX 1070 installed and enabled?  It uses it for all the other GPU functions?

Python and Java API / Saving multiple chunks to separate psx files
« on: June 09, 2019, 01:31:40 AM »
I often times will create multiple chunks in a single document in order to run batch processing on all the chunks over night. However once the processing is completed I'd like to be able to save out each chunk as its own .psx file with the file name the same as the chunk name using a script. Does anyone have a script already that can do this, or suggest how to create such a script.
I'm fairly new to the Metashape api but have done some programming in Python, visual basic, lisp, and c++
Any help greatly appreciated

Pages: [1]