Rendering web viewer

This topic has been viewed 6031 times and has 3 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
snake00jap
Posts: 6
Joined: Tue Oct 23, 2018 3:23 pm
Country: Maroc

Rendering web viewer

Post by snake00jap »

Hello,

I m wondering if it is possible to add lights on the html5 viewer with three.js or another framework.

The idea is to export to html and add some code to add lights to to view in order to render better than the standard with webgl.

Have anyone tried to make a test ? Can we help me to find where to investigate in the source code ?

Thank you !
snake00jap
Posts: 6
Joined: Tue Oct 23, 2018 3:23 pm
Country: Maroc

Re: Rendering web viewer

Post by snake00jap »

Hello,

Any idea ?

The goal is to make something like that :

https://archilogic.com/customize

Any help or clue may be verry nice :)

Thanks again
VeroniQ
Posts: 886
Joined: Tue Mar 03, 2015 9:01 am
Country: France

Re: Rendering web viewer

Post by VeroniQ »

Hello snake00jap, I am not sure it is what you are looking for, but your message reminds me this demo done by openHab. Hope it can help...
snake00jap
Posts: 6
Joined: Tue Oct 23, 2018 3:23 pm
Country: Maroc

Re: Rendering web viewer

Post by snake00jap »

Hi VeroniQ,

Thank you a lot for your help, unfortunatly I aleready see that. It is not exactly what I m trying to do.
In the 3D view, there is no light and shadow. My need is to render the 3D view with three.js (or an other framework) to enable lights etc...

If you take a look to the link a send previously (https://archilogic.com/customize) at the bottom, there is an exemple of what I try to do with the sweethome3D 3D view. In the sample, you can see the lights, the shadows etc with a good render quality.

Thanks again for your help !
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest