Using the Forge viewer? It’s time to switch to SVF2!

The big news on the Forge side of things over the last few weeks is probably the official release of SVF2. This is a more efficient streaming format the Forge viewer (from v7.25 onwards) can consume. We've been using SVF2 (which was previously known as OTG) for the last couple of years inside Project Dasher, and it's been brilliant. If you're interested in the technical details on SVF2, be sure to check the blog post that announced the SVF2 Beta from late last year.

Just for instance, we've seen significant performance improvements from using SVF2 for our public demo using the NEST building:

The NEST building using SVF2

In a nutshell, SVF2 uses instancing to optimize the use and storage of meshes within and across viewables. For instance, a typical building model contains a whole bunch of cuboids: SVF2 reduces many of these to a single mesh with varying transformations (these can, of course, represent rotations and translations but also – very importantly – non-uniform scaling). In any case the reduction in memory usage should speak for itself, and be enough to convince developers who haven't already switched across to do so.

I'll leave it there: do check the above-linked posts for more information on how to switch across to using this new format. (This should be really easy; the only current issue may be if you're relying on models with physical materials coming from 3ds Max, something that's expected to work in an update in the near future.)

2 responses to “Using the Forge viewer? It’s time to switch to SVF2!”

  1. Fernando Morales Tosar Avatar
    Fernando Morales Tosar

    Dear Kean, the svf2 format is not used in BIM360 or ACC platform, really?, when do you think we can expect to have this format included for these platforms?

    1. Hi Fernando,

      In Dasher we've been using SVF2 with BIM360 for quite some time. I'm not sure which resource says it's not possible - perhaps it's out of date? I suggest following up with whoever wrote that to check.

      Best,

      Kean

Leave a Reply to Fernando Morales Tosar Cancel reply

Your email address will not be published. Required fields are marked *