[Bf-committers] noise module loaded in driver_namespace by default
Daniel Salazar - 3Developer.com
zanqdo at gmail.com
Sat Sep 3 10:06:40 CEST 2011
sounds good, id suggest we do the same with math then, so it becomes
math.sin etc, we can keep direct access available for 2-3 releases as
deprecation time but it's just the right thing
cheers
Daniel Salazar
3Developer.com
On Sat, Sep 3, 2011 at 2:04 AM, Campbell Barton <ideasman42 at gmail.com> wrote:
> On Sat, Sep 3, 2011 at 5:27 PM, Daniel Salazar - 3Developer.com
> <zanqdo at gmail.com> wrote:
>> I want to add the fantastic noise module to driver_namespace by
>> default. After all, what good is an expression without noise! This
>> module adds the next awesome functions:
>>
>> cell
>> cell_vector
>> distance_metrics
>> fractal
>> hetero_terrain
>> hybrid_multi_fractal
>> multi_fractal
>> noise
>> random
>> random_unit_vector
>> ridged_multi_fractal
>> seed_set
>> turbulence
>> turbulence_vector
>> types
>> vector
>> vl_vector
>> voronoi
>>
>> this + the math module + frame (both already there) = expressions
>> useful for everyday tasks!
>>
>> Daniel Salazar
>> 3Developer.com
>
> I'm reluctant to import these directly because some of the names don't
> make a lot of sense on their own.
> - random: a python module
> - types: also a python module
> - seed_set: doesn't make sense to import this IMHO
> - vector: similar to mathutils.Vector
> - cell: not very meaningful on its own.
>
> Suggest we import noise but not its members, this way you have to type
> noise.random() rather than just random() but at least its clear whats
> being accessed.
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
More information about the Bf-committers
mailing list