InternetTable of contentsThis documentation explains how to build for Web target (embedded in a browser) with the ShiVa Authoring Tool. This publishing allows to create a webpage with the 3d included using the ShiVa3D web plugin. PrerequisitesThe web plugin allows to display a stk file generated with ShiVa Editor on a webpage, the stk file can be online, on a server, or offline on your hard drive.A progress bar will be displayed first while the stk file is being loaded, if the progress bar behaviour is bad, please check on your server if the headers are sent, the important one is the 'content-lenght' header. You can use Http Live Header under Firefox to check that. Step1 : ContentLocation Please link to your website if you want a full control of the display, the php file on player.stonetrip.com is here only to prototype the behaviour. Step2 : AuthoringRenderingShadows SystemForce fail safeWindows only. Forces application to use the DirectX Engine, to ensure stability. Note that you may loose advanced rendering techniques such as normal map, bloom, etc. Allow full screen If checked, user can switch to full-screen using the right click menu. Allow right click If checked, user can use the right click menu to switch to full-screen, disable sound, access engine properties,etc. Use beta engine If checked, application uses the latest engine version available. For testing mode only, do not use in production. Smart cache If 'true', allows multiple sockets for data streaming (cf api ). If 'false', the cacheManager will not check for files updates on the server. EnvironmentAlternative loader Startup environment variablesSpecify startup environment variable (for instance to use in a custom loader). Please check the environment concept for more information.Plugin InstallationBackground color Exemple with color=ffffff: Custom Installation picturesPicture Folder URL ![]()
Format ConsoleWhen building the target, the console display the html code.Note that you can edit this code in the console directly then click on Save Generated Html, so save the code in a file. Stkobject.js documentationA complete documentation about the js itself is available here : http://www.stonetrip.com/developer/doc/authoringtool/stkobject |