Author Topic: VR rotate in 2 planes  (Read 3920 times)

0 Members and 1 Guest are viewing this topic.

Offline 3D Off the Page

  • Jr. Member
  • **
  • Posts: 92
  • Certified KeyShot Render Services
    • 3D Off the Page
VR rotate in 2 planes
« on: October 28, 2013, 09:25:38 am »
I think we talked about this before but not sure.  Is it possible to do a VR where the mouse left to right is rotate left to right then mouse forward and backward is up and down in the VR?  I would like to not have the extra images where the model in the vr is not along the x and y planes.  Hope that makes sense.

thomasteger

  • Guest
Re: VR rotate in 2 planes
« Reply #1 on: October 28, 2013, 12:36:28 pm »
You would have to render this out as 2 separate VRs I would assume. Brandon will assist.

Offline Brandon Davis

  • Jr. Member
  • **
  • Posts: 77
    • KeyShot
Re: VR rotate in 2 planes
« Reply #2 on: October 29, 2013, 09:10:01 am »
This requires you to render out 2 VRs and combine them together. The first VR should have the frames indexed as 0_0, 0_1, 0_2, etc. The 2nd VR should have the frames indexed as 1_0, 1_1, 1_2, etc(you will have to manually change the frames this way).

Once you have combined the 2 VRs into one, open the corresponding html file and find the 2 variables uCount and vCount. Modify it to correspond to how many frames you have defined(e.g if you have a turntable with 36 frames: uCount = 36).

Example:
If I render 2 turntables out with 36 frames my variables would be:
Code: [Select]
var uCount = 36;
var vCount = 2;

If you open the html file, and move the mouse left to right it will use one index of frames, and if I move my mouse up or down, it will use the other.

I hope this helps.

Offline 3D Off the Page

  • Jr. Member
  • **
  • Posts: 92
  • Certified KeyShot Render Services
    • 3D Off the Page
Re: VR rotate in 2 planes
« Reply #3 on: October 30, 2013, 08:34:07 am »
Thanks!!

I'll give it a try.

Offline 3D Off the Page

  • Jr. Member
  • **
  • Posts: 92
  • Certified KeyShot Render Services
    • 3D Off the Page
Re: VR rotate in 2 planes
« Reply #4 on: December 03, 2013, 05:18:38 pm »
It kind of works.  When I start the second motion rotating up and down it only goes one frame then doesn't rotate.  But once I start that rotation the one frame I then move the mouse left and right the image rotates up and down.  I can send the folder if you have an ftp site.

thanks

Steve

Offline Brandon Davis

  • Jr. Member
  • **
  • Posts: 77
    • KeyShot
Re: VR rotate in 2 planes
« Reply #5 on: December 05, 2013, 02:11:59 pm »
Maybe I am slightly confused on what your trying to achieve then, sorry  :P. Have you tried using hemispherical for the VR type? Does this not work for you?

We don't provide public access to our FTP site, unfortunately. You can send the folder as a *.zip file via keyshot.wetransfer.com to [email protected], I will take a look.