Priyank.Jain2 Posted June 30, 2014 Share Posted June 30, 2014 (edited) I have created a small sample and tried to deploy it for webgl platform. For that I created ung file of core and my sample project and then packed them using emscripten file_packager. And using same main.html file(provided in source\app\WebGL) to launch it, BUT the webpage is not working and shows Unigine loading screen only. Log below Loading "unigine.cfg"... Set 1600x900 windowed video mode Unigine engine http://unigine.com/ Binary: WebGL CLANG 3.2.0 Release Jun 4 2014 r14513 Features: OpenGLES Flash Editor NoRTTI NoException App path: Data path: data/ Save path: ---- System ---- System: Unknown System CPU: Unknown CPU x1 GPU: Unknown GPU x1 System memory: 256 MB Video memory: 256 MB Sync threads: 0 Async threads: 1 ---- MathLib ---- Set Generic simd processor ---- Sound ---- NULL ---- Render ---- Renderer: Unknown OpenGLES vendor: Mozilla OpenGLES renderer: Mozilla OpenGLES version: WebGL 1.0 Found optional GL_OES_texture_half_float Found optional GL_EXT_texture_filter_anisotropic Shading language: OpenGL ES GLSL 1.00 (WebGL) Maximum texture size: 16384 Maximum texture units: 20 ---- Physics ---- Physics: Single-threaded ---- PathFind ---- PathFind: Single-threaded ---- Interpreter ---- Version: 2.69 Unigine~# world_load basic Loading "core/unigine.cpp" 2026ms Loading "core/locale/unigine.locale" dictionary 31ms Loading "core/properties/unigine.prop" 2 properties 7ms Loading "basic.cpp" 116ms Loading "basic/materials/project.mat" 0 materials 2ms Loading "basic.world" 54ms Is there any process documented for this? Edit : with some additional log messages I can see the my init() function is getting called but the update() get called only once. Thanks in advance. -Priyank Edited July 1, 2014 by Priyank.Jain2 Link to comment
Priyank.Jain2 Posted July 3, 2014 Author Share Posted July 3, 2014 I am still unable to resolve this, The last log says Unigine::Engine::init(): is already initialized Anyone has any Idea? I also observed that many of the existing samples provided with Unigine source(source\app\WebGL) are also not working. But the one creating dynamic meshes are working fine. Any input? Link to comment
binstream Posted July 3, 2014 Share Posted July 3, 2014 WebGL port is deprecated, it is not planned to support it until major improvements in WebGL implementations by browsers. Link to comment
Recommended Posts