Increased Performance Thanks To Updates In 3D Model Rendering

April 28, 2020

Our goal at 3D Wayfinder has always been to bring affordable products and services, without sacrificing quality. Accordingly, we have made a few updates in our 3D model rendering. We are constantly updating our software to enhance your experience and to stay competitive in the venue management and digital signage market.

Like in motion pictures, computer graphics create images at a certain frequency – frames per second (FPS). This dictates how we perceive motion and the smoothness of it. For example, early silent films had a FPS of about 16-24. This was enough to give a lifelike representation of movement, that would amaze people. Our usual frame rate is 30 FPS, because anything larger is unnecessary. In addition, FPS also affects the performance of the devices that process it. Obviously, the higher the FPS and the level of detail, the more resources a device has to allocate to display it.

Our 3D models have a varied level of detail, according to the client’s wishes. For instance, a 3D model of a hospital can contain chairs, people and beds with pillows and blankets.

3D Wayfinder R&D AS Demo Project showcasing hospital detailed 3D map.
A screenshot from our demo projects, which you can access by signing up!

More Detailed Shadows Without Reducing Performance

In order to reduce pressure on the device’s GPU (Graphics Processing Unit) we have stopped the rendering of shadows for every frame. The position of a theoretical sun in the model is always the same. Therefore the shadows stay the same as well. There is no need to waste resources on rendering shadows again and again. The shadows still change according to the number of floors displayed. This allows the device to save energy and use it’s processing power for other needs.

Moreover, we added an option to increase the level of detail for shadows. Until now we used a 2048×2048 image for shadows, which is fine for smaller projects. Now it is possible to increase size from our settings page depending on the hardware capabilities of your project. This doesn’t reduce the device’s performance in a significant way, but does offer a more realistic experience.

These might be a small changes, but we believe that fine-tuning details like these make us the market leader!

« »

Our WebGL rendering engine supports now full screen mode

August 7, 2015

We have added full screen mode to FRAK WebGL engine. Now it is possible to create 3D Wayfinder templates that can open 3D floor plans in full screen.

Full screen with browsers is being used for watching videos, using map application, playing games etc. Usually wayfinding applications are configured to run in full screen by default. So there will be no need for separate full screen mode from browser. When embedding 3D Wayfinder in web-pages or web based applications, going full screen can be really useful. This gives the possibility to experience 3D content through the whole screen when needed. Also in normal state 3D canvas can be mixed with other HTML content keeping the 3D area smaller and it needs less performance.

To use full screen mode with FRAK engine you have to make following API call:
Engine.requestFullscreen(useUpscaling)

Exiting full screen:
Engine.exitFullscreen()

Engine.requestFullscreen() has to be called by a user interaction (i.e. click on a button), as browser need user action for going full screen.
If “useUpscaling” is set to true the canvas is resized to screen dimensions, but rendering will continue at the original resolution. This allows for faster rendering, but the image quality will suffer.

Full screen is required for stereoscopic rendering, this we will also add to 3D Wayfinder soon to provide real-time 3D experience with 3D Wayfinder. Stay tuned!

« »

Faster loading with JSON 3D model format

May 25, 2015

Now the JSON 3D model formats are also implemented in 3D Wayfinder. This gives us better browser-side loading time as browsers’ native JSON parser is faster, than parsing binary models in Javascript. The average gain in loading time is 55%, which means that 3D Wayfinder is loading more than 2 as fast as before.

Below are testing results with 2 different project. It seems, that the improvement affects more larger projects.
We have made a minor change in loading logic also. Now the application will render the 3D models before all the textures are downloaded. Textures will appear as they are loaded. This allows to start using 3D wayfinder as soon as the 3D model files have been loaded.

Here are the initial test results for 2 projects:

1. Project: demo
———————————————–

Project statistics:
Visible faces (opaque/transparent): 5653/646
Visible renderers (opaque/transparent): 10/24
Visible batches (opaque/transparent): 10/4

Total geometry loading time (measured by floors):
Binary format: 1666.570ms + 1941.258ms = 3607.828ms
JSON format: 846.446ms + 945.121ms = 1791.567ms

Loading times without network transfer time:
Binary format: 1211.667ms + 1149.466ms = 2361.133ms
JSON format: 46.198ms + 31.087ms = 77.285ms

2. Project: Large customer project
———————————————–

Project statistics:
Visible faces (opaque/transparent): 229533/6459
Visible renderers (opaque/transparent): 629/13
Visible batches (opaque/transparent): 49/13

Total geometry loading time (measured by floors):
Binary format: 23673.256ms + 13435.160ms + 4924.420ms = 42032.836ms
JSON format: 10225.722ms + 2929.486ms + 3642.354ms = 16797.562ms

Loading times without network transfer time:
Binary format: 20016.574ms + 11549.349ms + 3087.721ms = 34653.644ms
JSON format: 226.997ms + 136.840ms + 70.465ms = 434.302

JSON model specifications can be found from FRAK Github repository.

« »