[Plugin] 'Camera2Vue.rb'
-
Are you saying it works with Vue 5?
-
By the way, a workflow tip that will help with the scaling issue (via Alex's Collada method).
If your SKP model has a nice bounding box, simply measure the length of one of those sides in SKP, and then paste that dimension into the corresponding dimension in Vue.
If that isn't possible, scaling by 3.937 will do the same job.
-
OK another render, to prove the method works with complex models which would show up flaws.
I've added a subtle outline, which is the SKP render, overlaid on a Vue 7 Global Radiosity render, though it looks great with a simple Ambient Occlusion one too.
View in full size to see the detail.
Thanks
Richard
-
So, there is no need for trigonometric conversions to convert degrees into 35mm camera FoV, as I feared.
Here the steps to make it work in Vue 7 Esprit.
-
Run the plugin 'camera to vue' inside sketchup and, when you're prompred to save the python script, save it as simple text by adding the '.txt' extension to the name you choosed to save it.
-
Open it with a text editor and leave it open.
-
In Vue just go to the options panel and under 'display options' check -show camera Fov in Object properties-.
-
Select the camera and copy and paste from the previous opened text all the single values of camera position and rotation, plus Sketchup's field of view in the upper right panel.
You're done:
render and enjoy!/matteo
-
-
The funny standard measure unit of Vue, 10,00cm, divided by one inch (2,54cm) equals 3,93700787
But don't ask me why this is needed
-
@matteo said:
The funny standard measure unit of Vue, 10,00cm, divided by one inch (2,54cm) equals 3,93700787
But don't ask me why this is needed
SU always uses inches, so if Vue uses cm (10cm...?) then that's why you need that conversion I guess.
-
thank you very much, this is very useful for everyone!
-
a quick question about the process included in the .zip - while this script puts the camera in the correct location, how do you ensure that the imported .obj comes in at the same coordinates? in my experience the object is always centered on 0,0,0 in vue regardless of coordinates in sketchup - or does the script track the camera's relative location to the geometry's center point?
hope this makes sense!
-
When importing the .obj uncheck the centre object and resize in dialogue.
-
obvious! thanks
-
thank you very much for sharing..
Advertisement