Download

Online

Gallery

Blog

  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: 9
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4833 times and has 8 replies Next Thread
Xiste
Advanced Member
Member's Avatar

Norway
Joined: Apr 18, 2014
Post Count: 218
Status: Offline
Reply to this Post  Reply with Quote 
Hidden HTML- tricks anyone?

I wonder what I'm doing wrong here.
I made this viewHome abouut three years ago. It was my first attempt at making a HTML-view, so it might have been beginners luck that it turned out exactly as I wanted, easy to move around inside, and I can zoom in an out at will.
Now, however, when I try to make a similar HLTM-view fa section of my new studio, I find it impossible to navigate in it.

So I'm wondering if there's any help to get here, from someone who is more familiar with this HTML- function.
This part of the project is to create a 3D representation of the speaker configuration of my new mix stage.


HERE is a project file in case some would like to give it a try.

Mix stage,speaker layout, walls removed. Very wide screen.




Mix stage with lights on. Normal lense.

Xiste
[May 29, 2020, 7:23:07 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hidden HTML- tricks anyone?

I don't understand exactly what your issue is. Your sh3d file contains only two 3D objects (the speaker layout and the camera control) and a text.
With the viewer it works exactly the same way as on the app.

3D AUDIO
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
[May 29, 2020, 9:37:02 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Xiste
Advanced Member
Member's Avatar

Norway
Joined: Apr 18, 2014
Post Count: 218
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hidden HTML- tricks anyone?

Hm...

I'm not able to zoom in on the text in the HTML-viewer, neither on Windows or Mac. The same goes for your file. It's exactly like mine.

This is a screenshot.
I can not zoom in any further than this, so there's no way anyone can read the text (which is "the issue").



On the viewer for my old studio, I can zoom on any detail.
The object is 16 x 6 meters, so it's not a tiny object.


The quick-fix for this was to ask the intended recipients of this HTML-view to download SH3D, and use that as a viewer, and send them the project file. That's why I exported the whole project as one obj-file, so they couldn't mess it up.
The camera control is just an invisible box, and used to position the Arial viewer.

But thanks anyway for taking the time to look at this. :)

Xiste
[May 30, 2020, 1:09:34 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
UbuntuBirdy
Advanced Member
Member's Avatar

Switzerland
Joined: Aug 31, 2017
Post Count: 421
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hidden HTML- tricks anyone?

Ok, now I understand what you mean. This is the aerial view, it's not possible to zoom into an object (it's always almost totaly viewable). But you can solve this issue by setting the eyes height of the virtual visitor to let's say a third of what you have set now.
----------------------------------------
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
[May 30, 2020, 11:46:36 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Ceciliabr
Advanced Member
Member's Avatar

Denmark
Joined: Jul 7, 2013
Post Count: 619
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hidden HTML- tricks anyone?

My immediate reaction here is that placing your object on Level 1 is creating the problem. Try creating one or two more levels, and place your objects on the top level. I think that will do the trick.

BTW: Love your cinema rendering. Is this going to be an irl project?

Be safe.

Cecilia
[May 30, 2020, 1:43:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Xiste
Advanced Member
Member's Avatar

Norway
Joined: Apr 18, 2014
Post Count: 218
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hidden HTML- tricks anyone?

Thank you both. I will try this right away.
[May 30, 2020, 2:12:05 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Xiste
Advanced Member
Member's Avatar

Norway
Joined: Apr 18, 2014
Post Count: 218
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hidden HTML- tricks anyone?

Yup!
After some tries and errors, now it works!


3DView

Both the virtual and the arial view is perfext.

Thank you both so much!

Xiste
[May 30, 2020, 3:58:00 PM] 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: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hidden HTML- tricks anyone?

There's another solution, which consists of enabling the preferences option Aerial view centered on selection then selecting the item that should be used as rotation center.
If you don't want to bother too much with JavaScript, copy these lines of codes just before the last </script> line of the HTML page:

setTimeout(function() {
homeComponent.getUserPreferences().
setAerialViewCenteredOnSelectionEnabled(true);
homeComponent.getHome().setSelectedItems(
[homeComponent.getHome().getFurniture() [0] ]);
}, 1000);

Here, this piece of code selects the first piece of furniture (represented by 0 between brackets []). If you want an other one, change the number between brackets [1] for the second one, [2] for the third one (not taking into account items in groups).
The last number 1000 represents the delay in milliseconds before this code is executed. Maybe it will have to last longer in your case.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[May 30, 2020, 9:13:11 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Xiste
Advanced Member
Member's Avatar

Norway
Joined: Apr 18, 2014
Post Count: 218
Status: Offline
Reply to this Post  Reply with Quote 
Re: Hidden HTML- tricks anyone?

Thanks!

I will try this for my next html-view.
[Jun 1, 2020, 1:11:43 AM] 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 2006-2024 eTeks - All rights reserved