Sketchfab Forum

How to detach house model and plate (grass) from each other?


(Dom Pl) #1

I have house model and I frezed plate(grass) in 3dsmax but in sketchfab it isn't detach from whole house, how can i do that?

I upload this file using exporter script and converting to .3ds too.


(Dark Minaz) #2

You mean 2 materials or what exactly do you mean by detached?


(Dom Pl) #3

How should i prepare my model?
I want to have effect like here:


(Dark Minaz) #4

so 1 material for the plane and 1 material for the house with textures?
if you mean that only the house rotates and the grass stays, that would be impossible


(Dom Pl) #5

I want to that the grass stayed straight and i can rotate house alone without grass.

House has got about ten different materials (like: door, windows, walls ).

.


(Dark Minaz) #6

@james
That is not possible correct?


(Dom Pl) #7

it is not correct because i want horizontal grass and rotated house. I will use wiever api but i need first to preparer model.


#8

You should be able to do something with the Viewer API. Here's a game we made (click the bar at the top to focus the page, then use the arrow keys)

https://labs.sketchfab.com/experiments/game/


(Dom Pl) #9

that is exactly what i want, can you give me some tutorial, helpfull links to to something like that?


#10

You can find the documentation and other examples here:

https://sketchfab.com/developers/viewer
https://labs.sketchfab.com/experiments/
https://blog.sketchfab.com/how-terma-built-their-interactive-website-with-sketchfab/
https://blog.sketchfab.com/zodiac-built-interactive-boat-configurator-sketchfab/
https://blog.sketchfab.com/viewer-api-part-1-introduction/
https://blog.sketchfab.com/learn-to-code-with-the-sketchfab-viewer-api-part-2-controlling-the-camera/
https://forum.sketchfab.com/t/viewer-api-and-javascript-development/7748