You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
index call the other function to add the light, the texture and the object in the apartment with their animations.
The functions init, create the window, dwelling that is imported from Lar model created by me, and add the texture and the light in the apartment.
The scripts function create some util function for adding texture on dwelling and load OBJ, lighting, create a sphere Mesh geometry that emulates Lamp video create a video texture with animation on click,animationcreate functions that load OBJ, MTL and interact ,sound and animation,with the object 3D, floor add the texture floor on dwelling, walladd the texture wall on dwelling, roof create a geometry of roof, object create all the objects in the apartment, some objects are created by me, other are object imported; the most have been modified by me( by adding geometries or by changing the mtl file),pointerLock contains the method that allow the use of first person control,particles contains the definition of particles,skybox contains definition and integration of dwelling skybox.
Graphic Techniques:
bump map, repeat wrapping -> frame and walls.
Video Texture -> tv, and pc.
texture -> walls,floors,objects.
tween animation -> lamp rotation, opening/closing door and windows, cloud movement, switch animation with light and sound.