Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/06/2006 at 07:34, xxxxxxxx wrote:
User Information: Cinema 4D Version: 9.6 Platform: Windows ; Language(s) :
--------- I would like to change the render resolution through an input in my PostEffect Plugin, but GetActiveDocument()->GetActiveRenderData()->GetData()->SetLong(RDATA_XRES,value) doesn't change the resolution.
An idea for me ?
Thanks in advance,
Vincent
On 02/06/2006 at 16:01, xxxxxxxx wrote:
You have to set RDATA_RESOLUTION to 0 (manual), or to one of the other values if you want to pick a preset resolution.
- Rick
On 09/06/2006 at 02:20, xxxxxxxx wrote:
Hi Rick,
I'm doing that in the method GetDParameter of my plugin, I call like that:
rdata.SetLong(RDATA_RESOLUTION,0); rdata.SetLong(RDATA_XRES,m_DisplayImageWidth);
but it doesn't work too. Should I do that somewhere else ?
Thanks lot !
On 12/06/2006 at 12:42, xxxxxxxx wrote:
Oh, looks like you're in C++ - I haven't played with this there. Sorry.
This COFFEE works for me, if that helps:
var rd = doc->GetFirstRenderData(); var bc = rd->GetContainer(); bc->SetData(RDATA_RESOLUTION,6); bc->SetData(RDATA_XRES,720); bc->SetData(RDATA_YRES,486); bc->SetData(RDATA_XPIX,10); bc->SetData(RDATA_YPIX,11); bc->SetData(RDATA_FRAMERATE,30); rd->SetContainer(bc);
On 15/06/2006 at 22:50, xxxxxxxx wrote:
To make the call like that you would have to do GetActiveDocument()->GetActiveRenderData()->GetData Instance ()->SetLong(RDATA_XRES,value), otherwise the changes are lost.