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

konijn picture konijn  路  3Comments

akshaysrin picture akshaysrin  路  3Comments

fuzihaofzh picture fuzihaofzh  路  3Comments

Bandit picture Bandit  路  3Comments

Horray picture Horray  路  3Comments