首頁  | 最新話題  | 附件列表  | 搜尋
 歡迎 Guest  |  註冊新使用者  |  登入
登入名稱  密碼
 

Sweet Home 3D Forum



正在瀏覽此主題的非會員數:
話題狀態: 啟用
此話題中所有文章數: 153
文章: 153   頁: 16   [ 上一頁 | 1 2 3 4 5 6 7 8 9 10 | 下一頁 ]
[ Jump to Last Post ]
發表新話題
作者
上一話題 此文章已經看過 3538838 次 而且有 152 篇回應 下一話題
okh
Advanced Member




註冊日期: 2013年5月12日
文章數: 1545
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Opera is also one of my test browsers, never experienced problems.
[2016年10月14日 下午7:16:54] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
Puybaret
Expert
會員大頭照

France
註冊日期: 2005年11月7日
文章數: 9432
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Hello everybody,

Here's the new versions 1.2 of Export to HTML5 and Export to XML/OBJ plug-ins.
Both plug-ins are now based on the management of the new XML entry that was added to .sh3d files in Sweet Home 3D 5.3. The JavaScript part of the Export to HTML5 plug-in now supports pinch for zoom under Android and Windows, and was optimized to draw 3D lines faster.

To let the XML entry generated by Export to XML/OBJ plug-in share the same DTD as the Home.xml entry in .sh3d files, its XML format had to evolve a little to fix some typos and other small problems:
- logitude attribute of <compass> element was corrected as longitude
- nameVisible attribute of <room> element was renamed as areaVisible
- size attribute of <textStyle> element was renamed as fontSize
- <Text> element was renamed as <text> with lowercase letters
- the default value of wallsAlpha attribute of <environment> element is now 0 instead of 1
- the default value of thickness attribute of <polyline> element is now 1 instead of 0.
I sincerely hope these changes won't bother you too much. A few attributes were missing too but that won't change the way you could have already use the XML files generated by the plug-in. The properties stored in HomeObject instances were also saved in <property> elements, and read in JavaScript if needed. Finally, the attributes named structure and exportFlags are the only additional attributes in the <home> element written by Export to XML/OBJ plug-in.

Hope you'll enjoy these improvements smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[2016年12月13日 下午6:17:57] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
rhawke
Newbie



United States
註冊日期: 2016年12月27日
文章數: 11
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Hi Emmanuel,

Do you think at some point in the future this plugin could be enhanced to add WebVR functionality? I have tried the obj2vr app and while it looked promising, there are bugs and issues (mainly the flipped objects, minimum viewing distance and lighting). It appears like it is not being developed anymore. I also tried uploading to Sketchfab since they use WebVR but it is difficult to get the same great sky textures and lighting options as in Sweet Home 3D. The rooms just don't look as good.

This is the link to the WebVR project:
https://webvr.info/

I have recently used a few apps that have WebVR enabled and it is already at a very usable level despite the beta status.

Or are there any other recommendations on how to view homes with VR?

Thanks

Robert
[2017年1月3日 上午12:36:49] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
DemiChron
Newbie



Russia
註冊日期: 2017年1月14日
文章數: 1
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Where can i find unminified JS code ?
thanks)
[2017年1月14日 上午12:20:59] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
Puybaret
Expert
會員大頭照

France
註冊日期: 2005年11月7日
文章數: 9432
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Rhawke, sorry, I don't have knowledge about WebVR yet, so it's difficult for me to answer.

DemiChron, source code of Sweet Home 3D JS project is available here.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
----------------------------------------
[編輯文章 1 次, 最後修改: Puybaret 於 2017年9月6日 下午3:02:05]
[2017年1月14日 下午11:41:21] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
okh
Advanced Member




註冊日期: 2013年5月12日
文章數: 1545
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Before I start updating the lib directory: Are Export to HTML5 plug-in 1.2 lib/*.js files compatible with older files (.zip and viewHome.html). Just about to export a couple of new homes, but would wish for the earlier to work as well. Or the other way around - that the existing 1.0/1.1 js files can deal with the new export.

Not a big problem, and fully understandable if not, just curious if I need to set aside some extra time to redo the old files. Will at some point anyway.

ok
[2017年2月18日 下午3:10:47] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
Puybaret
Expert
會員大頭照

France
註冊日期: 2005年11月7日
文章數: 9432
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Just replacing the old lib directory by the new one should work smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[2017年2月18日 下午3:44:50] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
okh
Advanced Member




註冊日期: 2013年5月12日
文章數: 1545
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Thanks. We will see whether I take the chance... smile - or do the entire presentation differently. Btw. I experienced some trouble. Updating files and viewing with Opera, some of the settings (the .zip file maybe) must have been cached somewhere, because the virtual visitor location refused to change even if the files were updated on the server. Spent a frustrating 30 minutes trying to figure out why my virtual visitor was always far underground even if the files were updated. But then I tried another browser. Probably nothing you can do about that - but good to know if someone is struggeling with updating their exports. Just try another browser (or clear all cached files).

Anyway. The HTML export really is a nice tool. Just to let you know your efforts are appreciated. ok
[2017年2月18日 下午4:25:57] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
dezik
Newbie




註冊日期: 2017年4月26日
文章數: 1
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Heya. Is it possible to add Full Screen mode for better mobile experience? Tweaking resolution in html file doesn't really help to view it perfectly.
[2017年4月26日 下午7:40:05] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
easymodulaire
Newbie



France
註冊日期: 2017年5月17日
文章數: 1
狀態: 離線
回覆此篇文章  引言回覆 
Re: Export to HTML5 plug-in

Hello Emmanuel, Thanks for you very nice work !
Sorry to ask this question but I find this plugin very useful so I downloded it
After adding the plugin "exporter en hmtl", I" got a a zip file and tried to open with Firefox the file "ViewHome.

Here's the error message I got :

Error: ReferenceError: viewHome is not defined

I put myself as a customer receiving his plan to see how is was, and it was not.

My laptop is pretty new, with Windows 10 pro and I use mainly Firefox. Perhaps I need another plugin or software to see it work

Thanks a lot for your help and have a very nice day.

BR
[2017年5月17日 下午4:01:14] 友善列印    查看會員資料    傳送私人訊息 [返迴此篇文章頂端] 回應文章前,請先登入!  回到頂端 
文章: 153   頁: 16   [ 上一頁 | 1 2 3 4 5 6 7 8 9 10 | 下一頁 ]
[ Jump to Last Post ]
顯示可以列印的版本  發表新話題

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© 版權所有2024 Space Mushrooms - 保留所有權利