Jump to content

mouse events and camera movement


ua4192
 Share

Recommended Posts

Hi again.

Is it possible to detect camera movement to trigger a function?

As my main problem is to render all my meshes (millions of vertices) my idea is to replace the current scene (meshes) by its bounding box while camera is moving and when camera will stop moving then make the meshes visible again.

 

Does it make sense for you?

 

Best regards

Link to comment
Share on other sites

Hi guys.  I did some experimenting.

Open console, focus canvas, start hitting arrow keys.  No "camera moved" reports to console.

I can't get my PG's render loop... to "see" the camera being arrowkey-positioned. 

What the heck?  I seem to have forgotten how to code. (Wingnut bangs himself in the head with a shoe)  heh. 

Assistance welcome.  Goofy.  Somehow, I got stupider.  I didn't know that was at-all possible.  :)

Link to comment
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...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...