| Quick Nav Bar | ||||||||
|---|---|---|---|---|---|---|---|---|
| << Previous | Contents |
Selection |
Op Index |
Parent | User Notes |
Index |
Glossary |
Next >> |
sstation.w3d (a library file, space station)
|
|
|
This is the working area of the station - windows, docking bay, etc:
<apply "matte"> everything inherits these as a general type
<ambient .1>
<diffuse 1>
<normalize>
<color .5 .5 .5>
<push>
<color .5 .5 .5>
<brilliance .5>
<roughness 10>
<rotate 0 yr 0>
<scale ssize ssize ssize ssize>
<position 0 0 0> <radius .5>
<ambithresh .75>
<imagemap "c:\source\docs\r6\pics\ballwindows.trm">
<bumpmap "c:\source\docs\r6\pics\ssuvmap.trm">
<bumpdrama 1>
<object sphere>
<object bound>
<pop>
This is the docking bay:
<push>
<translate 0 !ssize*-.14 0> ...move it down the main axis
<axis 0 0 0>
<normalize>
<push>
<apply "matte">
<scale !ssize*.26 !ssize*.17 !ssize*.85> stretch it to fit our space and door
<rotate 0 !yr+111 0> turn it to meet the door
<lib "dockbay.w3d">
<object bound>
<pop>
Docking bay lamp
<push>
<color 1 1 1>
<position 0 0 0>
<object light>
<pop>
</axis>
<pop>
------ BARS
<push>
<rotate 0 yr 0> ...to affect all subsequent elements so they spin around the center
<push>
<axis !ssize*-bard 0 !ssize*bard "r-n bar">
<normalize>
<structure>
<scale !ssize*bd !ssize*bl !ssize*bd>
<rotate 0 !yr+45 90>
<lib "cyl.w3d">
<object bound>
<smooth>
</structure>
</axis>
<pop>
<push>
<axis !ssize*bard 0 !ssize*bard "l-n bar">
<normalize>
<structure>
<scale !ssize*bd !ssize*bl !ssize*bd>
<rotate 0 !yr-45 90>
<lib "cyl.w3d">
<object bound>
<smooth>
</structure>
</axis>
<pop>
<push>
<axis !ssize*bard 0 !ssize*-bard "n bar">
<normalize>
<structure>
<scale !ssize*bd !ssize*bl !ssize*bd>
<rotate 0 !yr+45 90>
<lib "cyl.w3d">
<object bound>
<smooth>
</structure>
</axis>
<pop>
<push>
<axis !ssize*-bard 0 !ssize*-bard "n bar">
<normalize>
<structure>
<scale !ssize*bd !ssize*bl !ssize*bd>
<rotate 0 !yr-45 90>
<lib "cyl.w3d">
<object bound>
<smooth>
</structure>
</axis>
<pop>
------------------------------- SPOKES
<push>
<axis !ssize*offset 0 0 "rightmost spoke">
<normalize>
<structure>
<scale !ssize*.1 !ssize*sl !ssize*.1>
<rotate 0 yr 90>
<lib "cyl.w3d">
<object bound>
<smooth>
</structure>
</axis>
<pop>
<push>
<axis !ssize*-offset 0 0 "leftmost spoke">
<normalize>
<structure>
<scale !ssize*.1 !ssize*sl !ssize*.1>
<rotate 0 yr 90>
<lib "cyl.w3d">
<object bound>
<smooth>
</structure>
</axis>
<pop>
<push>
<axis 0 0 !ssize*offset "nearmost spoke">
<normalize>
<structure>
<scale !ssize*.1 !ssize*sl !ssize*.1>
<rotate 0 !yr+90 90>
<lib "cyl.w3d">
<object bound>
<smooth>
</structure>
</axis>
<pop>
<push>
<axis 0 0 !ssize*-offset "farmost spoke">
<normalize>
<structure>
<scale !ssize*.1 !ssize*sl !ssize*.1>
<rotate 0 !yr+90 90>
<lib "cyl.w3d">
<object bound>
<smooth>
</structure>
</axis>
<pop>
------------------------------------------- ENDBALLS
<push>
<axis !ssize*soffset 0 0 "rightmost endball">
<position 0 0 0> <radius !ssize*eb>
<object sphere>
</axis>
<pop>
<push>
<axis !ssize*-soffset 0 0 "leftmost endball">
<position 0 0 0> <radius !ssize*eb>
<object sphere>
</axis>
<pop>
<push>
<axis 0 0 !ssize*soffset "nearmost endball">
<position 0 0 0> <radius !ssize*eb>
<object sphere>
</axis>
<pop>
<push>
<axis 0 0 !ssize*-soffset "farmost endball">
<position 0 0 0> <radius !ssize*eb>
<object sphere>
</axis>
<pop>
<pop>
| Quick Nav Bar | ||||||||
|---|---|---|---|---|---|---|---|---|
| << Previous | Contents |
Selection |
Op Index |
Parent | User Notes |
Index |
Glossary |
Next >> |
| WinImages F/x Manual Version 7, Revision 5, Level B |