

















|
Paths and the Content Directory
by David J. Vrba
Particle Storm tries to create relative path names whenever possible. A relative path is one that can be appended to a current path to arrive at an absolute path. An absolute path locates a file regardless of where the current path is.
An example of an absolute path is: "C:\ NEWTEK\ OBJECTS\ ANIMAL\ COW.LWO"
If the current path is: "C:\ NEWTEK", then the relative path would be "\ OBJECTS\ ANIMAL\ COW.LWO"
Just like Layout uses a content directory (path) to locate objects, images, etc., Particle Storm uses its own content directory (path) to locate effect objects (.lwo) and effect files (.psm). To reduce confusion, it is best to simply keep the Particle Storm content directory exactly the same as the Newtek content directory. (Due to technical reasons, this could not be done automatically.)
The benefit to this is that one may transfer all the files for an animation from one location to another without difficulty (as long as the relative path structures are maintained).
One key point to remember when loading effect files (.psm) or effect objects (.lwo) is to identify their location starting with the Particle Storm content directory. Otherwise, an absolute path may be used instead of the relative one desired.
In LightWave 5.5 and up, the content path is automatically set to the Layout’s content path.
|