Shaders


spin_stars - A shader for traveling, spinning stars

 

This Renderman shader applies color stars with random rotation, spinning and movement to an object. The object is rendered transparent except where the stars appear.

Here is the QuickTime view for web browsers:

 

 


Parameter

Data Type

Usage

Example

s_cells

Positive integer

tile count in s direction

s_cells = 10

t_cells

Positive integer

tile count in t direction

t_cells = 10

offset

float 0.0 to 1.0

offset in t direction for travel

offset = 0.5

spin

float 0.0 to PI * 2

rotation value of the star, after psuedorandom rotation

spin = 6.28318

r_min

float

radius of the star's inner point

r_min = 0.3

r_max

float

radius of the star's outer point

r_max = 0.7

star_points

Positive integer

The number of points in the star

star_points = 5

fuzz

float 0.0 to 1.0

color blending width

fuzz = 0.02


View the spin_stars shader source

Download the spin_stars package for Presenter 3D

 


HOME

NEW

LINKS

GALLERY

ARTICLES

PLUG-INS

RENDERMAN

Switch to Frame View




Copyright © 1997 by WebNation
All trademarks are the property of their respective holders