[Bf-committers] Particle questions
Janne Karhu
janne.karhu at palvelut.net
Wed Nov 16 06:47:07 CET 2005
> * is there any reason why the textures (and materials) don't clamp the
> same?
Some mixups from me and some from different coding times so no, atleast I
don't see
any reason for this (Ton you'll fix?)..
> * 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
It can't be actually set to zero anywhere, but if I remember correctly the
"if" was a
safety for old blender files which didn't have the speedtex variable so it
was set to zero,
but I covered that with sdna conversion later (iirc again, otherwise I
really should have).
Hope this helps.
Janne
----- Original Message -----
From: "Ken Hughes" <khughes at pacific.edu>
To: "bf-blender developers" <bf-committers at projects.blender.org>
Sent: Wednesday, November 16, 2005 2:38 AM
Subject: [Bf-committers] Particle questions
> 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
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
>
More information about the Bf-committers
mailing list