PROBLEM SKETCHUP

SketchUp Integrated Plugin (Integrated Plugin maintained by OTOY)
User avatar
Interfaces
Licensed Customer
Posts: 213
Joined: Mon Jun 27, 2011 9:41 am
Location: FRANCE

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
User avatar
TIG
Licensed Customer
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

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...
TIG
User avatar
Interfaces
Licensed Customer
Posts: 213
Joined: Mon Jun 27, 2011 9:41 am
Location: FRANCE

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
Attachments
CAMERA MATCH.zip
(2.76 MiB) Downloaded 296 times
User avatar
TIG
Licensed Customer
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

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
TIG
User avatar
Interfaces
Licensed Customer
Posts: 213
Joined: Mon Jun 27, 2011 9:41 am
Location: FRANCE

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.
User avatar
TIG
Licensed Customer
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

Are you exporting with the 'resolution' set as the screen's ?
TIG
User avatar
Interfaces
Licensed Customer
Posts: 213
Joined: Mon Jun 27, 2011 9:41 am
Location: FRANCE

I made a print screen and rendering octane 1680x1050
photoshop I combine the two layers the proportion is not good,
What is the solution?
Attachments
test.zip
(3.64 MiB) Downloaded 280 times
User avatar
TIG
Licensed Customer
Posts: 536
Joined: Wed May 12, 2010 1:25 pm

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]
Capture.PNG
If you export an image of the SKP screen [not the whole PC's screen] how does the overlay align then ?
TIG
User avatar
Interfaces
Licensed Customer
Posts: 213
Joined: Mon Jun 27, 2011 9:41 am
Location: FRANCE

I use your method, but it would be easier with a simple drag and drop (same resolution), and a time saver.

thank you
User avatar
fuzzybro
OctaneRender Team
Posts: 562
Joined: Mon Jun 03, 2013 7:10 am
Location: Los Angeles, California

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.
Post Reply

Return to “SketchUp”