KnisterPeter

Rendering on demand

Recommended Posts

Hi there,

 

I would like to create a renderLoop which updates on demand. By that I mean we have no animations requiring a decent FPS rate but would like to save battery and CPU cycles.

By on demand I mean we would like to render a new frame when some model updates (underlying data model) or user interactions are noticed.

 

In three.js this would be possible, since the renderLoop is triggered by user code with window.requestAnimationFrame. Is something similar possible with Babylon.JS?

I've found the SceneOptimizer, but that is not meant to restrict the FPS but to degrade details to reach a defined FPS rate.

 

Any hints are welcome.

 

Best regards

Markus 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.