Author Topic: Duplicate frames  (Read 1262 times)

0 Members and 1 Guest are viewing this topic.

Offline Eric Summers

  • Full Member
  • ***
  • Posts: 203
  • CAD Specialist I, Water Pik, Inc.
    • Water Pik Home
Duplicate frames
« on: September 07, 2017, 11:39:10 am »
I have been wondering why there are duplicate frames when you render out an XR. The first and last image in a turntable animation (or the first and last image at a particular vertical angle in a hemispherical XR) are identical. In order for me to get 15° horizontal increments, I have to render 25 horizontal frames. This shows the horizontal angle increments as 14.4 in the KeyShotXR wizard.

Any input on this would be greatly appreciated!

Thanks,
Eric

guest84672

  • Guest
Re: Duplicate frames
« Reply #1 on: September 07, 2017, 12:11:48 pm »
You only need 24 frames to get the 15º increments. The first frame is at 0º, and the last frame is at 345º. Does that make sense?

Offline Eric Summers

  • Full Member
  • ***
  • Posts: 203
  • CAD Specialist I, Water Pik, Inc.
    • Water Pik Home
Re: Duplicate frames
« Reply #2 on: September 11, 2017, 02:58:08 pm »
Yes, that makes sense to me. Perhaps I can do a better job of explaining my issue now that I've been thinking about it for a while longer.

This is quite perplexing. I very often render hemispherical XRs and I want 24 images in the rotation at 4 vertical increments.
For whatever reason, the initial view of each vertical increment is duplicated at the end of that rotation, so image 0_0 & 0_24 are the exact same position of my object. The same is true of 1_0 & 1_24, 2_0 & 2_24, and 3_0 & 3_24. This is why I have to put in 25 horizontal increments; if I don't I essentially get 23 increments after the duplicate image is removed. If I were to put in 24 for the horizontal increments, I would not get straight on images for the front, right, back and left sides of my object. It almost seems to be treating 0_24 as if it was supposed to be the last increment of the rotation.

I hope my explanation makes sense!

Offline Will Gibbons

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2602
  • Training Specialist at Luxion
    • KeyShot Training
Re: Duplicate frames
« Reply #3 on: September 14, 2017, 07:48:11 am »
I just found this on another thread here https://www.keyshot.com/forum/index.php?topic=19694.0 Esben offered this solution. Does this help resolve your issue?

I attached Esben's image below.

Offline Eric Summers

  • Full Member
  • ***
  • Posts: 203
  • CAD Specialist I, Water Pik, Inc.
    • Water Pik Home
Re: Duplicate frames
« Reply #4 on: September 26, 2017, 10:36:53 am »
Hi Will,

Thanks for the response. Unfortunately that does not solve the issue with my XRs.

I finally had a few minutes this morning to mess around with this some more so I did a couple of tests. I generated a hemispherical XR with 2 horizontal frames and 4 vertical frames. My expectation is that these inputs would result in an XR that looks at the front and back at four vertical angles (I used a cube with different materials on every face and a chrome cylinder). The resulting XR however, shows only the back at the four vertical angles. Looking at the images folder shows two "horizontal increments" at the four angles but they are the same position. I have attached a screenshot of this folder.

The workaround for this seems to be increasing the number of horizontal frames by one. So in this example increasing it to 3 yields the front and back view of the cube with a duplicate of the back view (the front view is the initial view of the XR). See the second attached image.