⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lighted_sun_logo.hasm

📁 操作系统SunOS 4.1.3版本的源码
💻 HASM
📖 第 1 页 / 共 5 页
字号:
;;      @(#)lighted_sun_logo.hasm 1.1 92/07/30 17:41:36;; Copyright (c) 1990 by Sun Microsystems, Inc.;#include "hasm_public.h"	set_attribute	hk_view, @perspective	set_attribute	hk_pre_concat_lmt	.rotate_x	45.0        set_attribute   hk_z_buffer_compare        .word           TRUE        set_attribute   hk_z_buffer_update        .word           HK_Z_UPDATE_NORMAL	set_attribute   hk_front_interior_style	.word           HK_POLYGON_SOLID	set_attribute   hk_back_interior_style	.word           HK_POLYGON_SOLID	set_attribute	hk_front_surface_color	.rgb		< 1.0, 1.0, 1.0 >	set_attribute	hk_back_surface_color	.rgb		< 1.0, 1.0, 1.0 >	set_attribute	hk_front_shading_method	.word		HK_SHADING_GOURAUD	set_attribute	hk_back_shading_method	.word		HK_SHADING_GOURAUD	set_attribute	hk_front_lighting_degree	.word		HK_SPECULAR_LIGHTING	set_attribute	hk_back_lighting_degree	.word		HK_SPECULAR_LIGHTING	set_attribute	hk_use_back_props	.word		TRUE	set_attribute	hk_face_culling_mode	.word		HK_CULL_NONE	set_attribute	hk_transparency_quality	.word		HK_ALPHA_BLEND	set_attribute	hk_transparency_mode	.word		HK_OPAQUE_VISIBLE	set_attribute	hk_edge	.word		HK_EDGE_NONE;	set_attribute	hk_light_mask	.word		0xffffffff		; Delete	.word		0x00000000		; Add;	set_attribute	hk_light_source, @light0;	set_attribute	hk_light_source, @light1;	set_attribute	hk_light_source, @light2;	set_attribute	hk_light_source, @light3;	set_attribute	hk_light_mask	.word		0x00000000		; Delete	.word		0x0000000f		; Add;	set_attribute	hk_front_material_properties	.word		0.2			; Ambient	.word		1.0			; Diffuse	.word		1.0			; Specular	.word		20.0			; Specular exponent	set_attribute	hk_front_specular_color	.rgb		<1.0, 1.0, 1.0>	set_attribute	hk_front_transparency_degree	.word		1.0	set_attribute	hk_back_material_properties	.word		0.5			; Ambient	.word		1.0			; Diffuse	.word		1.0			; Specular	.word		20.0			; Specular exponent	set_attribute	hk_back_specular_color	.rgb		<1.0, 1.0, 1.0>	set_attribute	hk_back_transparency_degree	.word		1.0	jmpl	sun_logo, r6	trap	0perspective:	.fword		0.5,  -0.5,  0.5,  0.5	.matrix_pair \				; VT and IVT	<   <  1.0,  0.0,  0.0,  0.0 > , \	    <  0.0,  1.0,  0.0,  0.0 > , \	    <  0.0,  0.0,  1.0,  0.0 > , \	    <  0.0,  0.0,  0.0,  1.0 > >;light0:	.word		0			; Light number 0	.word		HK_AMBIENT_LIGHT_SOURCE ; Light type	.rgb		< 0.3, 0.3, 0.3 >	; Light color	.xyz		< 0.0, 0.0, 0.0 >	; Light position	.norm		< 0.0, 0.0, 1.0 >	; Light direction	.word		1.0			; spotlight power	.word		1.0			; Attenuation 1	.word		1.0			; Attenuation 2	.word		0.2893			; Spotlight anglelight1:	.word		1			; Light number 1	.word		HK_DIRECTIONAL_LIGHT_SOURCE ; Light type	.rgb		< 0.0, 1.0, 0.0 >	; Light color	.xyz		< -1.0, 1.0, 0.0 >	; Light position	.norm		< -0.25, 0.3, 0.15 >	; Light direction	.word		1.0			; spotlight power	.word		1.0			; Attenuation 1	.word		1.0			; Attenuation 2	.word		0.346987		; Spotlight anglelight2:	.word		2			; Light number 2	.word		HK_POSITIONAL_LIGHT_SOURCE ; Light type	.rgb		< 1.0, 0.0, 0.0 >	; Light color	.xyz		< 1.0, 1.0, -0.15 >	; Light position	.norm		< 0.5, 0.5, -0.10 >	; Light direction	.word		1.0			; spotlight power	.word		1.0			; Attenuation 1	.word		1.0			; Attenuation 2	.word		0.9807			; Spotlight anglelight3:	.word		3			; Light number 3	.word		HK_POSITIONAL_LIGHT_SOURCE    ; Light type	.rgb		< 1.0, 1.0, 1.0 >	; Light color	.xyz		< 0.0, 0.0, 0.15 >	; Light position	.norm		< 0.25, -0.1, 0.1 >	; Light direction	.word		1.0			; spotlight power	.word		1.0			; Attenuation 1	.word		1.0			; Attenuation 2	.word		0.5807			; Spotlight angle;sun_logo:	set_attribute hk_tri_geom_format, #0x1	triangle_list	#0x18	.word	HK_TRI_START_CCW	.xyz	<-0.024749, 0.717713, -0.157500>	.normal	<0.288802, 0.165172, -0.943033>	.word	0x8000000	.xyz	<0.321734, 0.371231, -0.157500>	.normal	<0.527349, 0.113822, -0.841990>	.word	0x8000000	.xyz	<0.247487, 0.296985, -0.157500>	.normal	<0.095011, -0.440186, -0.892866>	.word	0x8000000	.xyz	<0.334108, 0.358857, -0.140000>	.normal	<0.803941, -0.458756, -0.378445>	.word	0x8000000	.xyz	<0.259862, 0.284610, -0.140000>	.normal	<0.344901, -0.863912, -0.367014>	.word	0x10000000	.xyz	<0.235113, 0.284610, -0.140000>	.normal	<-0.396067, -0.858125, -0.326729>	.word	0x8000000	.xyz	<0.259862, 0.284610, 0.140000>	.normal	<0.363750, -0.898948, 0.244086>	.word	0x10000000	.xyz	<0.334108, 0.358857, -0.140000>	.normal	<0.803941, -0.458756, -0.378445>	.word	0x8000000	.xyz	<0.334108, 0.358857, 0.140000>	.normal	<0.865083, -0.326460, 0.380861>	.word	0x10000000	.xyz	<0.247487, 0.296985, 0.157500>	.normal	<0.095011, -0.440186, 0.892866>	.word	0x8000000	.xyz	<0.321734, 0.371231, 0.157500>	.normal	<0.527349, 0.113822, 0.841990>	.word	0x8000000	.xyz	<-0.024749, 0.717713, 0.157500>	.normal	<0.288802, 0.165172, 0.943033>	.word	0x8000000	.xyz	<-0.012374, 0.730088, 0.140000>	.normal	<0.774415, 0.503706, 0.382833>	.word	0x10000000	.xyz	<0.334108, 0.383605, 0.140000>	.normal	<0.850702, 0.436492, 0.292884>	.word	0x10000000	.xyz	<0.334108, 0.358857, 0.140000>	.normal	<0.865083, -0.326460, 0.380861>	.word	0x8000000	.xyz	<0.334108, 0.383605, -0.140000>	.normal	<0.915964, 0.274796, -0.292398>	.word	0x8000000	.xyz	<0.334108, 0.358857, -0.140000>	.normal	<0.803941, -0.458756, -0.378445>	.word	0x8000000	.xyz	<0.321734, 0.371231, -0.157500>	.normal	<0.527349, 0.113822, -0.841990>	.word	0x10000000	.xyz	<-0.012374, 0.730088, -0.140000>	.normal	<0.733494, 0.562078, -0.382172>	.word	0x10000000	.xyz	<0.334108, 0.383605, 0.140000>	.normal	<0.850702, 0.436492, 0.292884>	.word	0x8000000	.xyz	<-0.012374, 0.730088, 0.140000>	.normal	<0.774415, 0.503706, 0.382833>	.word	0x10000000	.xyz	<-0.017500, 0.742462, -0.140000>	.normal	<0.913483, 0.126127, -0.386833>	.word	0x10000000	.xyz	<-0.024749, 0.717713, -0.157500>	.normal	<0.288802, 0.165172, -0.943033>	.word	0x10000000	.xyz	<0.321734, 0.371231, -0.157500>	.normal	<0.527349, 0.113822, -0.841990>	triangle_list	#0x4b	.word	HK_TRI_START_CCW	.xyz	<-0.024749, 0.717713, -0.157500>	.normal	<0.288802, 0.165172, -0.943033>	.word	0x8000000	.xyz	<0.247487, 0.296985, -0.157500>	.normal	<0.095011, -0.440186, -0.892866>	.word	0x8000000	.xyz	<-0.098995, 0.643467, -0.157500>	.normal	<-0.344342, -0.301781, -0.889020>	.word	0x8000000	.xyz	<0.235113, 0.284610, -0.140000>	.normal	<-0.396067, -0.858125, -0.326729>	.word	0x8000000	.xyz	<-0.111369, 0.631093, -0.140000>	.normal	<-0.733636, -0.562632, -0.381082>	.word	0x8000000	.xyz	<-0.111369, 0.631093, 0.140000>	.normal	<-0.711472, -0.590299, 0.381254>	.word	0x8000000	.xyz	<-0.145511, 0.682189, 0.140000>	.normal	<-0.848892, -0.362685, 0.384502>	.word	0x8000000	.xyz	<-0.129343, 0.688886, 0.157500>	.normal	<-0.342050, -0.169005, 0.924359>	.word	0x8000000	.xyz	<-0.140000, 0.742462, 0.157500>	.normal	<-0.455721, -0.030216, 0.889610>	.word	0x8000000	.xyz	<-0.035000, 0.742462, 0.157500>	.normal	<0.319286, -0.044085, 0.946633>	.word	0x10000000	.xyz	<-0.024749, 0.717713, 0.157500>	.normal	<0.288802, 0.165172, 0.943033>	.word	0x8000000	.xyz	<-0.017500, 0.742462, 0.140000>	.normal	<0.920663, -0.019459, 0.389874>	.word	0x8000000	.xyz	<-0.012374, 0.730088, 0.140000>	.normal	<0.774415, 0.503706, 0.382833>	.word	0x8000000	.xyz	<-0.017500, 0.742462, -0.140000>	.normal	<0.913483, 0.126127, -0.386833>	.word	0x10000000	.xyz	<-0.012374, 0.754836, -0.140000>	.normal	<0.735118, -0.556742, -0.386834>	.word	0x8000000	.xyz	<-0.035000, 0.742462, -0.157500>	.normal	<0.319286, -0.044085, -0.946633>	.word	0x10000000	.xyz	<-0.024749, 0.717713, -0.157500>	.normal	<0.288802, 0.165172, -0.943033>	.word	0x8000000	.xyz	<-0.129343, 0.688886, -0.157500>	.normal	<-0.342050, -0.169005, -0.924359>	.word	0x8000000	.xyz	<-0.098995, 0.643467, -0.157500>	.normal	<-0.344342, -0.301781, -0.889020>	.word	0x8000000	.xyz	<-0.111369, 0.631093, -0.140000>	.normal	<-0.733636, -0.562632, -0.381082>	.word	0x10000000	.xyz	<-0.145511, 0.682189, -0.140000>	.normal	<-0.874633, -0.296162, -0.383804>	.word	0x8000000	.xyz	<-0.145511, 0.682189, 0.140000>	.normal	<-0.848892, -0.362685, 0.384502>	.word	0x8000000	.xyz	<-0.157500, 0.742462, 0.140000>	.normal	<-0.923068, -0.010215, 0.384501>	.word	0x8000000	.xyz	<-0.140000, 0.742462, 0.157500>	.normal	<-0.455721, -0.030216, 0.889610>	.word	0x8000000	.xyz	<-0.129343, 0.796038, 0.157500>	.normal	<-0.361368, 0.122363, 0.924360>	.word	0x8000000	.xyz	<-0.035000, 0.742462, 0.157500>	.normal	<0.319286, -0.044085, 0.946633>	.word	0x8000000	.xyz	<-0.024749, 0.767211, 0.157500>	.normal	<0.194598, -0.256938, 0.946633>	.word	0x8000000	.xyz	<-0.012374, 0.754836, 0.140000>	.normal	<0.637256, -0.664758, 0.389874>	.word	0x10000000	.xyz	<-0.017500, 0.742462, 0.140000>	.normal	<0.920663, -0.019459, 0.389874>	.word	0x8000000	.xyz	<-0.012374, 0.754836, -0.140000>	.normal	<0.735118, -0.556742, -0.386834>	.word	0x10000000	.xyz	<0.000000, 0.759962, -0.140000>	.normal	<0.126128, -0.913482, -0.386837>	.word	0x8000000	.xyz	<-0.024749, 0.767211, -0.157500>	.normal	<0.194598, -0.256938, -0.946633>	.word	0x10000000	.xyz	<-0.035000, 0.742462, -0.157500>	.normal	<0.319286, -0.044085, -0.946633>	.word	0x8000000	.xyz	<-0.129343, 0.796038, -0.157500>	.normal	<-0.361368, 0.122363, -0.924360>	.word	0x8000000	.xyz	<-0.140000, 0.742462, -0.157500>	.normal	<-0.455721, -0.030216, -0.889610>	.word	0x10000000	.xyz	<-0.129343, 0.688886, -0.157500>	.normal	<-0.342050, -0.169005, -0.924359>	.word	0x8000000	.xyz	<-0.145511, 0.682189, -0.140000>	.normal	<-0.874633, -0.296162, -0.383804>	.word	0x10000000	.xyz	<-0.157500, 0.742462, -0.140000>	.normal	<-0.921392, 0.061092, -0.383803>	.word	0x8000000	.xyz	<-0.157500, 0.742462, 0.140000>	.normal	<-0.923068, -0.010215, 0.384501>	.word	0x8000000	.xyz	<-0.145511, 0.802735, 0.140000>	.normal	<-0.856712, 0.343809, 0.384501>	.word	0x8000000	.xyz	<-0.129343, 0.796038, 0.157500>	.normal	<-0.361368, 0.122363, 0.924360>	.word	0x8000000	.xyz	<-0.098995, 0.841457, 0.157500>	.normal	<-0.343612, 0.300882, 0.889607>	.word	0x8000000	.xyz	<-0.024749, 0.767211, 0.157500>	.normal	<0.194598, -0.256938, 0.946633>	.word	0x8000000	.xyz	<-0.053576, 0.871805, 0.157500>	.normal	<-0.155719, 0.347660, 0.924599>	.word	0x8000000	.xyz	<0.000000, 0.777462, 0.157500>	.normal	<-0.044086, -0.319285, 0.946633>	.word	0x10000000	.xyz	<0.000000, 0.759962, 0.140000>	.normal	<-0.019464, -0.920661, 0.389877>	.word	0x10000000	.xyz	<-0.012374, 0.754836, 0.140000>	.normal	<0.637256, -0.664758, 0.389874>	.word	0x8000000	.xyz	<0.000000, 0.759962, -0.140000>	.normal	<0.126128, -0.913482, -0.386837>	.word	0x10000000	.xyz	<0.012374, 0.754836, -0.140000>	.normal	<-0.461600, -0.803489, -0.375940>	.word	0x8000000	.xyz	<0.000000, 0.777462, -0.157500>	.normal	<-0.044086, -0.319285, -0.946633>	.word	0x10000000	.xyz	<-0.024749, 0.767211, -0.157500>	.normal	<0.194598, -0.256938, -0.946633>	.word	0x8000000	.xyz	<-0.053576, 0.871805, -0.157500>	.normal	<-0.155719, 0.347660, -0.924599>	.word	0x8000000	.xyz	<-0.098995, 0.841457, -0.157500>	.normal	<-0.343612, 0.300882, -0.889607>	.word	0x10000000	.xyz	<-0.129343, 0.796038, -0.157500>	.normal	<-0.361368, 0.122363, -0.924360>	.word	0x8000000	.xyz	<-0.145511, 0.802735, -0.140000>	.normal	<-0.827874, 0.409048, -0.383802>	.word	0x10000000	.xyz	<-0.111369, 0.853831, -0.140000>	.normal	<-0.608325, 0.694722, -0.383798>	.word	0x8000000	.xyz	<-0.111369, 0.853831, 0.140000>	.normal	<-0.659930, 0.645488, 0.384496>	.word	0x8000000	.xyz	<-0.060273, 0.887973, 0.140000>	.normal	<-0.362684, 0.848893, 0.384502>	.word	0x8000000	.xyz	<-0.053576, 0.871805, 0.157500>	.normal	<-0.155719, 0.347660, 0.924599>	.word	0x8000000	.xyz	<-0.000000, 0.882462, 0.157500>	.normal	<-0.035141, 0.706670, 0.706671>	.word	0x10000000	.xyz	<-0.000000, 0.899962, 0.140000>	.normal	<-0.010215, 0.923068, 0.384501>	.word	0x8000000	.xyz	<0.053576, 0.871805, 0.157500>	.normal	<0.115676, 0.364052, 0.924167>	.word	0x8000000	.xyz	<0.060273, 0.887973, 0.140000>	.normal	<0.343807, 0.856713, 0.384499>	.word	0x8000000	.xyz	<0.098995, 0.841457, 0.157500>	.normal	<0.233772, 0.304980, 0.923221>	.word	0x10000000	.xyz	<0.024749, 0.767211, 0.157500>	.normal	<-0.232362, -0.304464, 0.923747>	.word	0x10000000	.xyz	<0.000000, 0.777462, 0.157500>	.normal	<-0.044086, -0.319285, 0.946633>	.word	0x8000000	.xyz	<0.012374, 0.754836, 0.140000>	.normal	<-0.521683, -0.765487, 0.376665>	.word	0x8000000	.xyz	<0.000000, 0.759962, 0.140000>	.normal	<-0.019464, -0.920661, 0.389877>	.word	0x8000000	.xyz	<0.012374, 0.754836, -0.140000>	.normal	<-0.461600, -0.803489, -0.375940>	.word	0x10000000	.xyz	<0.358857, 0.408354, -0.140000>	.normal	<-0.396064, -0.858125, -0.326733>	.word	0x8000000	.xyz	<0.024749, 0.767211, -0.157500>	.normal	<-0.232362, -0.304464, -0.923747>	.word	0x10000000	.xyz	<0.000000, 0.777462, -0.157500>	.normal	<-0.044086, -0.319285, -0.946633>	.word	0x8000000	.xyz	<0.053576, 0.871805, -0.157500>	.normal	<0.115676, 0.364052, -0.924167>	.word	0x8000000	.xyz	<-0.000000, 0.882462, -0.157500>	.normal	<0.000000, 0.000000, -1.000000>	.word	0x10000000	.xyz	<-0.053576, 0.871805, -0.157500>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -