1 \section{Creating your own object
}
2 It is possible to create your own object in a separate file and
3 import it into the list of objects recognized by
4 \texttt{pst-solides3d
}. Create a text file with the extension of
\texttt{.pro
}
5 (myObj.pro) and enter the PostScript commands to define your
6 \texttt{pst-solides3d
} object.
8 Reference your
\texttt{.pro
} file in the preamble with
12 Following this line, add this new object to the list of objects recognized by
\texttt{pst-solides3d
}
15 \addtosolideslistobject{myObj
}
18 For some examples of this technique, see the following web pages:
20 \centerline{\url{http://melusine.eu.org/syracuse/mluque/solides3d2007/cristaux/
}}
22 \centerline{\url{http://melusine.eu.org/syracuse/mluque/solides3d2007/rhombicuboctaedre/
}}
25 \section{Creating a
\texttt{.u3d
} file
}
27 You can manipulate
3D objects created with
\texttt{pst-solides3d
};
28 the following three steps are necessary:
30 \item Save your designed
3D object in the
\texttt{.off
} or
31 \texttt{.obj
} format---see the chapter ``
\textit{Usage of external files
}''.
33 \item Then use, for example,
\textit{Meshlab
}---an open source software---(
\url{http://meshlab.sourceforge.net/
}) to convert these files
34 into the
\texttt{.u3d
} format.
36 \item The
{\LaTeX} package
\texttt{movie15
} of Alexander
\textsc{Grahn
} embeds
37 files in the
\texttt{.u3d
} format into a PDF
document, the
document can then be viewed
38 using $
\text{Adobe
}^
{\text{\tiny\circledR}}$ $
\text{Reader
}^
{\text{\tiny\circledR}}$
7 or later.
41 You will find some examples on the following web pages:
43 \centerline{\url{http://melusine.eu.org/syracuse/mluque/solides3d2007/pdf3d/
}}
45 \centerline{\url{http://melusine.eu.org/syracuse/mluque/solides3d2007/zeolithes/
}}