Search the Community
Showing results for tags 'webgl'.
-
Hello community.- Very new here, i am evaluating Unigine Engine just today. As far as for me making a purchase i cant think very much about saying SHURE, but theres one thing that is very important for me and it is Web Development, most of my work is web-based and if you say to me that Unigine supports Webgl or a simmilar solution, i would gladly make my purchase tomorrow. Your engine seems very good, in fact im a little impressed, but i need Web Development also. Thank you in advance.
-
We are exploring Unigine's Webgl port since some time and facing some issue while compiling the engine. We are performing manual compilation from engine directory, setting webgl as default platform and clang as default compiler in SConstruct. First few errors are engine\math/MathLib.h:457:31: error: use of undeclared identifier '_mm_set_ss'; did you mean '_mm_set1_ps'? _mm_store_ss(&v,_mm_sqrt_ss(_mm_set_ss(v))); engine\math/MathLib.h:457:19: error: use of undeclared identifier '_mm_sqrt_ss'; did you mean '_mm_sqrt_ps'? _mm_store_ss(&v,_mm_sqrt_ss(_mm_set_ss(v))); engine\math/MathLib.h:457:3: error: use of undeclared identifier '_mm_store_ss'; did you mean '_mm_store_ps'? _mm_store_ss(&v,_mm_sqrt_ss(_mm_set_ss(v))); engine\math/MathLib.h:497:19: error: use of undeclared identifier '_mm_rcp_ss' _mm_store_ss(&v,_mm_rcp_ss(_mm_set_ss(v))); engine\math/MathLib.h:812:33: error: use of undeclared identifier '_MM_HINT_NTA' _mm_prefetch((const char*)ptr,_MM_HINT_NTA); . . . . We are unable to get these implementations in xmmintrin.h of Emscripten. Does anyone else get success in compiling Engine for WebGL platform? Which Version of Emscripten and Unigine version was used. We are having Scons version : 2.2.0 Emscripten version : 1.12/1.20/1.23 Unigine version : unigine_2014_06_04
- 4 replies
-
- compilation
- scons
-
(and 2 more)
Tagged with:
-
We are currently exploring the potential of WebGL port of Unigine. And we have observed that LOD is not functioning properly for terrain irrespective of LOD and flatness value. And it is staying at lowest quality LOD unlike Windows. Does engine has some optimization for terrain data structure in WebGL(Like its not supported in Mobile platform)? Or is there something we are missing? Also if we don't disable collision detection of PlayerSpectator the browser hangs when it collides with terrain. Does anybody else observed this? Thanks in advance.
-
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