Page 1 of 2
PROBLEM SKETCHUP
Posted: Tue Sep 18, 2012 12:17 pm
by Interfaces
Hi,
when I do an insert with a 3D photo (building), the resolution of the image is never the same, I also combines with a wireframe view in EPS format.
Why is not the same resolution?
Is there a solution?
thank you
Re: PROBLEM SKETCHUP
Posted: Wed Sep 19, 2012 2:37 pm
by TIG
I don't understand the issue.
Is this an Octane or a Sketchup issue?
Presumably you are using the correct photomatch settings - e.g. NOT a cropped photo or distorting lens...
Re: PROBLEM SKETCHUP
Posted: Thu Sep 20, 2012 7:01 am
by Interfaces
I use "camera match" sketchup the ratio of the resolution is not good with octane.
see attached files.
What is the proper ratio method to apply drag and drop in photoshop.
thank you for your help
Re: PROBLEM SKETCHUP
Posted: Thu Sep 20, 2012 10:21 am
by TIG
The proportions of the rendered building and the original background photo should match.
If the photo image layer is in the wrong place or the wrong size in Photoshop you can move/scale that layer to overlay perfectly.
Having some 'markers' in the background photo will help location/scaling.
Here are some clues:
http://www.youtube.com/watch?v=JXLPyQFzy-o
http://www.sketchupartists.org/tutorial ... photoshop/
http://lda.ucdavis.edu/people/2007/AHaskin.pdf
http://www.youtube.com/watch?v=5df_fLEEBqE
Re: PROBLEM SKETCHUP
Posted: Thu Sep 20, 2012 1:10 pm
by Interfaces
I already use the scale in photoshop, I wanted to know if there was a simple as drag and drop as in 3dsmax without changing the resolution.
Thank you for your answer.
Re: PROBLEM SKETCHUP
Posted: Fri Sep 21, 2012 8:54 am
by TIG
Are you exporting with the 'resolution' set as the screen's ?
Re: PROBLEM SKETCHUP
Posted: Mon Sep 24, 2012 7:18 am
by Interfaces
I made a print screen and rendering octane 1680x1050
photoshop I combine the two layers the proportion is not good,
What is the solution?
Re: PROBLEM SKETCHUP
Posted: Mon Sep 24, 2012 9:07 am
by TIG
I don't know how to match the outputs...
BUT it's easy enough to match the overlaid building to the background because you have the 'wire-framed' building beneath it - I just used the 'Scale' tool on the OCS output overlay [in Gimp, but it's very similar to PShop]
If you export an image of the SKP screen [not the whole PC's screen] how does the overlay align then ?
Re: PROBLEM SKETCHUP
Posted: Mon Sep 24, 2012 10:49 am
by Interfaces
I use your method, but it would be easier with a simple drag and drop (same resolution), and a time saver.
thank you
Re: PROBLEM SKETCHUP
Posted: Tue Mar 18, 2014 8:45 pm
by fuzzybro
Hi all,
Interfaces asked me to assist with matching viewports in Octane and Sketchup. I have managed to do this in OctaneRender for Sketchup plugin and I guess that I can help achieve this in Export Plugin.
The thing is that Sketchup has width-based FOV and Octane has height-based FOV. To achieve photomatch you have to convert between FOVs.
This can be done using this formula:
Code: Select all
octane_fov = tan(0.5 * su_fov * PI / 180);
octane_fov *= octane_width / octane_height;
octane_fov = 2.0f * atanf(octane_fov) * 180.0f / PI;
This translates SU FOV to a corresponding Octane FOV.
octane_width and octane_height are Octane viewport extents.
Also, you will have to do the same correction to Parallel Proj camera, but Octane has a bug that might not allow you to correct camera scale in some cases (for scale larger than 10000)
Code: Select all
octane_scale = su_camera_height;
octane_scale *= octane_width / octane_height;
Hope that helps,
Bro.