tyBitmap UVW sync
#3
So tyBitmap treats bitmaps the same way a normal Bitmap texmap does (because they share 99% of the same code)...in that it prepares all bitmaps ahead of rendering so that when rendering occurs the samplers are all ready. This unfortunately does involve loading all the data up front. In theory I assume it's possible to setup some kind of on-the-fly system that only loads a bitmap once its first sample is queried, but I think given the trajectory of Max to focus on OSL shaders, I'll defer adding that kind of optimization in lieu of OSL solutions which are probably better regardless (since tyBitmap/Bitmap rely on a lot of gross legacy code).

In other words...I don't see a reason why OSL couldn't query a frame based on a UVW.x frame value (the same way tyBitmap does) and such a system is likely going to be better regardless...so I'd suggest exploring that as a solution.
  Reply


Messages In This Thread
tyBitmap UVW sync - by Adam Trowers - 02-12-2021, 12:37 PM
RE: tyBitmap UVW sync - by tyFlow - 02-12-2021, 10:27 PM
RE: tyBitmap UVW sync - by tyFlow - 02-13-2021, 06:34 AM

Forum Jump: