Lua
===
- Environment table is per module (or class), registry table is for all module. to assign an environment table to a module u should do this (i don;t understand it actually, since luaL_register did create new table internally)
lua_newtable(L);
lua_replace(L, LUA_ENVIRONINDEX);
luaL_register(L, libname, funclist);
- longer the table it is, more stall time for gc it is
- lua debugger use introspect (query) and hook (callback) for debugging (neat)
Blender
=======
- ctrl-e: special edge functions (loop cut)
- ctrl-v: speical vertex function (merge vertexes)
- ctrl-tap: selection method in edit mode
- ctrl-lmb /w vertex selected: duplicate the vertex
- ctrl-lmb /wo vertex selected: create new vertex
- w: subsurface
- k: loop cut
- u: texture unwrap method
- shift-alt-b: baked Shadow to texture (must make sure the background color is white
Flex
====
- forget about pure actionscript but still mxml is still a need
Memory Allocator
===============
- an allocator has two types, object and data types, object need to use special new operator
- don't need to implement it now, only need to resign yourself.
ok my eye lib refuse to keep opening any longer, night!
No comments:
Post a Comment