How to load texture in Sweet Home 3D JS?

This topic has been viewed 5448 times and has 1 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
maestro88
Posts: 1
Joined: Sat Sep 12, 2020 1:54 pm
Country: Россия

How to load texture in Sweet Home 3D JS?

Post by maestro88 »

Can you even load textures and then change the floor and wall with them?

I am loading a texture using a property.

Code: Select all

applicationParams.texturesCatalogURLs = ['/textures/Contributions.sh3t'];


And then I transfer in

Code: Select all

new SweetHome3DJSApplication(applicationParams)


And textures still don't appear in the editor


Do tell me what am i doing wrong?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: How to load texture in Sweet Home 3D JS?

Post by Puybaret »

Changing textures is not supported in Sweet Home 3D JS yet. More precisely, there’s no User Interface to change the texture of Sweet Home 3D objects.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest