Hi, this is a simple obj format description of a cube with unit length. The 'g' statement specifies a group of faces. On the web there are various descriptions of the format(e.g. http://www.royriggs.com/obj.html).
v 0 1 1 # 1 v 0 0 1 # 2 v 1 0 1 # 3 v 1 1 1 # 4 v 0 1 0 # 5 v 0 0 0 # 6 v 1 0 0 # 7 v 1 1 0 # 8 g face0 f 1 2 3 f 1 3 4 g face1 f 8 7 6 f 8 6 5 g face2 f 4 3 7 f 4 7 8 g face3 f 5 1 4 f 5 4 8 g face4 f 5 6 2 f 5 2 1 g face5 f 2 6 7 f 2 7 3 Ayman El_Gharabawy wrote:
i just want to make file .obj of any shape to load it in my class how to make a file .obj =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". .
-- /*---------------------------------------------------------*\ | =========== Mattijs Janssens | | \\ / Development Engineer | | \\ / | | \\ / Nabla Ltd. | | \\ / The Mews, Picketts Lodge | | \\/ Picketts Lane, Salfords, | | F ield Surrey RH1 5RG. | | O peration Tel: +44 (0)1293 821272 | | A nd Email: [EMAIL PROTECTED] | | M anipulation URL: http://www.Nabla.co.uk | \*---------------------------------------------------------*/ =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
