donn <[email protected]> writes: > Perfect. I see a rotating monkey. Nice model too.
Yes, a frightening rotating monkey with no eyes - just what you wanted right? :) > So, this code appears to work well. (I don't understand the depth > testing stuff, but I don't expect to.) The depth testing stuff is needed so that the back of the monkey won't be drawn over the front. It's kind of awkward to enable depth testing from Cogl at the moment but we have plans to make this easier at some point. > Would clutter-ply become a stand-alone package, from a python pov? > Something like: import clutterply? > Better would be: > import clutter3D > from clutter3D import PLYloader > So we could add other means to get 3D data in over time. Yes, I'm not sure. A clutter-3d package supporting other data formats could be good. Potentially that could be a place to store other actors as well such as a ClutterSphere. I also have a ClutterMD2¹ library for loading the models from Quake2 written a while ago and it would be nice to merge that in with the PLY library. It has stagnated somewhat now though and it doesn't use the CoglVertexBuffer API. > Anyway, if I am feeling particularly sharp I will start to read about > how to make Python bindings and hack away at this. Any hints or links > would be as honey to a tired bee! Ok, great! I don't know much about the python bindings so I can't offer any help. However if you wanted to take a shortcut you could use this evil hack and get to the C api directly from Python without any bindings: http://lists.o-hand.com/clutter/1979.html - Neil ¹ http://www.busydoingnothing.co.uk/blog/2008/06/06#AbusingClutter -- To unsubscribe send a mail to [email protected]
