Skip to content

WalkTheWeb v3.6.4

Compare
Choose a tag to compare
@adishno adishno released this 31 May 17:31
· 94 commits to WalkTheWeb since this release
3f12bf2

Release Date: 5/31/2023
By Aaron Dishno Ed.D.

This software is a hosting software for 3D Websites as part of 3D Internet Metaverse that combine 3D Gaming with 3D Shopping. It is a 3D CMS for 3D Games and 3D Plugins.

Demo 3D Website: https://3d.walktheweb.com/

This release includes the ability to teleport within the same 3D Community! We corrected rendering groups for admin tools, login process extras, admin file functions, and admin right click functions.

Here are the details for this release:

Set First Building Updates - The Set First Building in a 3D Community (under Options and settings) is designed to pick the first 3D Building location when this 3D Community is used in a Create 3D Scene Wizard. (meaning you select the building, community, and the system will know where to place that first building in the community). The building guide was not showing. We added the rendering group id to the building guide and now it shows. Helpful hint: when adding the first building location, select the avatar camera off so you can move the camera anywhere to get a good view of the location (This also helps when creating the snapshot). notice that it may start under the land if you have a hill in front of you when you open the building guide. The avatar camera off will let you look under the ground to find it.

Try Catch for Render - There are times where the scene render can throw an error, like when we update the landscape and it takes longer to reload when you cancel. We added a try catch around the main scene.render() function so that it will suppress the error and just try again if it has any issues. This will keep it from failing and shutting down the render loop.

File Uploads for Admins - Previously, file uploads always went to your own uploadid folder under your user. Now, if you are logged in as an Admin, the upload process with pass the upload object path and put files into that folder on the server. This allows admins to upload to any user, community, building, thing, avatar, or 3D Model folders (all under the content folder).

Updated function call for inputClick - In the functions folder of the plugins, we update the addScriptFunction call to use inputClick instead of onClick.

Plugins onClick function Updated - In all of the existing plugins, we renamed the onClick function to inputClick to match the main function and updated the function to return the zpickedname. We also set up conditions (or added to the existing conditions) to set the zpickedname to ' so that it stops processing the click on return if it already processed the click by name.

Renamed pluginOnClick to pluginInputClick - We renamed the input function pluginOnClick to pluginInputClick to match the new inputClick function where it is being called. We also added a return value of the zpickedname. If you return zpickedname = ' from your plugin functions, the main function will not process it as another click on other objects. This corrects the avatar movement to the item when you click on it.

Teleport in same 3D Scene - We added code to now teleport into the same 3D Scene as initiated. Just set up a spawn zone where you want to land, then add a teleport zone and select the same 3D Community that you are in with the spawn zone. We kept the avatar effect to disappear and use visibility to fade into the scene.

Save Button Text Material - On the Select Avatar 3D Form, the save button text was not loading the proper white text until you hovered over it and hovered away. We reset the texture material for the text to the white.

Display Name Cursor Placement - On the Select Avatar 3D Form, the display name text box cursor was defaulting to the first character in the display name when it opens it with a value. The cursor position is now set to the end of the name as expected.

Remember Me Checkbox Click - When logging in, the remember me checkbox was requiring a keyboard click to set it. Now it responds and changes with a mouse or touch click.

Delete Object Files Permissions - Since we changed the 3D Models to be able to merge like models, some of the file paths are no longer in our own user folders. Therefore, we updated the delete object file function to pass the object folder and check if you are an Admin and delete the file from the server. Otherwise if you are not Admin, it will look to see if it is in your own user folder before deleting.

Admin Mouse Right Click Editing - When in Admin Mode, when you right click to select an object, selecting 3D Things, 3D Buildings, 3D Models, and some 3D Web Objects were not selecting because of the updated name to include local as a location. We added an additional namepart 6 to select the base of those objects. Now it works as expected.

Guide Lines Rendering - When editing an object, the guide lines were not showing. We added the rendering group id as 1 and now they render in the correct layer.

Water not Rendering Corrected - In the 3D Scenes, the water was being created, but not set per rendering group, so it was not showing in the correct layer. This has been corrected by adding rendering group id 1..

Updated Babylon Viewer Path - When working with 3D Models in the Media Library (under Admin Mode), the preview pane was not pointing to the sub folder under the engine folder. This has been updated to use the most recent copy.

Teleport to 3D Community Scene Settings - When you teleport to another 3D Community, it now sets the fog, sun lighting, sky, and scene coloring during a teleport.

Show Action Zone Rendering - When the showActionZone function displays the action zones in the Admin Mode of a scene (Quick Editor Settings), the rendering groupd id needed to be set to 1 so that the drawn zones cut off at the ground.

Rendering Group for Ground - The rendering group for extended ground has been changed to 1. This puts it in the same group as the items on the ground and fixes the cut off of items that go under the ground.

Mouse Right Click now uses Render Groups - When the rendering groups were added previously, we updated the left mouse click to select with respect to the rendering groups. Now the Right mouse click in Admin Mode uses the same accurate selection process with respect to rending groups.

Right Click on 3D Items in Admin Mode - When in Admin Mode, the 3D Objects were not allowing them to be selected unless the checkbox for isPickable was selected in advanced options. This logic has been changed to default to is pickable and always pickable if in Admin Mode.

pluginsResetMoldColor Renamed - pluginsResetMoldColor function in the wtwplugins class that creates JavaScript functions, has been renamed to pluginsSetMoldColor to match the function that is adding the plugins access hook.

Added Check Login Process - We added a WTW.checkLogin() JavaScript function that is executed when the window (tab) receives focus that looks to see if the user session is still active and returns a true or false. If false and if the user is in Admin Mode, they will be redirected to the home page and all values set for logged out. If True, the session continues without change. This process also adds a function to the wtwusers class and users handler for isUserLoggedIn().

Logout Redirect Sequence - We modified the logout sequence slightly to make sure the logout for the session happens before a redirect to the index.php page (when they are on the admin.php page (Admin Mode).

Share Avatar Save Duplicate Decode Removed - During the save Share Avatar process (saveAvatarTemplate function in the 3D Internet Plugin), the handler decodes the name, descriptions, and tags. Teh decode process was being duplicated in the save Templates Class function causing the values to be blank. The duplicate has been removed.

Corrected Animations List - When calling the /connect/avatar.php file, a single animation was being omitted. Turns out that the variable for the index was being reused in the code and would cause it to overwrite one animation with the onwait animation. This has been corrected by renaming the index variable.

Get File Contents with Spaces - We added a space replacement of %20 to the URLs so that the use of file_get_contents will properly support spaces in the file names. This applies to all instances in the WTW code.

Added Verify and Create Folder - Added a verifyFolderExists function to classes wtw, wtwdb, wtwhandlers, wtwconnect, and wtwplugins to make it consistent with adding folders with mods and proper umask procedures. This function is now used and replaced all similar instances within existing functions.

Changed order of Camera Loading - With the new SkyBoxes, some take longer to load causing the camera to not be loaded when the scene render loop begins. We now changed the order of loading to make the camera load before the sky, fog, and extended ground to make sure it completes before the render loop begins. This corrects the occasional no camera defined error message.

Set Content Rating for Mobile - The content rating for mobile field needed to be checked for null before making the update to the rating text.