Maxwell Render

Maxwell Render Information Repository
It is currently Thu May 23, 2013 12:33 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject:
PostPosted: Mon Nov 27, 2006 1:39 am 
User avatar

Joined: Wed Nov 16, 2005 3:02 am
Posts: 7571
Location: desk #861
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

_________________
Next Limit Team


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 27, 2006 3:28 am 
User avatar

Joined: Wed Nov 16, 2005 3:02 am
Posts: 7571
Location: desk #861
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.]

_________________
Next Limit Team


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 27, 2006 9:04 am 
User avatar

Joined: Wed Nov 16, 2005 3:02 am
Posts: 7571
Location: desk #861
Hi Mike,

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

JD

_________________
Next Limit Team


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group