Workspace Save_render_to_file in PNG 32 bits

Technical questions, etc..
User avatar
Emmanuel
Chief Warrant Officer
Posts: 651
Joined: 14 Jun 2009, 06:47

Workspace Save_render_to_file in PNG 32 bits

Post by Emmanuel »

Workspace render's export box supports PNG, JPG, TGA, BMP, HDR.

There is no dialog and not thus options for these formats though ; PNG and TGA, that supports 32 bits information (transparency of the background), are both left to 24 bits mode by default.

Is there any trick to force 32 bit export ?
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Workspace Save_render_to_file in PNG 32 bits

Post by trueBlue »

You can render Workspace PNG 24 & 32 bit image(s) from Model
Render Workspace from Model.png
Render Workspace from Model.png (1.1 KiB) Viewed 2905 times
.
Workspace's Render to FIle and Vray's Save to File does render BMP 32 bit image(s) only
PNG 24 bit only
User avatar
Emmanuel
Chief Warrant Officer
Posts: 651
Joined: 14 Jun 2009, 06:47

Re: Workspace Save_render_to_file in PNG 32 bits

Post by Emmanuel »

Using Modeler's dialog box is a solution but it takes more ressources.
On my computer, there is a noticable speed difference when you render a VRay scene from the Modeler versus Workspace. Workspace is 2x faster (at least) !
Did you ever tried to compare ? What is your speed difference ?

Regarding the 32 bits issue, I just found that TGA actually exports its alpha channel ! although it is not obvious at first because the background is rendered (it is not transparent).
- In Photoshop or any other edition software, you can grab the alpha channel and delete the unwanted background.
- It also works in Vegas, the video editing software.

So, yes, it is possible to render_to_file in 32 bits from Workspace, but in TGA file format only, and it requires some additional work in a picture edition software to remove the background.
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Workspace Save_render_to_file in PNG 32 bits

Post by trueBlue »

Emmanuel wrote: 16 Dec 2022, 11:35 Regarding the 32 bits issue, I just found that TGA actually exports its alpha channel ! although it is not obvious at first because the background is rendered (it is not transparent).
- In Photoshop or any other edition software, you can grab the alpha channel and delete the unwanted background.
- It also works in Vegas, the video editing software.

So, yes, it is possible to render_to_file in 32 bits from Workspace, but in TGA file format only, and it requires some additional work in a picture edition software to remove the background.
I do not see TGA as a supported image format in Workspace's Render to File
If you have YafaRay4tS and or Vray, then you can render to the TGA format
User avatar
clintonman
Captain
Posts: 5432
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Workspace Save_render_to_file in PNG 32 bits

Post by clintonman »

@Emmanuel
Are you talking about workspace d3d render to file or workspace vray render?
Clinton Reese

http://clintons3d.com
User avatar
Emmanuel
Chief Warrant Officer
Posts: 651
Joined: 14 Jun 2009, 06:47

Re: Workspace Save_render_to_file in PNG 32 bits

Post by Emmanuel »

clintonman wrote: 16 Dec 2022, 18:51 @Emmanuel
Are you talking about workspace d3d render to file or workspace vray render?
I was talking about Workspace VRay render_to_file.

The D3D render to file never handled transparency.
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Workspace Save_render_to_file in PNG 32 bits

Post by trueBlue »

@Emmanuel
Hope I did not offend you!
I did take the time to render each supported image format using Workspace's Render to File to verify my reply
I suspected that the BMP format also supported Alpha since it is 32 bits, but still not sure

I also did not catch that you were referring to Vray
What I find odd is Vray's rendered results is different from what you see in the 3D View and or from a Camera View
Do you have any tips with this regard?
Is there some kind of Vray setting for the Zoom level?
Vray rendered results is different from the 3D View.png
User avatar
Emmanuel
Chief Warrant Officer
Posts: 651
Joined: 14 Jun 2009, 06:47

Re: Workspace Save_render_to_file in PNG 32 bits

Post by Emmanuel »

trueBlue wrote: 17 Dec 2022, 19:36 What I find odd is Vray's rendered results is different from what you see in the 3D View and or from a Camera View
Do you have any tips with this regard?
There is a very little difference between WS view and the rendered file but never as much as what you are showing.
On my computer, it is almost identical, in tS7.6 and 7.61 as well.
Can you share that scene ?
User avatar
trueBlue
Captain
Posts: 5216
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Workspace Save_render_to_file in PNG 32 bits

Post by trueBlue »

Emmanuel wrote: 19 Dec 2022, 20:18
trueBlue wrote: 17 Dec 2022, 19:36 What I find odd is Vray's rendered results is different from what you see in the 3D View and or from a Camera View
Do you have any tips with this regard?
There is a very little difference between WS view and the rendered file but never as much as what you are showing.
On my computer, it is almost identical, in tS7.6 and 7.61 as well.
Can you share that scene ?
Camera location is the same as the Perspective View, exactly including FOV = 0.500
Camera View renders almost identical @ 640x480 in Workspace's Render to File and Vray's Render to File
3D View renders are off
This is especially noticeable in close up renders
tS7.61 Beta 8
Attachments
Vray.RsScn
(1.21 MiB) Downloaded 59 times
User avatar
Emmanuel
Chief Warrant Officer
Posts: 651
Joined: 14 Jun 2009, 06:47

Re: Workspace Save_render_to_file in PNG 32 bits

Post by Emmanuel »

I see no différence here.
Tried to move the camera, add an other one, etc... All is fine.

There is probably a bug in your trueSpace settings.
render scene.jpg
Post Reply