# vray VFB and maxscript

**URL:** <https://forums.chaos.com/t/vray-vfb-and-maxscript/20304>\
**Category:** General\
**Created:** [April 1, 2009, 10:01am UTC](https://forums.chaos.com/t/vray-vfb-and-maxscript/20304 "2009-04-01T10:01:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gimiky](https://avatars.discourse-cdn.com/v4/letter/g/ecb155/32.png) [@gimiky](https://forums.chaos.com/u/gimiky)\
**Post date:** [April 1, 2009, 10:01am UTC](https://forums.chaos.com/t/vray-vfb-and-maxscript/20304/1 "2009-04-01T10:01:09Z")

</div>

sorry if this is covered somewhere, but i didn’t find anything in a quick search, and i haven’t looked at vray+maxscript in quite some time…

are there any other vray frame buffer calls accessible with maxscript, other than .showLastVFB() ?

max’s own frame buffer has a “getLastRenderedImage()” call that allows one to grab a bitmap of the last render. is there any way to do this with vray’s? is there a way to otherwise save data from the vfb?

thanks,  
greg

---

<div class="post-metadata">

**Author:** ![Jer25](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jer25](https://forums.chaos.com/u/Jer25)\
**Post date:** [April 1, 2009, 2:05pm UTC](https://forums.chaos.com/t/vray-vfb-and-maxscript/20304/2 "2009-04-01T14:05:59Z")

</div>

Is this what you were looking for?  
[http://www.chaosgroup.com/forums/vbulletin/showthread.php?t=44776](http://www.chaosgroup.com/forums/vbulletin/showthread.php?t=44776)

I just created a button in my UI.

---

<div class="post-metadata">

**Author:** ![gimiky](https://avatars.discourse-cdn.com/v4/letter/g/ecb155/32.png) [@gimiky](https://forums.chaos.com/u/gimiky)\
**Post date:** [April 1, 2009, 6:21pm UTC](https://forums.chaos.com/t/vray-vfb-and-maxscript/20304/3 "2009-04-01T18:21:26Z")

</div>

thanks for your reply.. i’m looking for a way to grab the data in the vray frame buffer from an already rendered image, through maxscript.

that could mean being able to save a vray frame buffer image, or just grabbing the data a la “getlastrenderedimage()”.

---

<div class="post-metadata">

**Author:** ![Jer25](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jer25](https://forums.chaos.com/u/Jer25)\
**Post date:** [April 1, 2009, 6:40pm UTC](https://forums.chaos.com/t/vray-vfb-and-maxscript/20304/4 "2009-04-01T18:40:49Z")

</div>

Oh sorry. I definitely won’t be of any use to you then.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [April 2, 2009, 7:17am UTC](https://forums.chaos.com/t/vray-vfb-and-maxscript/20304/5 "2009-04-02T07:17:40Z")

</div>

You can get the image data from C++, but not from MaxScript yet.

Best regards,  
Vlado
