vcanim.gif (8357 bytes)Plugin Examples
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 

 


SoftWishChaos

This is an example of a straight port to SoftWish from C, and of using your own C language shareable library from SoftWish. The effect ported is the C language "Chaos" plugin which ships with the SAAPHIRE SDK. It also shows how to add your own C functions to a SoftWish plugin using a shared library. This is an immediate effect. It lives in SI_LOCATION/3D/custom/SoftWish/SoftWishChaos.

To run SoftWishChaos, copy SoftWishChaos.v1.cus from SI_LOCATION/3D/custom/SoftWishChaos to SI_LOCATION/3D/custom/model, before starting Softimage. This adds SoftWishChaos to Models->Effects.

Now run Softimage, and get some models, either from an existing scene or by using Model-> Get->Primitive. Select some of the models. Now choose Model->Effects->SoftWishChaos. The X, Y and Z values displayed are the absolute values of the lower and upper bounds of the range that the random generator will use. Choose new values or do nothing to accept the defaults. Select OK. The selected models will move a random distance along the X, Y, and Z axes.


SoftWishSliders

This is an example of an interactive effect written in SoftWish. It allows you to move all the selected objects in a scene by moving Tk sliders. Note that this kind of plugin needs a Softimage dialog, but only because if one is not present in the .cus file then the SETUP entry point is not called. This effect makes do with a minuscule OK button when it is done. This is an immediate effect. It lives in $SI_LOCATION/3D/custom/SoftWish/SoftWishSliders.

To run SoftWishChaos, copy SoftWishSliders.v1.cus from SI_LOCATION/3D/custom/SoftWishSliders to SI_LOCATION/3D/custom/model, before starting Softimage. This adds SoftWishSliders to Models->Effects.

Now run Softimage, and get some models, either from an existing scene or by using Model-> Get->Primitive. Select one of the models. Choose Model->Effects->SoftWishSliders. The SoftWishSliders widget will appear, containing three sliders and an Exit button. (Actually, due to Softimage's behavior, the widget may be hidden behind Softimage, and may have to be manually brought to the front of the z-order.) By using the sliders, you will be able to move the selected model along the x, y, and z axes.


Whitepaper ] Terms and Conventions ] Release Notes 2.2 ] Problems You May Encounter ] Installation overview ] Installing on Irix ] Installing on Nt ] Licensing ] Scripting ] Utilities and Libraries ] Tools ] Tutorials ]

copyright Video-Collage Inc.