Notifications
Clear all

[Closed] re-compiling Blurs TransformCache for 2013

Yeah, I though so… that’s why at the beginning instead of casting every var, I’ve tried to change it’s type.

For example from

char cacheTempFileName [MAX_PATH];

I changed it to

LPWSTRcacheTempFileName [MAX_PATH];

but it didn’t worked. I can upload the project if you have the time, even though it’s freely available here ( https://code.google.com/p/blur-dev/downloads/detail?name=BlurOffline_python27_2013-02-12_install_13312_64.exe&can=2&q= (you can extract it instead of installing and the project is located at $_OUTDIR\code\cpp\plugins\max\src mController)

Anyway, thanks for your time!

compiled and linked…
how to use that thing now ?

guruware

Did you actually compiled it?! 😮 linked?

[how to use]
it is a transform controller which means you can select any object and assing it. I think, if you search it’s interface in MXS, there is a function called “record”?! where you can create a *.tmc file.

The idea is that you have your animation department caching the data and your Lighting (or any other) department, using this controller to load the latest animation. I have created similar system with MXS but unfortunatelly, MXS has some precision issues. It rounds the last decimel number. In most cases it’s not visible, but there are cases that it’s very annoying.

the mxs itself doesn’t round anything. probably you do something with data that forces the rounding.

I just save the $obj.transform in a cache file and with animate on I load the same matrix3 on an object. I checked cache file and it has the same values with the source object. On the object that I’ve loaded the file though, sometimes I take tiny differences in the last decimel point. We were using this system for quite some time now, but the problem became visible in one particular shot with very slow motion where the changes between one key to the other were really tiny.

so…
do you want the altered sources and/or the compiled dlc ?

I would love it if you could share them both so I could try understand what were the changes. I want to try rebuild it from scratch so I can learn to make these small changes.

You can either send a link here or email them to me at http://forums.cgsociety.org/sinokgr@yahoo.co m” data-bbcode=”true”>sinokgr@yahoo.com

Many thanks,
Nick!

sent…
guruware

Awesome! Thank you! :bowdown:

Page 2 / 2