Page 1 of 1
Posted: Mon Nov 27, 2006 1:39 am
by JDHill
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
Posted: Mon Nov 27, 2006 3:28 am
by JDHill
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.]
Posted: Mon Nov 27, 2006 9:04 am
by JDHill
Hi Mike,
Glad you figured it out. Sorry to say though, that the ability to read .mxs is not present in the SDK.
JD