home *** CD-ROM | disk | FTP | other *** search
-
- --- Stars V1.2 ---
-
- What is it?
-
- Stars is a program that will generate starfields in TDDD format.
- (Thats the file format for Imagine 3D)
-
- Usage is pretty simple. All you need to supply is a filename, number
- of stars and the distance from the axis that they are to be placed.
-
- Ex: "Stars Universe.iob 500 160"
-
- This will generate a sphere of 500 stars placed 160 Imagine units from
- the axis of the object. There are more paramaters to further customise
- your starfield. A template can be listed by typing "Stars ?" and the
- paramaters can be given out of order by supplying the keyword.
-
- Ex: "Stars SPHERESIZE 160 FILE Universe.iob NUMSTARS 500"
-
- Explanations of all the paramaters are listed below...
-
- FILE: (Required/String)
-
- This is the filename to save the imagine TDDD file to.
-
- NUMSTARS: (Required/Number)
-
- How many stars in your universe?
-
- SPHERESIZE: (Number)
-
- This is how far from the center of the object the stars are
- placed at. The stars are distributed over the surface of a
- sphere by default and this is the radius of that sphere.
-
- MINSTARSIZE, MAXSTARSIZE: (Number)
-
- How big are the stars? If just MINSTARSIZE is given the stars
- will all be the same size. If both MAX and MIN values are given
- the stars will be randomly sized between these two values.
-
- RANDSPHERESIZE: (Number)
-
- Normally the stars are placed to cover the outside of a sphere.
- This will randomly vary the sphere radius for each star by the
- specified amount. Use a value equal to the SPHERESIZE to have
- a sphere volume of stars instead of a surface.
-
- MINRED, MAXRED, MINGREEN, MAXGREEN, MINBLUE, MAXBLUE: (Number)
-
- Each star can be randomly colored. This sets the colors for
- the stars. The colors are picked between the min and max
- values. If you set MIN to 255,255,100 and MAX to 0,0,0 you
- will get a color range from black to yellow.
-
- SEED: (Number)
-
- By default Stars seeds the random number generator with the
- Amiga's clock to give diffrent starmaps each rendering. But
- sometimes you might want to render with the same seed. For
- example, render two starfields exactly the same except for
- the star sizes. You could then have the star sizes change in
- an animation. Or better, change the SPHERESIZE from very
- small to very large. Use states to make an explosion of stars.
-
- SQUARE: (Switch)
-
- If this switch is on, the stars will fill a cube instead of
- a sphere. RANDSPHERESIZE is ignored.
-
- PARTICLES: (Switch)
-
- Normally stars are made up of four sided objects. This switch
- tells stars to make them out of a single triangle. It also
- turns on Particles for this object, setting the Type to Sphere
- and Alignment to Faces. This is useful for when you want to get a
- little closer to the stars or want to use a diffrent shape than
- the one Stars generates. This produces the best looking stars
- in my opinion since CSG spheres will not have angles no matter
- how close you get to them. NOTE! Remember to use trace mode
- unless you set the particle type to somethign diffrent. CSG
- spheres are made up of triangles in Scanline and it will eat all
- your memory if you use lots of CSG stars in Scanline. In trace
- mode it is pretty memory efficent.
-
- Ok.. to get an idea of what this looks like do the following...
-
- "Stars universe.iob 2500 2000 1 25 PARTICLES"
-
- Now load this object into the detail editor. Your view should be inside
- the sphere of stars. Use "Reset View" if this is not the case.
- Now render this in full TRACE mode in hires. You should se a nice
- starfield full of stars of differing size and brightness. And better
- yet, the stars will not dissapear when you render a 1280x800 project like
- the Imagineones do. Imagine's stars are only a single pixel, so the
- entire look of them changes when you change screen modes. Not good.
-
- For an interesting swarming effect make a project and copy the included
- staging file into it. Next go to the Ram Disk and make six starfields
- named Stars0.iob to Stars5.iob with the command... "Stars <name> 20 160 75"
- Now make a preview looping anim in the Stage editor... since each starfield
- is random it makes a pretty interecting scene for such a simple setup. There
- are lots of possibilities here.. you could make the SPHERESIZE 1 at the
- start of the anim and 160 at the end to have the objects swarm outward
- randomly. Let me know anything neat you do! :-)
-
- --
- IanSmith@psu.edu <-- Use first
- Ian.Smith@f564.n2601.z1.fidonet.org
-