Module ImportFrom alias alias alias alias Import alias Import alias Import alias identifier FunctionDef arguments args NameParam NameParam defaults Num body Expr Str Assign NameStore Call AttributeLoad BinOpMult SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Slice Slice Num ListLoad Num Num Num attr keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Num BinOpSub Num BinOpMult BinOpMult SubscriptLoad NameLoad Index Num Num NameLoad Assign SubscriptStore NameLoad Index Num BinOpAdd Num BinOpMult BinOpMult SubscriptLoad NameLoad Index Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num BinOpSub BinOpSub Num BinOpPow SubscriptLoad NameLoad Index Num Num BinOpPow SubscriptLoad NameLoad Index Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice Num TupleLoad Num keyword AttributeLoad NameLoad attr Assign SubscriptStore NameLoad ExtSlice Slice Slice Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad ExtSlice Slice Slice Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad ExtSlice Slice Slice Index Num Call AttributeLoad BinOpPow NameLoad Num attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Num Num Assign NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice Num Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword BinOpMult NameLoad Num keyword TupleLoad Num Num Num If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub SubscriptLoad NameLoad Index Num Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num BinOpSub SubscriptLoad NameLoad Index Num Num decorator_list decorator_list Assign NameStore ListLoad ListLoad Num Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Num keyword Num Expr Str For NameStore NameLoad body Assign SubscriptStore NameLoad Index Num ListLoad SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num
N/A __future__ absolute_import division print_function unicode_literals N/A demo N/A pi3d N/A numpy np normal_map N/A N/A texture factor N/A 1.0 N/A N/A  takes a pi3d.texture and returns a normal map (as pi3d.Texture using
  lightness as height map. Argument factor can scale the effect
   N/A gray N/A N/A N/A N/A N/A texture image N/A N/A N/A N/A 3 N/A 0.2989 0.587 0.114 sum axis 2 N/A grdnt N/A N/A np gradient gray N/A N/A grdnt N/A 0 N/A 128.0 N/A N/A N/A grdnt N/A 0 0.5 factor N/A N/A grdnt N/A 1 N/A 128.0 N/A N/A N/A grdnt N/A 1 0.5 factor N/A z N/A N/A np maximum 0 N/A N/A 65025 N/A N/A grdnt N/A 0 2 N/A N/A grdnt N/A 1 2 N/A n_map N/A N/A np zeros N/A N/A N/A N/A texture image shape N/A 2 N/A 3 dtype N/A np uint8 N/A N/A n_map N/A N/A N/A N/A 0 N/A N/A N/A grdnt N/A 0 astype N/A np uint8 N/A N/A n_map N/A N/A N/A N/A 1 N/A N/A N/A grdnt N/A 1 astype N/A np uint8 N/A N/A n_map N/A N/A N/A N/A 2 N/A N/A N/A z 0.5 astype N/A np uint8 N/A N/A N/A pi3d Texture n_map N/A StarSystem N/A object N/A __init__ N/A N/A self star_ref planet_tex obj_object v N/A N/A N/A N/A N/A self flatsh N/A N/A pi3d Shader uv_flat N/A N/A self shader N/A N/A pi3d Shader uv_bump N/A N/A self star_tex N/A N/A pi3d Texture textures/sun.jpg N/A N/A self star None N/A N/A self planet None N/A N/A N/A self change_details star_ref planet_tex obj_object v N/A N/A self visible True N/A draw N/A N/A self N/A N/A N/A N/A self visible N/A N/A N/A N/A N/A self star draw N/A N/A N/A N/A self planet draw N/A N/A N/A N/A self obj_object draw N/A N/A N/A N/A self planet rotateIncY -0.05 N/A N/A N/A N/A self obj_object rotateIncY 0.1 N/A N/A N/A N/A self obj_object rotateIncZ 0.07 N/A change_details N/A N/A self star_ref planet_tex obj_object v N/A N/A N/A N/A self star_ref star_ref N/A star_loc N/A v N/A N/A star_ref N/A 0 3 N/A star_rgb N/A v N/A N/A star_ref N/A 3 6 N/A light N/A N/A pi3d Light is_point True lightpos star_loc lightcol N/A star_rgb 15.0 lightamb N/A 0.01 0.01 0.01 N/A N/A N/A self star None N/A N/A N/A self star N/A N/A pi3d Sphere radius 0.4 slices 24 sides 24 N/A N/A N/A N/A self star set_draw_details N/A self flatsh N/A N/A self star_tex N/A N/A N/A N/A self star set_material star_rgb N/A N/A N/A N/A self star position star_loc N/A N/A N/A self planet None N/A N/A N/A self planet N/A N/A pi3d Sphere radius 0.1 slices 24 sides 24 light light N/A N/A N/A N/A self planet set_draw_details N/A self shader planet_tex 1.0 0.0 N/A N/A N/A N/A self planet set_light light N/A N/A N/A N/A self planet position N/A star_loc N/A 0 N/A star_loc N/A 1 N/A N/A star_loc N/A 2 2.2 N/A N/A self obj_object obj_object N/A N/A N/A N/A self obj_object set_shader N/A self shader N/A N/A N/A N/A self obj_object set_light light N/A N/A N/A N/A self obj_object position N/A N/A star_loc N/A 0 0.2 N/A star_loc N/A 1 N/A N/A star_loc N/A 2 1.75 N/A N/A N/A systems N/A N/A 0 N/A N/A pi3d Texture textures/world_map.jpg N/A N/A pi3d Model file_string models/biplane.obj sx 0.01 sy 0.01 sz 0.01 N/A 
pumpkin = pi3d.Model(file_string='models/pumpkin.obj', sx=0.01, sy=0.01, sz=0.01)
tardis = pi3d.Model(file_string='models/Tardis.obj', sx=0.002, sy=0.002, sz=0.002)
iss = pi3d.Model(file_string='models/iss.obj', sx=0.04, sy=0.04, sz=0.04)

systems = [[0, pi3d.Texture("textures/mars.jpg"), iss],
           [17025, pi3d.Texture("textures/planet01.png"), tardis],
           [71408, pi3d.Texture("textures/planet02.png"), pumpkin],
           [42572, pi3d.Texture("textures/planet03.jpg"), pumpkin],
           [35897, pi3d.Texture("textures/planet04.jpg"), pumpkin],
           [5454, pi3d.Texture("textures/planet05.png"), tardis],
           [9, pi3d.Texture("textures/planet06.png"), tardis],
           [3476, pi3d.Texture("textures/planet07.jpg"), tardis],
           [24245, pi3d.Texture("textures/planet08.png"), tardis],
           [102488, pi3d.Texture("textures/planet09.jpg"), tardis],
           [32928, pi3d.Texture("textures/planet10.jpg"), iss]]
 N/A s systems N/A N/A N/A s N/A 1 N/A N/A s N/A 1 N/A normal_map N/A s N/A 1