Features

Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Help  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 12
Posts: 12   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3189 times and has 11 replies Next Thread
Ceciliabr
Advanced Member
Member's Avatar

Denmark
Joined: Jul 7, 2013
Post Count: 205
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hither and yon?

Well...
It seems that what you have done is to adjust the preview, so that it resembles what you get when creating pictures in Q1 and Q2.
The problem now is that it's very difficult to compose sceneries for Q3 and Q4 images.

Examples:

V5.3


V5.5b


As you can see from the second screenshot, we can no longer preview the placement and size of distant objects, such a horizon or a distant city, or other elements that will be quite visible in Q3 and Q4.

I have included the project file, just in case...

SH3D-project



cec
[Sep 16, 2017 6:36:58 PM] Show Printable Version of Post    View Member Profile    Send Private Message    http://cecprojects.wordpress.com [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 5837
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hither and yon?

There's no frustrum in rendering quality 3 and 4, that's why the rendered image is black as soon as the camera is placed in a wall. But at the opposite, the image because very noisy if the elevation of the camera is very high, and that's the reason why I limited it to 100 m.

With OpenGL (i.e. in the 3D view and at quality 1 and 2), the changes I programmed should give more predictable and usable results: when the camera is within the (approximated) bounding box which contains all the items of the scene, the front clip distance (hither) is 2,5 cm and the back clip distance (yon) is 3000 x 2,5 = 75 m (3000 is a recommended ratio between those distances).
When the camera is out of that bounding box (which is not the last case you submitted), the front distance is equal to the distance between the camera and the closest face of that box, or if it's smaller, the distance between the camera and the floor at the intersection of the floor and the bottom of the viewing frustrum. The back clip distance is normally 3000 farther, except if there's some chances that the horizon is cut too close of the camera. I could make a drawing if necessary to explain this rule.
How to apply this new rule in your case: don't create a scenery object that will surround the camera completely, so you're sure that you can place the camera out of that scenery box. The farther the camera will be of that box, the larger the front and back clip distances will be. For example, if you want the back clip distance to be equal to 450 m, you should be at 450 / 3000 = 0,15 m = 15 cm of the box. This is not so far! smile

Hope you can achieve what you want to do with these new rules and without the obligation to add in a future version some new fields to enter the front and/or back clip distances. I really feel that this kind of information isn't for the public primarily targeted by Sweet Home 3D.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Sep 22, 2017 4:59:43 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest    http://www.eteks.com [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 12   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2017 eTeks - All rights reserved