[Bf-committers] Particle questions

Ken Hughes khughes at pacific.edu
Wed Nov 16 01:38:52 CET 2005


I'm trying to add BPy support for the new particle system features and 
have two questions:

* is there any reason why the textures (and materials) don't clamp the 
same?
   -- timetex: between 1 and 8 (should be 10)
   -- speedtex: between 1 and 10
   -- mat[] between 1 and 8 (should be 16)
   -- omat: between 1 and 16
* is there any way to "disable" speedtex?  There's this check in effect.c:
     if(paf->speedtex)
        mtexmove= ma->mtex[paf->speedtex-1];
   but I can't see where speedtex can be set to 0

And a related question for BPy developers:  is there some existing code 
which gets/sets a three-way toggle (TOG3)?  My first thought was to 
borrow from the material (MTex) API but can't see it doing anything 
special.  I need it now for the "TexEmit" setting (flag2/flag2neg).

Ken


More information about the Bf-committers mailing list