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: 63
Posts: 63   Pages: 7   [ Previous Page | 1 2 3 4 5 6 7 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 100435 times and has 62 replies Next Thread
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 6127
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

Sorry, I forgot to mention that you should call setAerialViewCenteredOnSelectionEnabled(true) on user preferences available in HomePreviewComponent. Hope it will work this time...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jan 4, 2018 7:30:58 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 
omrico
Newbie




Joined: Dec 26, 2017
Post Count: 4
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

It worked, thank you!
[Jan 4, 2018 8:57:47 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Gildaniel
Newbie




Joined: Aug 11, 2017
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Export to HTML5 plug-in

Hello!

Could you please help me: is it possible to insert some code into html in order iframe with 3d-model opens in new browser tab in full screen mode?

My code:
<body>
<script type="text/javascript" src="/3dplan/newlib/big.min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/gl-matrix-min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/jszip.min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/core.min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/geom.min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/batik-svgpathparser.min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/jsXmlSaxParser.min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/triangulator.min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/viewmodel.min.js"></script>
<script type="text/javascript" src="/3dplan/newlib/viewhome.min.js"></script>


<style type="text/css">
/* The class of components handled by the viewer */
.viewerComponent {
}
</style>

<div class="logo"style="text-align: center">
<a href="/"><img src="/bitrix/templates/regard/img/regard.svg"></a>
</div>
<br>
<br>



<H1 style="text-align: center; text-decoration:underline; cursor: pointer"
onclick='viewHomeInOverlay("House 23.sh3d",
{roundsPerMinute: 1,
widthByHeightRatio: 4/3,
navigationPanel: "none",
aerialViewButtonText: "Aerial view",
virtualVisitButtonText: "Virtual visit",
level: "2 floor",
selectableLevels: ["1 floor", "2 floor", "Roof"],
activateCameraSwitchKey: true,
viewerControlsAdditionalHTML: "",
readingHomeText: "Loading",
readingModelText: "House",
noWebGLSupportError: "No WebGL support"
})'
>TAP HERE TO OPEN 3D-MODEL IN NEW TAB</H1>



Thank you!
[May 8, 2018 3:43:17 PM] Show Printable Version of Post    View Member Profile    Send Private Message    Hidden to Guest [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 63   Pages: 7   [ Previous Page | 1 2 3 4 5 6 7 ]
[ 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-2018 eTeks - All rights reserved