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.


Topics - thuang

Pages: [1]
1
Python and Java API / Removing Photos from Chunk
« on: April 20, 2016, 01:00:55 AM »
What's the code equivalent to right-clicking a photo and "Change Path" and applying to all cameras? (In other words, how do I remove all current photos in a chunk?)


Got it (used remove() function and looped through chunk.cameras)

2
Python and Java API / Building texture
« on: November 11, 2015, 01:10:19 AM »
Hello,

I've been trying to build textures with default settings and I've tried the following three (with no success):

texture_dict[texture_key] is the chunk that should be building the texture.

Code: [Select]

texture_dict[texture_key].buildUV(mapping = mapping, count = 1)
texture_dict[texture_key].buildTexture(blending = blending , color_correction = color_corr, size = atlas_size)

Code: [Select]
texture_dict[texture_key].buildTexture(blending=PhotoScan.MosaicBlending, size=4096)

Code: [Select]
texture_dict[texture_key].buildTexture(mapping = "adaptive", blending = "mosaic", color_correction = False, size = 4096, count = 1)

What's the correct way to do so?

EDIT: Should I perhaps be doing the second code and adding the buildUV function? (Currently processing right now). Thanks!

3
Python and Java API / Export Cameras/Model No File?
« on: September 30, 2015, 12:53:56 AM »
My export cameras and export model is successful:

chunk.exportCameras(path_photos, format='xml')
chunk.exportModel(path_photos)

but no camera file or model file is created in the path. Any ideas for what's going on?

4
Python and Java API / Removing Photos
« on: September 29, 2015, 11:46:55 PM »
I need to remove photos from my current chunk and add new ones in. Is there a way to do this besides creating a new chunk and having to import my model/cameras?

Pages: [1]