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

Pages: [1]
1
Is there a way in python to take rendered images, modify them, and reproject these modification onto the texture?

2
General / Is it possible to modify the texture by "unrendering"?
« on: July 12, 2019, 08:30:25 AM »
Given a 3D model, I'm hoping to be able to render it, modify the rendered image, then "unrender" or "paste" the image along with the modifications back to the 3D model. Is this possible?

3
Hello,
I realize this old thread exists: https://www.agisoft.com/forum/index.php?topic=7615.0

I am using part of their code on Windows, but after modifying their example to work on Windows, the software just gives me "unknown image format".

import PhotoScan, os
chunk = PhotoScan.app.document.chunk
for camera in chunk.cameras:
   if not chunk.model:
      print(" no model" )
      break
   if not camera.transform:
      continue
   render = chunk.model.renderImage(camera.transform, camera.sensor.calibration)
   render.save(os.path.dirname("C:\\Users\\user1\\Desktop\\Temp\\render" + camera.label[:-4] + "_render.jpg"))

Pages: [1]