Jump to content

Search the Community

Showing results for tags 'DM_SceneHook'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Lounge/General chat
    • Education
    • Jobs
    • Marketplace
  • Houdini
    • General Houdini Questions
    • Effects
    • Modeling
    • Animation & Rigging
    • Lighting & Rendering + Solaris!
    • Compositing
    • Games
    • Tools (HDA's etc.)
  • Coders Corner
    • HDK : Houdini Development Kit
    • Scripting
    • Shaders
  • Art and Challenges
    • Finished Work
    • Work in Progress
    • VFX Challenge
    • Effects Challenge Archive
  • Systems and Other Applications
    • Other 3d Packages
    • Operating Systems
    • Hardware
    • Pipeline
  • od|force
    • Feedback, Suggestions, Bugs

Product Groups

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Name


Location


Interests

Found 1 result

  1. Hi Everybody, Does anyone know of a way to force the viewport to redraw? Even if from python? I tried "hou.ui.triggerUpdate" but no to avail. I've tried calling DM_VPortAgent::doRender(REgetMainRender(), view_width, view_height). Which does call DM_SceneHook::render. I've also tried REgetRender(), but nothing happens until the next time a state updates the viewer and it just renders the first frame blank, usually minus what the scene hook renders. My thought is that RegetRender() is not the "current renderer" though in the grand scheme of things I really have no frame of reference for what that means. I attempted to use REgetMainRender().createNewRenderContext() but that just crashes even though it's not null, if I remember correctly. I also tried some more out there stuff like creating an FBO, flushing the renderer, swapping the frame etc, etc. Usually nothing happens. Is it possible to force a redraw from a DM_MouseHook? I just found the section in the Docs about DM_MouseHook is does seem to imply this is the correct usage, I am missing something really simple?
×
×
  • Create New...