Three.js: Editor: add FPS counter

Created on 18 Mar 2019  路  2Comments  路  Source: mrdoob/three.js

It would be useful for the editor to have an FPS counter - probably the best place for this would be in the lower left of the viewport along above the object, vertices, triangles count.

Alternatively, stats.js could be added, perhaps in the viewport top left. That would have the advantage of showing memory data as well. In that case it should probably be disabled by default since it's a bit more visually distracting.

@Temdog007 what do you think?

Editor Enhancement

Most helpful comment

I would just add ms to ViewportInfo and add simple code to calculate how long rendering the frame took.

All 2 comments

I think using stats.js would be the easiest and most logical way to do this.

I would just add ms to ViewportInfo and add simple code to calculate how long rendering the frame took.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jlaquinte picture jlaquinte  路  3Comments

seep picture seep  路  3Comments

donmccurdy picture donmccurdy  路  3Comments

boyravikumar picture boyravikumar  路  3Comments

Horray picture Horray  路  3Comments