s_range is the range of the first texture coordinate. By increasing the range, the texture is repeated. For example, if s_range=(0,10), the texture will be repeated 10 times. Default is (0,1).
t_range is the range of the second texture coordinate. By increasing the range, the texture is repeated. For example, if t_range=(0,10), the texture will be repeated 10 times. Default is (0,1).
/* Create a sphere */ sphere_modeller new: aSphereModel resolution=4;
/* Add texture based on latitude/longitude */ texture_map_lat_long new: aLatLong data_in=aSphereModel ;
/* A modeller */ display_all new: aSphereDa data_in=alatlong
;
/* World texture */ texture new: worldTexture file=`/home/lishakill/projects/lymb_dev/lymb/textures/nature/earth.texture.map' linear_interpolate_on! read! ;
/* World view up is z axis */ camera new: c1 view_up=(0,0,1) position=(1,0,0) focal_point=(0,0,0) x_range=(-1,1) y_range=(-1,1) z_range=(-1,1) default! on! ;
/* Place light at camera */ light new: sun position=[c1 position?] focal_point=[c1 focal_point?] on!;
/* A cue to spin camera, keeping light at camera */ cue new: spin duration=10 tick_actions=` c1 azimuth:5; sun position=[c1 position?] focal_point=[c1 focal_point?]; ' ;
/* The earth */ actor new: Earth modeller=aSphereDa texture=worldTexture scale=(-1,1,1);
renderer new: aren cameras=c1 lights=sun actors=Earth ;
aren render!;
scene new: ascene cues=spin renderers=aren;