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

Pages: [1]
1
General / Re: Is it possible to modify the texture by "unrendering"?
« on: July 15, 2019, 09:41:51 AM »
Thanks for the response. I plan to start with a fully textured 3D model. With this, I plan to modify the texture by modifying a rendered portion of it. Do you know any method to do this in python?

2
Is there a way in python to take rendered images, modify them, and reproject these modification onto the texture?

3
Ok thanks!

4
Hi,

What do you mean by passing the directory? I believe I am passing the filename into the command: ("C:\\Users\\cs_u\\Desktop\\Temp\\render" + camera.label[:-4] + "_render.jpg"), where render + camera label + _render.jpg is the filename.

Thanks

5
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?

6
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]