Render Region Display

Post Reply
User avatar
clintonman
Captain
Posts: 5430
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Render Region Display

Post by clintonman »

This script will show what will render from a camera.
It works with the Unofficial Updates cameras by reading the Width, Height and FOV and generating an overlay.
RenderRegion01.jpg
Render will be 640x480 but can't see what will actually render.

RenderRegion2.jpg
After adding the overlay that corresponds to 640x480 render size


Usage:
Select a camera
Press the Connect button
View the scene through the camera

Hide the overlay using the Invisible checkbox

Remove the link to the camera by pressing the Disconnect button
Attachments
Render Area Plane.RsObj
(78.4 KiB) Downloaded 55 times
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Render Region Display

Post by trueBlue »

Great!
What is the Pixel Aspect and how is it used?
What is the Green area?
I'll assume the inner Red area is the Safe Render Area.
What is the outer Red area?
User avatar
clintonman
Captain
Posts: 5430
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Render Region Display

Post by clintonman »

The pixel aspect ratio is for matching with old analog video technologies. Like for instance I think the DVD standard used an aspect of 0.9 to make the horizontal row fit on an old tv. For the most part you'll always leave it as 1.0

Green is a 3 by 3 grid I added so it's easier to see when the tS view is narrower than the full width of the render and to act like a rule of thirds guide.

Red is the region that will render out. A safe render region could be added, though these days it's not really used much because displays are all digital.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Render Region Display

Post by trueBlue »

Here is a tS76 scene with a modified Camera and Render Region script that was adapted from the tS761 version.
The Connect and Disconnect scripts uses commands from the Clintons3dPlugin.rsx version 1638433 that I have Installed and Loaded
There is one issue that I cannot seemed to resolve.
When using the Camera's FOV, the Render Region moves.
Removed due to update
User avatar
clintonman
Captain
Posts: 5430
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Render Region Display

Post by clintonman »

trueBlue wrote: 30 Mar 2023, 17:27 Here is a tS76 scene with a modified Camera and Render Region script that was adapted from the tS761 version.
The Connect and Disconnect scripts uses commands from the Clintons3dPlugin.rsx version 1638433 that I have Installed and Loaded
There is one issue that I cannot seemed to resolve.
When using the Camera's FOV, the Render Region moves.
I'm not seeing any difference between this 7.6 version and the 7.61 original. Only small difference in that the camera in the scene has some shear in it's matrix value.
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5214
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Render Region Display

Post by trueBlue »

clintonman wrote: 30 Mar 2023, 17:57
trueBlue wrote: 30 Mar 2023, 17:27 Here is a tS76 scene with a modified Camera and Render Region script that was adapted from the tS761 version.
The Connect and Disconnect scripts uses commands from the Clintons3dPlugin.rsx version 1638433 that I have Installed and Loaded
There is one issue that I cannot seemed to resolve.
When using the Camera's FOV, the Render Region moves.
I'm not seeing any difference between this 7.6 version and the 7.61 original. Only small difference in that the camera in the scene has some shear in it's matrix value.
Thanks for looking, that fixed it for me. :bananathumb:
Edit:
Here is a tS76 version that will work with any Camera or EntryPoint.
The Connect script uses tS76 commands so the Clintons3dPlugin.rsx is not needed.
If the selected Camera does not have Width or Height connectors, they will be Exported out from the camera Width Height pass node. (640x480)
If the Width or Height connectors exist, they will be Connected to the camera Width Height pass node and use the existing values.
The selected Camera will have the Matrix Shear values set to 0.000
Render Region panel.png
Attachments
Render Region.RsObj
(80.8 KiB) Downloaded 50 times
Post Reply