engine code merged with extensions (lighting, effects, picking, obj, collada)