NEWSPOLÍTICA DE PRIVACIDAD

ARKIVE 96. TODOS LOS DERECHOS RESERVADOS.

Choosing technology for web 3D: lightweight libraries versus game engines

A business-level comparison of WebGL libraries and game engines for browser 3D: loading, cost, hiring and when each one fits.

Browser 3D is built in one of two ways: with a lightweight rendering library that is part of the web page, or with a game engine exported to run in the browser. Libraries load faster and fit websites better. Engines offer more built-in features for complex, game-like experiences. The choice affects loading time, running cost and who can maintain the result.

The two families

Libraries such as Three.js and Babylon.js are JavaScript code that draws 3D inside an ordinary web page. Game engines such as Unity and Unreal are large tools made for games, which can package a project to run in a browser or stream it from a server.

Lightweight libraries

  • Small downloads, so the scene appears quickly, including on phones.
  • The 3D sits inside normal HTML, which keeps text readable by search engines and assistive technology.
  • Easy to connect to the rest of a site: catalogue, checkout, forms, analytics.
  • Open source, with no licence fee.
  • More is built by hand, so advanced effects take developer time.

Game engines in the browser

  • Mature tools for physics, complex animation, large worlds and visual editing.
  • Artists can assemble scenes without writing much code.
  • The exported package is large, so first load is slow and phone support is weaker.
  • The experience tends to live in its own box, apart from the page around it.
  • Licence terms may apply, depending on the engine and your revenue.

Streaming from a server

A third route runs the engine on a remote machine and sends video to the browser. Visual quality is high on any device. Each visitor uses server capacity, so cost grows with audience size, and the experience depends on a good connection.

Costs beyond the build

Consider hosting and data transfer, any engine licence, streaming capacity if used, and the price of updating content. Also consider hiring: web developers who know a 3D library and game developers are different pools of people.

Matching the tool to the project

  • Marketing sites, product viewers and configurators: a lightweight library.
  • Training simulations, games and large explorable worlds: a game engine.
  • Showpiece visual quality for a limited audience, such as a sales suite: streaming.

Ask any supplier why they propose a given technology. The answer should be about your audience and devices, not about what the team happens to know.