Index  | Recent Threads  | List Attachments  | 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: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4855 times and has 7 replies Next Thread
FranzMontana
Newbie



Italia
Joined: Oct 3, 2016
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Video generation

Provided that I’m enthusiastic of the tool that I think is unique in terms of simplicity and functionalities, I have a question about video creation.
The feature, although complete, is quite basic and apparently doesn’t allow to review the full list of points. We can only delete or change the last one. This is quite annoying if you have a long sequence of points and you want to have a good quality video, without gaps or sudden changes in views.
The best solution would be to have the possibility of changing all points and replay the sequence as many times as needed to reach the desired result, maybe at low quality to speed up the process, and then to have the final video generation at the best quality.
I noticed that the sequence is maintained after the file closure, meaning that is stored somewhere in the file. Is it possible to change, extend or reduce this sequence, which should be just a table with few fields (x, y, height, and the three angles)?
[Oct 28, 2016, 9:13:00 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9423
Status: Offline
Reply to this Post  Reply with Quote 
Re: Video generation

From version 5.3 (beta available here), you'll be able to modify a .sh3d file more easily because this zip file contains a new entry Home.xml entry that can be edited with a simple text editor.
If you look into this Home.xml file, you'll see that that camera positions of the video are stored in a list of <observerCamera> tags (or <camera> for aerial view positions) with an attribute equal to cameraPath, as in the following example:
<observerCamera attribute='cameraPath' lens='PINHOLE' x='50.0' y='50.0' z='170.0' yaw='5.4977875' pitch='0.19634955' fieldOfView='1.0995575' time='1477915200028'/>

Feel free to edit these lines or even add some new ones. x, y and z attributes are in centimeters, yaw, pitch and fieldOfView attributes are in radians and time in milliseconds since the Epoch (1st of January 1970 UTC). See SweetHome3D.dtd for more information. Of course, be sure to backup your .sh3d file before trying this kind of changes.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
----------------------------------------
[Edit 1 times, last edit by Puybaret at Oct 31, 2016, 12:35:03 PM]
[Oct 31, 2016, 12:29:10 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
FranzMontana
Newbie



Italia
Joined: Oct 3, 2016
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
smile Re: Video generation

Many thanks Emmanuel and congratulations for the product. I'll download the 5.3 beta, follow your suggestions and I'll let you know. Hope 5.3 will become final soon smile
[Nov 2, 2016, 7:53:28 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
FranzMontana
Newbie



Italia
Joined: Oct 3, 2016
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Video generation

Emmanuel,
where can I find a documentation about the sh3d file structure? I can find the directories with the furnitures but I can't understand the other files. I tried to open Sweethome3d.dtd but with no success (blank page)

Thanks

Francesco
[Nov 3, 2016, 8:35:48 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9423
Status: Offline
Reply to this Post  Reply with Quote 
Re: Video generation

SweetHome3D.dtd is not blank, it's a DTD, so just download it and open it in a text editor.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Nov 3, 2016, 9:32:59 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
FranzMontana
Newbie



Italia
Joined: Oct 3, 2016
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Video generation

Sorry Emmanuel, I was meaning I'm getting a blank page when accessing the link http://www.sweethome3d.com/SweetHome3D.dtd you provided me and I don't get any file download popup.
[Nov 3, 2016, 10:33:14 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
Re: Video generation

Left-click the link and "Save liked content" / "Save target as..." or similar. It is there...
[Nov 3, 2016, 10:43:29 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
FranzMontana
Newbie



Italia
Joined: Oct 3, 2016
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Video generation

Got it. Many thanks for the patience.... I'll let you know the result.
[Nov 3, 2016, 1:13:15 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ 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 2024 Space Mushrooms - All rights reserved