Characters without backgrounds for use in Ren’py?
I want to use Daz3D (4.9, Iray) to make characters for a game in Ren’py. Ren’py allows game developers to use background scenes and then overlay characters as separate images. Here is an example. The photo of the monument is the background image. Eileen (pictured) or other characters can be overlaid on that image within Ren’py as independent images. Very useful, as characters can just as easily be overlaid on other backgrounds.
I want to overlay characters created in Daz. But whenever I render a character the image ends up with a black background that shows up when I use it as an overlay in Ren’py. Is there some way to render my Daz characters without any black (or other) background, so they will overlay cleanly like the character above?
Many thanks for any advice you can give me.
W
Comments
Render then save the image as a png.
I initially tried saving and using as a jpg but it gives the black background. I just resaved the jpg as a png at it also gave a black background. Is it different if I do it as png straight from render?
Yes if you save as a png from render then you will have a transparent background.
As long as there's no geometry behind the figure, and in Iray as long as Draw Dome isn't on.
Ahh yes - kinda automatic for me to have Draw Dome turned off when rendering.
The thing about saving from the first as a .png is that it includes a "layer" in the background colour, which most image viewers render as transparent. Saving as a .jpg collapses any layers in the image, smushing them all together, because the file format doesn't support it. You can't create a new transparent background by converting a .jpg into a .png because the data isn't there in the file; it was tossed out when you saved as a .jpg image.
I had the same problem this week. Go to the environment tab. It's in windows > panes> environment and change type to none. Now it will render with a transparent background.
Thanks so much everyone, I appreciate the help and I'm glad it's a simple way forward!
W