OpenGL rendering with white background

   2824   1   0
User Avatar
Member
224 posts
Joined: June 2009
Offline
I am trying to create an openGL rendering (PGN image) with a white background. Currently I am getting black in the areas that are transparent.

I tried to go to the openGL node and set Scene>Background Image to a white image, same pixel resolution as the rendering. But it seems to have no effect. When I click render (Output image is ‘ip’), i still don't get a white background.

In MPlay:

I tried to go to Windows>Display Options>Background Colour to white. Then I saved the PNG image. But no effect, still a black background.

I tried to go to Windows>Display Options>Filename to a white image, same pixel resolution. Then I saved the PNG image. But no effect, still a black background.

Any suggestions? How to get a white background?
Patrick
User Avatar
Member
14 posts
Joined: April 2019
Offline
late to the party but..

one workaround is referencing a white color from COP network in the Scene / Background Image parameter (bgimage)

op:/obj/ropnet1/cop2net1/OUT

see file attached
Image Not Found



this trick will work only for simple background (ie. one color).
If you add cops operations it will become very slow.

Attachments:
opengl_bg_color.hip (94.5 KB)

  • Quick Links