Renderer Properties

MarkusR

Member
I missing a resolution select box as example
640 x 480
800 x 600
1024 x 768
1280 x 720
1920 x 1080
1920 x 1200
2360 x 1640
2560 x 1664

please can you add this? thanks
 
2360 x 1640 is iPad 2022 gen 10
2560 x 1664 is mac book air, unfortunately after many os updates not usable. they really made 1470 x 956 default but better is 1920 x 1200.

a simple button with a context menu which place the x and y sizes in the two text boxes should not make a issue.
because bigger size took more time i switch between min and max resolution frequently.
 
i made a script from the other threads. it does not means that my request is solved.

// Script to change the Renderer Propertie Resolution for Cheetah3D 8.x // put in Scripts/Tool // MR 15.03.2024 // count could be limited if select box does not appear!? var dimensionList = ["800 x 600", "1024 x 768", "1280 x 720", "1920 x 1080", "1920 x 1200", "2360 x 1640", "2560 x 1664", "3840 x 2160"]; function buildUI(tool) { tool.addParameterSeparator("Renderer Propertie"); tool.addParameterSelector("Resolution", dimensionList, false, false); tool.addParameterButton("Action", "Set", "setRendererResolution"); } function setRendererResolution(tool) { var index = tool.getParameter("Resolution"); // selected index var dimension = dimensionList[index].split('x').map(function (x) { return parseInt(x, 10); }); var doc = tool.document(); var renderer = doc.currentRenderer(); if (renderer != null) { renderer.setParameter("resolution", new Vec2D(dimension[0], dimension[1])); } else { print("currentRenderer/camera is null"); } }
 
Back
Top