Camera Up Vector

Rhino 3D (Export script developed by SamPage; Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Post Reply
User avatar
Refracty
Licensed Customer
Posts: 1599
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln
Contact:

Hi Sam,
I am just curious to know if it is possible to export the same camera up vector in Octane like in Rhino (for camera position change in Octane).
Thank you
Nando
User avatar
SamPage
Licensed Customer
Posts: 132
Joined: Mon May 10, 2010 8:56 pm
Location: Burbank, CA

Are you asking if you can take a camera up vector in Octane and translate it back to Rhino? If so I don't know a way. If you are asking about bringing Rhino's camera up vector to Octane, that should be happening. If not please let me know (and post examples so I can see what is going on :) )

Thanks,
Sam
Win 7 64bit | 2x GTX 285 | i7 920 | ASUS P6T Deluxe | 12GB
User avatar
Refracty
Licensed Customer
Posts: 1599
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln
Contact:

Hi Sam,
the problem is after exporting to Octane the navigation (camera orientation) does not work as expected. So if you turn the view (camera) to one side it tilts up or down because the camera up vector is not (0,1,0) or (0,0,1) as usual.
This will probably affect orientation and direction towards the sun lighting as well.
Please have a look the Vector values of the camera-up in the attached file.
Thank you.
Cheers
Refracty
Attachments
Rhino2OctaneUpvector.jpg
User avatar
SamPage
Licensed Customer
Posts: 132
Joined: Mon May 10, 2010 8:56 pm
Location: Burbank, CA

Refracty wrote:Hi Sam,
the problem is after exporting to Octane the navigation (camera orientation) does not work as expected

I guess the question is: what is expected? The camera up vector in Octane should match exactly the camera up vector in Rhino at the time of export (try introducing some roll or "dutch" into your camera in Rhino) for any 1 frame.

Depending on the view settings in Rhino, the camera is usually locked to maintain the same amount of roll as you navigate about in relation to world Z, so the camera up vector is constantly changing. This is not true in Octane, which maintains a static up vector. So when you start moving about in Octane, things get skewed quickly.

It is easy to drop the camera up info coming out of Rhino so that it is always 0,1,0 in Octane, but then you lose any camera roll information. I will look at remapping it coming out of Rhino so it is always in the same wZ (in Rhino) plane as the target point, not sure that will be any better but worth a shot.

Sam
Win 7 64bit | 2x GTX 285 | i7 920 | ASUS P6T Deluxe | 12GB
User avatar
Refracty
Licensed Customer
Posts: 1599
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln
Contact:

Hi,
I thought that the camera roll is usually fixed to zero because you usually don't want to roll / tilt the image while navigating. But maybe I don't understand the Eula system correct.
But I think what you mean is that Rhino uses a lokal UP vector and Octane a world based and thas causes interpretation differences while exporting.
I am a bit confused, but in non technical terms: I just would expect to navigate in Octane the same way like in Rhino after exporting a shot.
Would be great to have a 0,1,0 Up vector in Octane after exporting.
Thank you Sam

Refracty
User avatar
SamPage
Licensed Customer
Posts: 132
Joined: Mon May 10, 2010 8:56 pm
Location: Burbank, CA

Refracty wrote:Would be great to have a 0,1,0 Up vector in Octane after exporting.
OK, I'll add to the wish list add an option to drop camera up info and replace with 0,1,0. This would mean that any camera roll in Rhino will be lost if this option is selected.

Sam
Win 7 64bit | 2x GTX 285 | i7 920 | ASUS P6T Deluxe | 12GB
User avatar
Refracty
Licensed Customer
Posts: 1599
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln
Contact:

Cool,
thank you Sam.
Stupid question: Where can I change the 'roll attribute' in Rhino?

Refracty
User avatar
SamPage
Licensed Customer
Posts: 132
Joined: Mon May 10, 2010 8:56 pm
Location: Burbank, CA

Shift + Alt + Right mouse button.

Sam
Win 7 64bit | 2x GTX 285 | i7 920 | ASUS P6T Deluxe | 12GB
Post Reply

Return to “Rhinoceros 3D”