Aperture on alembic to stand alone

Forums: Aperture on alembic to stand alone
Autodesk Maya (Plugin developed by JimStar)

Moderator: JimStar

Aperture on alembic to stand alone

Postby Refracty » Wed Jun 15, 2016 6:20 pm

Refracty Wed Jun 15, 2016 6:20 pm
Aperture control on Alembic camera to standalone - how?
When I export a camera as alembic, what value will control the aperture /depth of field strength ?
User avatar
Refracty
Licensed Customer
Licensed Customer
 
Posts: 1598
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln

Re: Aperture on alembic to stand alone

Postby calus » Wed Jun 15, 2016 7:10 pm

calus Wed Jun 15, 2016 7:10 pm
Refracty wrote:Aperture control on Alembic camera to standalone - how?
When I export a camera as alembic, what value will control the aperture /depth of field strength ?

If you export your camera as ORBX with embeded alembic, if you animated the octane "aperture" attribute in maya, you'll have the same depth of field animation in Standalone.
In standalone you won't have access to this attribute anymore, but still have some control on depth of field with "aperture edge" attribute.
and if you have animated octane "focal depth" attribute in Maya, don't forget to put the "autofocus" attribute to off in standalone.

If you were talking about a camera exported as Maya Alembic cache, and what custom attribute add to the camera shape to mimic what ORBX export do, I don't know as curiously when you reimport octane alembic camera in maya I can't see any custom attribute.
Last edited by calus on Wed Jun 15, 2016 7:49 pm, edited 1 time in total.
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: Aperture on alembic to stand alone

Postby gah5118 » Wed Jun 15, 2016 7:35 pm

gah5118 Wed Jun 15, 2016 7:35 pm
I got this from these forums, can't remember where.. create a thin lens camera and connect everything. works really well.

hope that helps

FromABC2Thin.orbx
(4.21 KiB) Downloaded 333 times


*note, this won't animate the aperture. calus method will work for that. I have to use this method in order to hide/unhide objects using maya's exporter as that feature still isn't supported with octane's
Windows 8.1 | i7 950 | GTX 780ti | 24gb ddr3
gah5118
Licensed Customer
Licensed Customer
 
Posts: 358
Joined: Thu Jun 02, 2011 4:25 pm

Re: Aperture on alembic to stand alone

Postby Refracty » Wed Jun 15, 2016 9:23 pm

Refracty Wed Jun 15, 2016 9:23 pm
Hi Calus and Gah5118,
thanks for the quick help.
I think that the alembic file will transfer the focus distance form the regular Maya camera but I couldn't find the aperture.
I might test the ORBX export solution from Octane. I thought this will also use an alembic wrapped inside an orbx so there must be a attribute to set the DOF.
FromABC2Thin sounds promising - Hopefully it will contain Motion Blur.
User avatar
Refracty
Licensed Customer
Licensed Customer
 
Posts: 1598
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln

Re: Aperture on alembic to stand alone

Postby capmotion » Thu Aug 04, 2016 5:12 pm

capmotion Thu Aug 04, 2016 5:12 pm
ABC2Thin works great.
If only it passed on Motion Blur, it would be awesome..!
i7-2600K @ 3,40 GHz | 32 Gb | 2x GTX 970 1x Quadro K2200 | Windows 10 Pro
capmotion
Licensed Customer
Licensed Customer
 
Posts: 25
Joined: Thu Feb 05, 2015 3:07 pm

Re: Aperture on alembic to stand alone

Postby abstrax » Thu Aug 04, 2016 9:47 pm

abstrax Thu Aug 04, 2016 9:47 pm
Please try this script to copy the animated camera out of a scene node graph:
Attachments
create camera snapshot.lua
(1.46 KiB) Downloaded 383 times
In theory there is no difference between theory and practice. In practice there is. - Yogi Berra
User avatar
abstrax
OctaneRender Team
OctaneRender Team
 
Posts: 5483
Joined: Tue May 18, 2010 11:01 am
Location: Auckland, New Zealand

Re: Aperture on alembic to stand alone

Postby Refracty » Sat May 06, 2017 12:48 pm

Refracty Sat May 06, 2017 12:48 pm
Hi Calus and Maya users,

I am still having trouble with the motion blur of exported camera in Octane standalone.
Basically there are 2 routes to go.

1. Exporting a Maya camera via Alembic
This works fine but there are missing inputs for aperture und focal depth.
Via a lua script I can bind a thin lens camera to the alembic one, but the motion blur is missing.
I used Reel Smart MB in post but the results are not perfect.
So I need a way to have Motion Blur on the thin lens cam.
Is there a way to transfer motion blur vectors to the thin lens camera?

2. Exporting the camera via the ORBX exporter (as far as Octane in installed)
I have a camera in the scene that is bound via position and rotation constraints.
So, I baked the transformation channels and exported the selected cam via ORBX-Alembic export.
But when I import this alembic cam in SA, there is no animation.
What is missing here?
Would an animated focal depth attribute be exported in the ORBX-alembic file?

3. Why does a alembic camera has no inputs for focal depth and aperture? It would be super useful.

Thanks for the feedback
User avatar
Refracty
Licensed Customer
Licensed Customer
 
Posts: 1598
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln

Re: Aperture on alembic to stand alone

Postby calus » Sat May 06, 2017 1:40 pm

calus Sat May 06, 2017 1:40 pm
Since quite a few release now the ORBX exporter don't embed the camera in the Alembic node anymore,
and always export the active Maya camera as an Octane Camera Node collapsed in the RenderTarget node,
all camera attributes are exported with their animation.
As previously the camera was accessible from the Alembic node and as the RenderTagert node is collapsed, it's easy to miss the exported camera,
(Right clic on RenderTaget > "expand items" to actually see the camera node in the nodegraph editor.)

So exporting from Maya to animated ORBX (with or without the alembic option ),
you should just get a perfect camera with everything animated and accessible. :)
Pascal ANDRE
calus
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Sat May 22, 2010 9:31 am
Location: Paris

Re: Aperture on alembic to stand alone

Postby Refracty » Sat May 06, 2017 6:23 pm

Refracty Sat May 06, 2017 6:23 pm
Hi Calus,
thanks for the clarifcation.
I have been thinking that it was possible to select a camera and export it via ORBX, but if only the active viewport cam is exported that is fine, too.
Just good to know.
You give the best Maya support - So helpful.
User avatar
Refracty
Licensed Customer
Licensed Customer
 
Posts: 1598
Joined: Wed Dec 01, 2010 6:42 pm
Location: 3D-Visualisierung Köln

Return to Autodesk Maya


Who is online

Users browsing this forum: No registered users and 7 guests

Fri Mar 29, 2024 7:11 am [ UTC ]