Turbo SquidProductsSearchShopping CartMemberForumsCompanySupport
gmax Community and Support : maxscript : accessing pixel data in G buffer?
Forum: Posts From:
Andy Rak
Advanced Poster
4520 Posts
161 Products
accessing pixel data in G buffer?
Posted 05-Feb-2008 1:17 PM


Let's say I do a render and a final image ends up in the G buffer...

Is there a process to access each pixel and it's components (r,g,b) one row/column at a time?  I have a special project in mind...

If this is a pain, would it be possible to access an existing file in storage (something rudimentary like a bmp file...)?  Then save as another file? I'm guessing I'd open the file, read the data into an array of rows/columns, manipulate data, open a file for output and save it all... 

I know this is the gmax area, but I figure maxscript would work on both gmax and max (7 and up).

Thanks in advance... btw I'm new to maxscript but I know some C...  If somebody can point me to some existing reference for this I'd be grateful.

  andy





Browser_ice
Moderator
4022 Posts
1 Product
RE: accessing pixel data in G buffer?
Posted 05-Feb-2008 11:30 PM

I have no ideas. In these forums, us moderators, we are users like you that started lerking around here a 2-6 years ago.

There are no technical Autodesk/Discreet visiting here nor are they obligated to do so. Maybe someone in the maxscript with enough experience would answer.
Andy Rak
Advanced Poster
4520 Posts
161 Products
RE: accessing pixel data in G buffer?
Posted 06-Feb-2008 8:15 AM

I can hope lol, thx!
Items per page