leehenshall wrote:Ah cool I had no idea you could do that. So what do you think the chances of a generous forum user or an Octane dev creating a script to do this?
A college of mine mentioned this might be possible using Python to create a simple script to pharse the XML data and create a camera in Maya. I think this could be done by using the camera position and the target information to get the exact position and rotation of the camera.
well I already had a look at how to parse any kind of octane node tree in maya.
The parsing part is easy enough but not so much the maya node creation part as there's too much difference between Maya plugin nodes and standalone.
So I prefer to wait for the next Maya plugin release which will have all the exact same nodes and attributes as standalone, so the node creation part will need no effort.
Also there's already an octane xml parser inside the Maya plugin, the "octane -io" function, this is what import the octane shaders from the live db.
So you can already save a camera from standalone in your "local db", and import it in maya from your "local db" !!!
But obviously it doesn't create anything in maya yet as there's no octane camera node yet in maya.
But in the next plugin it should be really easy for kai to allow the Local db import for any kind of nodes graph.