# Render Settings Not Working?

**URL:** <https://forum.aousd.org/t/render-settings-not-working/1026>\
**Category:** Hydra\
**Tags:** rendering, python\
**Created:** [December 6, 2023, 9:14pm UTC](https://forum.aousd.org/t/render-settings-not-working/1026 "2023-12-06T21:14:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dinonel](https://avatars.discourse-cdn.com/v4/letter/d/4bbf92/32.png) [@Dinonel](https://forum.aousd.org/u/Dinonel)\
**Post date:** [December 6, 2023, 9:14pm UTC](https://forum.aousd.org/t/render-settings-not-working/1026/1 "2023-12-06T21:14:16Z")

</div>

Hi all,

I have installed Renderman and am now trying to use render settings to adjust the resolution of the image (for testing purposes) but nothing seems to change no matter what resolution I set. Here is the code to set the settings:

```python
if renderer_id == "Prman":
        render_prim = UsdGeom.Scope.Define(stage, "/Render")
        settings_prim = UsdRender.Settings.Define(
            stage, "/Render/RenderSettings")

        if resolution:
            settings_prim.CreateResolutionAttr().Set(Gf.Vec2i(resolution))
        # settings_prim.CreateCameraRel().AddTarget("/Camera")
        rs_prim_path = stage.SetMetadata("renderSettingsPrimPath",
                                         "/Render/RenderSettings")
        stage.Save()

```

And here are the two images: One with resolution set at (1024, 540) and another at (100, 200)

 ![100x200](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/c2e417c8b4ba2eaa8f0e3a901e4b3fa0672b15a5.jpeg)  
 ![1024x540](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/39b6ae47e13d339ed8f92e04cff9499a1d85da4e.jpeg)

Note that I am on USD 23.08, Python 3.9.13, Renderman 25.2.

Any help would be appreciated!

---

<div class="post-metadata">

**Author:** ![tomc](https://avatars.discourse-cdn.com/v4/letter/t/8dc957/32.png) [@tomc](https://forum.aousd.org/u/tomc)\
**Post date:** [January 10, 2024, 11:11pm UTC](https://forum.aousd.org/t/render-settings-not-working/1026/2 "2024-01-10T23:11:40Z")

</div>

Hi Dinel,

How are you producing these images? Are you using usdrecord, or are these screenshots of usdview, or are you using other tooling?

Thanks!  
Tom
