Yes. I missed the texture "weapon.png". I saved it as "players/sfod8/weapon.pcx" and run the following command again :
test-display weapon.md2 OK, It succeeded to run and see the model. Darioros, thank you very much. Liu Peng http://www.linuxgraphics.cn ________________________________ From: "[email protected]" <[email protected]> To: Peng Liu <[email protected]> Sent: Monday, May 18, 2009 3:57:02 PM Subject: Re: Re: [clutter] 3D Models I guess you miss a texture. Pcx is an image file extension... It could be referenced by your model. Make sure to have it or put a fake one, in the specified path, making it with some app that can save an image in pcx (any advanced editor can). On May 18, 2009 4:24am, Peng Liu <[email protected]> wrote: > > I have succeeded to install the clutter-md2 library with clutter-0.8. But > when I run the test program with a md2 file as following: > > test-display weapon.md2 > > It failed to run and the following error message is printed: > > Failed to open file './players/sfod8/weapon.pcx': No such file or directory > > Do you ever meet this error? I have googled it and find nothing related. I > have tried with other md2 file, It reported the same error. > > > > > > > > Liu Peng > http://www.linuxgraphics.cn > > > From: Roger WANG [email protected]> > To: [email protected] > Sent: Friday, May 15, 2009 9:37:20 AM > Subject: Re: [clutter] 3D Models > > > On Fri, May 15, 2009 at 09:12:38AM +0800, Jake Knickerbocker wrote: > > Hi there, > > > > I've been playing with Clutter for about a month now and > > am completely impressed. I've been using version 0.8 and > > find it very stable (at least for the relatively simple things I've > > been doing) and am very much looking forward to the 1.0 > > release. Thank you for such a great library. > > > > I do have a question. What would it take to get 3D models into Clutter? > > I know there is an extension library written by someone out there > > who did some kind of car racing game in Clutter, but I am wracking > > my brain lately trying to remember the name of that. > It's clutter-md2 by Neil Roberts: > > http://github.com/bpeel/clutter-md2/tree/master > > I sent him a patch for clutter-0.9, you > may need it. > > - Roger > > > > Maybe this is beyond the scope of the current incarnation and goals > > of Clutter, but would it be possible to create a custom 3D actor? > > > > Thanks, > > Jake > > > > > > > >
