Notifications
Clear all

[Closed] Viewport Canvas texture

Would it be possible to get the map data of the viewport canvas in realtime?

You have to commit changes in order to get it saved to the texture map but I want to be able to use the texture map directly instead (you already see the texture while you paint).

How to get the texture you instantly see in the viewport while you paint?

Thanks a lot,
Davy

3 Replies

Well, from what I can tell, but I may be wrong, i think as you paint, and until you commit, it keeps the bitmap info in memory. Then finally saves it all when you finalize your painting.

Although, it might store a temp bmp somewhere, but I have no idea where it would. I haven’t looked, but did you checkout the Maxscript Help for info on Viewport Canvas? Maybe it says how to access the layer info?

No word on it in MAXScript help file.

Yeah got it, you can save the memory bitmap to file (same way the viewport canvas does it on commit).