Page 181
Quick Nav Bar
<<   Previous Contents
Selection
Op Index
Parent User Notes
Index
Glossary
Next   >>


gemscene.w3d (a scene file, 4 faceted gems - requires "brilliant12.w3d")

Note:

Keep this in mind...
You can page through the W3D samples using Next and Previous in the Quick Navigation bars at the top and bottom of the page. You can also get directly back to the Ray Trace operator page by clicking on Parent. These documentation pages are subordinate to the Ray Trace operator.

To use the examples on these pages, you should copy and paste the SceneScript content into a text editor (we highly recommend TextPad which can perform SceneScript syntax highlighting.) Then save the text file to a location (or locations) in your filesystem where you want to maintain your ray trace files.

We suggest you create a filesystem location for library files (such as textures, standard objects and similar commonly used items) and a second filesystem location for "scenes" that use these library items.

The reason we don't build these structures for you is that every beta tester we had who worked with the ray trace operator preferred a completely different setup, and we were at a loss to try and create something that would work for everyone.

For your reference, here's what we use at Black Belt Systems:

c:\w3\for library files
c:\w3scenes\for scene files


Scene file for WinImages R6
Author - Ben Blish
For Black Belt Systems
June 2nd ... June 7th

<libpath "c:\w3\">
<lib "textures.w3d">
<axis 1 2 3 "foobar">

<viewtarget 0 0 0>
<viewlocation 0 0 -14>

GEMS
    <apply "diamond">

    <structure>
    <rotate -45 0 0>
    <scale .5 .5 .5>
    <translate 1 3 0>
    <color 1 1 1>
<lib "brilliant12.w3d">
<object bound>

    <push>
    <structure>
    <translate -5 2 0>
    <color 1 0 0>
<lib "brilliant12.w3d">
<object bound>
    <pop>

    <structure>
    <translate 5 -3 0>
    <color 0 0 1>
<lib "brilliant12.w3d">
<object bound>

    <structure>
    <translate -1 -2 3>
    <translucency 2>
    <color 0 1 0>
<lib "brilliant12.w3d">
<object bound>

---------------------------

LIGHT
    <position 650 650 -650>
    <color 1 1 1>
<object light "light_1">

<atmosphere 1.0>




Quick Nav Bar
<<   Previous Contents
Selection
Op Index
Parent User Notes
Index
Glossary
Next   >>
Page 181

WinImages F/x, WinImages Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions

WinImages F/x Manual Version 7, Revision 5, Level B

HTML Documentation Management System © 1992-2007 Black Belt Systems