Notifications
Clear all

[Closed] Using Exposure Control with RenderMap?

I can’t seem to work through this one to save my life!

What I’m currently trying to do is get MaxScript to render a bitmapTex to the VFB or to a file; but apply the exposure control settings to that render. Essencially, I’m trying to get an exposure-corrected flat render of a bitmap.

Is there a quick way to do this?

Here’s a snippit to help clarify:


 tempBitmap = bitmaptex filename:"bc_Temp.bmp"
 --get the bitmap file into a bitmapTex called "tempBitmap"
 renderMap tempBitmap into:renderedImage
 --render that bitmapTex into a bitmap called "renderedImage"
 --But it didn't apply exposure control!
 
2 Replies
1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

Quick workaround – put the bitmap into the environment map slot (as background with screen coordinates etc.) and call render() instead (optionally with all objects hidden). This should apply the exposure control and the result should be similar to renderMap().

Brilliant! I’ll impliment that right away!