Forum

Author Topic: Example for rotation region and animation  (Read 2332 times)

chehroma

  • Newbie
  • *
  • Posts: 24
    • View Profile
Example for rotation region and animation
« on: November 28, 2018, 11:56:27 AM »
Can somebody write some examples which explain how rotate bounding box region (need that read area will be down). And I need some of code example, which explain how to do animation.

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Example for rotation region and animation
« Reply #1 on: November 28, 2018, 12:34:48 PM »
Hello chehroma,

Can you please specify the criterion for the bounding box rotation for "down" orientation of the colored box side? Is it estimated according to the coordinate system axis?

There's a simple example that rotates the bounding box according to the coordinate system orientation:
https://github.com/agisoft-llc/photoscan-scripts/blob/master/src/bounding_box_to_coordinate_system.py
Best regards,
Alexey Pasumansky,
Agisoft LLC

chehroma

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Example for rotation region and animation
« Reply #2 on: November 28, 2018, 12:47:35 PM »
I need that red region will be on the floor(down). Only box, not model. I attached picture for example. How I can modify this script, in which place? I not correctly understand how it work.
« Last Edit: November 28, 2018, 12:49:48 PM by chehroma »