Everything related to SDK.
By JDHill
#197062
Hi Mike,

It's looking for a magic string in the 5th parameter, try this instead:

maxwell->setScreenRegion( x1, y1, x2, y2, "REGION");

That should do it.

JD
By JDHill
#197076
Hi Mike,

Sorry, I haven't got much more for you, it works fine here. Only thing I can think of, if you save or render the .mxs from Studio, you'll lose the region...you need to render the .mxs directly with mxcl.exe. But that's about it...just make sure to check that everything else is being written correctly.

Some code might help if you still can't get it working.

JD

[edit: one more thing, make sure you're writing at least one camera into the scene, and that maxwell->setResolution( x, y ) is larger than the region you're defining.]
By JDHill
#197108
Hi Mike,

Glad you figured it out. Sorry to say though, that the ability to read .mxs is not present in the SDK.

JD
Help with swimming pool water

Hi Andreas " I would say the above "fake[…]

render engines and Maxwell

Other rendering engines are evolving day by day, m[…]