HelixViewport3D rendersize change

Jan 20, 2013 at 10:34 AM
Edited Jan 20, 2013 at 11:10 AM

Hi,

is there any possibility to change dimensions of rendered *.jpg file from HelixViewport3D. It seems to me, that it adjusts dimensions of exported image according to current ViewPort size. But I'm not able to change these via none of it' properties like Width, RenderWidth, even a ScaleTransform does not seem to make things happen.

Do You know how is possible to change export sizes? Typical use case - I want to export in, say, 800x600 & 1024#768 resolution etc.

Thanks.

 

edit: It looks like I'm spamming here:), but it's my second post & again...after trying to resolve the problem like for an hour or so, I wrote here & suddenly after few minutes, I figured out how to do this.

 

If somebody is interested in future - You have to access HelixViewport3D's property ViewPort, where You shold define rendersize property.

Coordinator
Jan 23, 2013 at 8:32 PM

Thanks for posting the solution to your problem.

I think the Viewport3DHelper.RenderBitmap method should be overloaded with a method where you can specify the width and height.

Did you also notice the "oversampling" multiplier feature in that method? It is good for software rendering!