Video generation

This topic has been viewed 6211 times and has 7 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
FranzMontana
Posts: 5
Joined: Mon Oct 03, 2016 12:49 pm
Country: Italia

Video generation

Post by FranzMontana »

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)?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Video generation

Post by Puybaret »

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:

Code: Select all

<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
FranzMontana
Posts: 5
Joined: Mon Oct 03, 2016 12:49 pm
Country: Italia

Re: Video generation

Post by FranzMontana »

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 [:)]
FranzMontana
Posts: 5
Joined: Mon Oct 03, 2016 12:49 pm
Country: Italia

Re: Video generation

Post by FranzMontana »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Video generation

Post by Puybaret »

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
FranzMontana
Posts: 5
Joined: Mon Oct 03, 2016 12:49 pm
Country: Italia

Re: Video generation

Post by FranzMontana »

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.
okh
Posts: 1545
Joined: Sun May 12, 2013 9:43 pm

Re: Video generation

Post by okh »

Left-click the link and "Save liked content" / "Save target as..." or similar. It is there...
FranzMontana
Posts: 5
Joined: Mon Oct 03, 2016 12:49 pm
Country: Italia

Re: Video generation

Post by FranzMontana »

Got it. Many thanks for the patience.... I'll let you know the result.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest