Re: [clutter] WHERE IS clutter_sini?
Dear Samuel: You said you are now porting clutter toys to clutter 1.0, have you ever successfully port one of the toys named odo? I am now porting it to clutter 1.0, but I meet a Floating Point Exception error, and I found this error is caused by the function call clutter_actor_show_all(stage), because when I use clutter_actor_show(stage), that is, not showing the actor named odo whose type is ClutterTextureOdo, there is no error reported. Can you help me? Thanks in advance. On Thu, Aug 13, 2009 at 5:26 PM, Samuel Degrande samuel.degra...@lifl.frwrote: On 13/08/2009 11:17, Jianchun Zhou wrote: Hello, guys: In version 1.0 I found some functions and maros were gone, like: clutter_sini clutter_cosi CFX_MUL Any idea where they are? Thanks a million! -- Best Regards As far as I know, the Fixed Point API was removed, and clutter now use floating point values internally. So, once again AFAIK, you juste have to replace, for example : clutter_sini(v*512) by sin(v*M_PI) and so on... CFX_MUL(a, b) by a * b you can also remove any float - fixed point conversions. This is at least what I did on the clutter toys to adapt them to 1.0 API. I let clutter core developers to correct me if I'm wrong... -- Samuel Degrande LIFL - UMR8022 CNRS - INRIA Futurs - Bat M3 Phone: (33)3.28.77.85.30 USTL - Universite de Lille 1 (33)3.62.53.15.70 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE [CA certs: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html ] -- Best Regards
Re: [clutter] WHERE IS clutter_sini?
On 03/09/2009 10:33, Jianchun Zhou wrote: Dear Samuel: You said you are now porting clutter toys to clutter 1.0, have you ever successfully port one of the toys named odo? I did not have to port it, because Chris Lord already did it : http://chrislord.net/files/clutter-animations-talk.zip The new odo toys is in the 'demo' dir. Regards. -- Samuel Degrande LIFL - UMR8022 CNRS - INRIA Futurs - Bat M3 Phone: (33)3.28.77.85.30 USTL - Universite de Lille 1 (33)3.62.53.15.70 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE [CA certs: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html ] -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com
Re: [clutter] WHERE IS clutter_sini?
On Thu, 2009-09-03 at 11:01 +0200, Samuel Degrande wrote: You said you are now porting clutter toys to clutter 1.0, have you ever successfully port one of the toys named odo? I did not have to port it, because Chris Lord already did it : http://chrislord.net/files/clutter-animations-talk.zip The new odo toys is in the 'demo' dir. Chris committed the code to the toys/ repository on clutter-project.org as well. :-) indeed, Chris's code is a great example of the vertex buffer API in COGL. ciao, Emmanuele. -- Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com Intel Open Source Technology Center | http://oss.intel.com -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com
Re: [clutter] WHERE IS clutter_sini?
Thank you all very much, Chris is great ! On Thu, Sep 3, 2009 at 5:09 PM, Emmanuele Bassi eba...@linux.intel.comwrote: On Thu, 2009-09-03 at 11:01 +0200, Samuel Degrande wrote: You said you are now porting clutter toys to clutter 1.0, have you ever successfully port one of the toys named odo? I did not have to port it, because Chris Lord already did it : http://chrislord.net/files/clutter-animations-talk.zip The new odo toys is in the 'demo' dir. Chris committed the code to the toys/ repository on clutter-project.org as well. :-) indeed, Chris's code is a great example of the vertex buffer API in COGL. ciao, Emmanuele. -- Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com Intel Open Source Technology Center | http://oss.intel.com -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.comclutter%2bunsubscr...@o-hand.com -- Best Regards
[clutter] WHERE IS clutter_sini?
Hello, guys: In version 1.0 I found some functions and maros were gone, like: clutter_sini clutter_cosi CFX_MUL Any idea where they are? Thanks a million! -- Best Regards
Re: [clutter] WHERE IS clutter_sini?
On 13/08/2009 11:17, Jianchun Zhou wrote: Hello, guys: In version 1.0 I found some functions and maros were gone, like: clutter_sini clutter_cosi CFX_MUL Any idea where they are? Thanks a million! -- Best Regards As far as I know, the Fixed Point API was removed, and clutter now use floating point values internally. So, once again AFAIK, you juste have to replace, for example : clutter_sini(v*512) by sin(v*M_PI) and so on... CFX_MUL(a, b) by a * b you can also remove any float - fixed point conversions. This is at least what I did on the clutter toys to adapt them to 1.0 API. I let clutter core developers to correct me if I'm wrong... -- Samuel Degrande LIFL - UMR8022 CNRS - INRIA Futurs - Bat M3 Phone: (33)3.28.77.85.30 USTL - Universite de Lille 1 (33)3.62.53.15.70 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE [CA certs: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html ] -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com
Re: [clutter] WHERE IS clutter_sini?
Thank you, Samuel, at least it works now. First time hearing AFAIK, ha! On Thu, Aug 13, 2009 at 5:26 PM, Samuel Degrande samuel.degra...@lifl.frwrote: On 13/08/2009 11:17, Jianchun Zhou wrote: Hello, guys: In version 1.0 I found some functions and maros were gone, like: clutter_sini clutter_cosi CFX_MUL Any idea where they are? Thanks a million! -- Best Regards As far as I know, the Fixed Point API was removed, and clutter now use floating point values internally. So, once again AFAIK, you juste have to replace, for example : clutter_sini(v*512) by sin(v*M_PI) and so on... CFX_MUL(a, b) by a * b you can also remove any float - fixed point conversions. This is at least what I did on the clutter toys to adapt them to 1.0 API. I let clutter core developers to correct me if I'm wrong... -- Samuel Degrande LIFL - UMR8022 CNRS - INRIA Futurs - Bat M3 Phone: (33)3.28.77.85.30 USTL - Universite de Lille 1 (33)3.62.53.15.70 59655 VILLENEUVE D'ASCQ CEDEX - FRANCE [CA certs: http://igc.services.cnrs.fr/CNRS-Standard/recherche.html ] -- Best Regards