Nightmares Diary

Loading time of texture images! asynchronous, late ..

http://stackoverflow.com/questions/7919516/using-textures-in-three-js

var texture = materials[i].map;
if(texture instanceof THREE.Texture){
  var image = texture.sourceFile;
}

Q. How much fast is SmartBody simulation? and when do these calculations occur actually?

  • Calculations occur when SmartBody::SBScene::update() is called.
  • But how much fast are they, remains an open question!

Python floating point hell!

http://stackoverflow.com/a/455634/1461232

For some reason Python was continuously throwing runtime errors when trying to print SrVec. The built-in json.dumps() is suspected here if it is used by print, after using ujson and printing the generated json we got rid of those nasty run-time errors.

Pickles security issues

http://www.benfrederickson.com/dont-pickle-your-data/ https://docs.python.org/2/library/pickle.html http://www.cs.jhu.edu/~s/musings/pickle.html


TODO while wandering around with Brad!