Camera position error when exporting OBJ

Forums: Camera position error when exporting OBJ
SketchUp Integrated Plugin (Integrated Plugin maintained by OTOY)

Camera position error when exporting OBJ

Postby skibbbi » Wed Jun 20, 2012 8:44 pm

skibbbi Wed Jun 20, 2012 8:44 pm
Hi TIG,

I found a bug when exporting obj from sketchup to octane (file 1 and 2).

1 export obj.png


2 import mesh in octane.png


When I click "render frame" all is well (file 3).

3 render frame.png


Or maybe I'm doing something wrong?

Regards,
Win Vista 32 | Geforce GTX 480 1535MB | AMD Phenom 9650 Quad 2.30GHz | 4GB | Octane 1.20
In the translation from Polish to English helped Google Translate
skibbbi
Licensed Customer
Licensed Customer
 
Posts: 68
Joined: Sat Nov 19, 2011 12:14 am
Location: Poland, Pruszków

Re: Camera position error when exporting OBJ

Postby TIG » Wed Jun 20, 2012 10:00 pm

TIG Wed Jun 20, 2012 10:00 pm
That's not a bug. :shock:

If you choose the dialog's 'Render Frame' it exports the OBJ File [with supporting MTL/texture-files etc] and then runs a 'cmd' file that uses that data in an Octane OCS - i.e. using whatever camera, shadows etc that you have set in the dialog. It is of course possible to do this with no camera set, so that the default Octane camera is then used.
If you choose the export the OBJ/MTL only etc only there is no render done: if you open this OBJ in an Octane OCS there is no camera data with it. An OBJ file contains' geometry info' and the MTL has the associated 'materials/textures' etc - there is no camera or shadow settings etc in these types of file - so you must either set these manually OR activate Octane via a 'cmd' file that passes suitable details to it as it runs.
Thus when you choose "Render Frame" from the dialog you pass whatever settings you have ticked from the SKP to the OCS - typically the camera.
BUT running an OCS on a 'raw' OBJ will have no built-in camera data at all...
Octane is not psychic.........
TIG
User avatar
TIG
Licensed Customer
Licensed Customer
 
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Re: Camera position error when exporting OBJ

Postby skibbbi » Thu Jun 21, 2012 6:54 am

skibbbi Thu Jun 21, 2012 6:54 am
Thank you for the clarification :D ,

Apparently I misunderstood the documentation (my English is not the best).
documentation of octane.png

After reading this I thought the only difference between the "Export OBJ / MTL Only" and "Render Frame" is the automatic start rendering.

I checked carefully and "Render Frame" actually generates additional file octane.cmd and there are camera settings.

Regards,
Win Vista 32 | Geforce GTX 480 1535MB | AMD Phenom 9650 Quad 2.30GHz | 4GB | Octane 1.20
In the translation from Polish to English helped Google Translate
skibbbi
Licensed Customer
Licensed Customer
 
Posts: 68
Joined: Sat Nov 19, 2011 12:14 am
Location: Poland, Pruszków

Return to SketchUp


Who is online

Users browsing this forum: No registered users and 5 guests

Tue May 14, 2024 11:22 am [ UTC ]