home *** CD-ROM | disk | FTP | other *** search
Wrap
NeXT TypedStream Data | 1995-06-12 | 10.9 KB | 210 lines
typedstream IBObjectData Object CustomObject SlideShowView TextField Control Responder Title Helvetica [22@] TextFieldCell ActionCell by: Kamlesh Trivedi Times-Bold seconds/slide Matrix @:@iiii ff@@#::s Times-BoldItalic Button ButtonCell Bounce NXImage NXswitch NXswitchH kam@nPOINT.com Set... Slider SliderCell dddf@d@< Courier-Bold Symbol Helvetica-Oblique Courier Credits... ClipView ScrollView Scroller _doScroller: @@@ffs NXCursor NXibeam ciifffcfffs [7442c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;\f1\fmodern Ohlfs;\f2\fnil Times-Roman;} \margl40 \margr40 {\colortbl;\red85\green85\blue85;\red0\green0\blue0;\red0\green8\blue93;\red255\green0\blue0;} \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\f0\b0\i0\ulnone\fs18\gray333\fc1\cf1 ______________________________________________ \gray0\fc2\cf2 \ Kamlesh Trivedi kam@nPOINT.com Nov. '92 \ \fs28 \ \fs72\gray282\fc3\cf3 SlideShow \fs24 (v1.0)\ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc0\cf0 \ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs24\fc0\cf0 SlideShow is a BackSpace view that allows a \b .anim \b0 directory to be used as a slideshow directory. The following options are allowed:\ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\gray300\fc4\cf4 \ \fs28\gray0\fc2\cf2 \fs24\gray300\fc4\cf4 bounce button \gray0\fc0\cf0 allows you to specify whether the images will bounce around the screen or stay stationary in the middle.\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs8\fc0\cf0 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 seconds/side \gray0\fc0\cf0 show a slide for whatever numbers of seconds you specify.\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs8\fc0\cf0 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 .anim path \gray0\fc0\cf0 tell SlideShow which \b .anim \b0 directory to use. A \b .anim \b0 directory contains \b .tiff \b0 files in numerical order. For example, \b 1.tiff \b0 , \b 2.tiff, etc... \b0 .\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs18\fc2\cf2 \ \gray333\fc1\cf1 ______________________________________________\ \fs36\gray0\fc0\cf0 \ Important Files...\ \fs8 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 SlideShow.anim \gray0\fc0\cf0 contains a bunch of images that were modeled in nPOINT, Ltd.'s Frontface modeler. In fact, this BSView exists because nPOINT needed a slideshow-type app quickly and BackSpace was the only free and quick way to do it. \fs28\fc2\cf2 \ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs8\fc0\cf0 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 Makefile \gray0\fc0\cf0 type \b make install \b0 to install the entire BSView into your \b ~/Library/BackSpaceViews \b0 directory.\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs8\fc0\cf0 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 SlideShow.[hm] \gray0\fc0\cf0 is where all the work is done. \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs36\fc2\cf2 \ \fc0\cf0 Installation\ \fs8 \ \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fs24\fc0\cf0 To install, type \b make install \b0 in the \b SlideShow \b0 directory (where the \b Makefile \b0 resides.)\ To unload, remove the \b SlideShowView.BackModule \b0 from the \b BackSpaceViews \b0 directory that you installed the view in initially.\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs36\fc2\cf2 \ \fc0\cf0 Notes on the Images \fs48 ... \fs24 \ \fs8 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 Teapot/Coffee Cup \gray0\fc0\cf0 is a box with the standard RenderMan teapot and a surface of revolution with a semi-torus attached to it. The item to notice is the environment mapping of the cup on the teapot.\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs8\fc0\cf0 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 Yellow CSG \gray0\fc0\cf0 has many torus' that are inside of a sphere. This demonstrates the \i power \i0 of modeling by CSG and also how transparency can be used for a dramatic effect.\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs8\fc0\cf0 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 Face/Column/Bush \gray0\fc0\cf0 demonstrates environment mapping, shadow mapping and multiple lights of varying colors. The face, courtesy of Chuck Carter and imported into Frontface, has a shiny metal-type shader on it to demonstrate the effect of RenderMan's least used and powerful capabilities.\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs8\fc0\cf0 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 Long Nose/Chin Face \gray0\fc0\cf0 is here to show how patches can be modified slightly to come up with a radically different image. \ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs8\fc0\cf0 \ \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\fs28\fc2\cf2 \fs24\gray300\fc4\cf4 Altar \gray0\fc0\cf0 shows off RenderMan's shading language. The fire, sky, bushes, and bricks are all done through a few custom shaders. \ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fs36\fc2\cf2 \ \fc0\cf0 Thanks \pard\tx360\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f1\fs24\fc0\cf0 \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fc0\cf0 \ \f0\fs8 \ \pard\tx360\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\b\i\ul\fs24\fc0\cf0 Sam Streeper \b0\i0 ! \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\ulnone\fs28\fc0\cf0 \ \fs36\fc2\cf2 \ \fc0\cf0 Bye \pard\tx360\tx2300\tx3440\tx4600\tx5760\tx6900\tx8060\tx9200\tx10360\tx11520\f1\fs24\fc0\cf0 \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\fc0\cf0 \ \f0\fs8 \ \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fs24\fc2\cf2 Please send bugs and / or comments to \b kam@nPOINT.com \b0 .\ \pard\tx480\tx960\tx1440\tx1920\tx2400\tx2880\tx3360\tx3840\tx4320\tx4800\f2\fc0\cf0 \ \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\fc0\cf0 Email \b info@nPOINT.com \b0 to receive more information about Frontface and the images that are included in SlideShow. \pard\tx480\tx960\tx1440\tx1920\tx2400\tx2880\tx3360\tx3840\tx4320\tx4800\f2\fc0\cf0 \ \f0\fc2\cf2 SlideShow is \b freeware \b0 . You are free to distribute it, and to reuse all source code included, as long as you leave this help text within it, and credit me if you reuse the source. Also, the images have individual copyrights which are owned by the respective persons and / or companies.\ \f2\fc0\cf0 \ \f0\fc2\cf2 Even though I do some work for nPOINT, SlideShow should not be considered in any way a product of nPOINT, Ltd.\ \pard\tx1060\tx2120\tx3200\tx4260\tx5320\tx6400\tx7460\tx8540\tx9600\tx10660\i0\fs18\gray333\fc1\cf1 ______________________________________________\ WindowTemplate iiii***@s@ Window SlideShow Credits Panel Credits Field131 Field112 Inspector Field21 Field1312 Field1313 Field1311 Field11111 Field13 Field1112 Field12 Field13111 Field1 Field14 Field111 Field11 Field1111 Field3 File's Owner [11@] IBOutletConnector IBConnector inspectorView pathButton pathTextField bounceButton IBControlConnector bounceButtonHit: secsPerSlideTextField setSecsPerSlide: secsPerSlideSlider pathButtonHit: pathSet: makeKeyAndOrderFront: