Mike Battcock

mike.battcock

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Mplay scripting Dec. 20, 2024, 8:47 a.m.

Yea but there are a few issues with the OpenGL ROP too:

- its not representative of the viewport, e.g. it doesn't have the viewport background colour, it doesn't show the grid, the lighting settings are separate to the viewport settings. This can be good sometimes but also unhelpful if you just want a straight viewport render that matches what you can see in the viewport
- the frame range in mplay starts at 1 regardless of the frame range you set on the OpenGL ROP - it does actually render the correct frames, but the playback starts from 1 in Mplay which is unhelpful and inconsistent with doing a flipbook from the Flibpook button

Mplay scripting Dec. 18, 2024, 2:38 a.m.

I'm writing a pyside tool for Mplay to publish/export flipbooks, so I want to display the current frame range and resolution, but I can't find a way to get the resolution and the playback range of the current flipbook session.

In Mplay's textport frange will return the global frame range, but not the playback range. And I can't find anything to return the current resolution or view dimensions.

Even better would be in python but Mplay doesn't seem to play well with python. You don't have access to the ui so something like the following doesn't work (not that surprising since its referring to a scene viewer..):

import hou
import toolutils

scene = toolutils.sceneViewer()

settings = scene.flipbookSettings()

res = settings.resolution()

Write console to file Sept. 11, 2024, 1:28 p.m.

Hey, did you figure this out in the end? I'm having a similar issue...