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

We've adopted a similar outlook and stick to CPU r[…]

render engines and Maxwell

Funny, I think, that when I check CG sites they ar[…]

Hey, I guess maxwell is not going to be updates a[…]

Help with swimming pool water

Hi Choo Chee. Thanks for posting. I have used re[…]