[Bf-taskforce25] 2.5: how to help out right now

Sven von Brand svbrand at alumnos.inf.utfsm.cl
Mon Mar 23 22:49:30 CET 2009


Brecht Van Lommel wrote:
> Hi Sven,
> 

Hi Brecht

> 
> Assuming you have checked out and built Blender 2.5,
> source/blender/makesrna/intern/rna_texture.c is the file you need to

Well assumed, I atached the patch of my work

> edit. As an example, I added the CloudsTexture type, check the diff to
> see how this works:
> http://projects.blender.org/plugins/scmsvn/viewcvs.php/branches/blender2.5/blender/source/blender/makesrna/intern/rna_texture.c?root=bf-blender&r1=19381&r2=19380&pathrev=19381

I started doing some work, but I have some doubts, I added two
EnumPropertyItem to Clouds for the Soft/Hard and Default/Color
properties, but I don't know if it's alright or not, if I should make
those properties in another way or put the EnumProp... outside Clouds.
It's working fine, I already tested the changes, and they appear as one
would expect in Outliner/datablock.


> The work is adding all the different texture types and their properties.
> To verify that it works, in the Outliner, Datablocks view, you can
> browse to Textures (assuming a texture was added to the file in 2.4).

If this changes are ok, I'll move on to the rest of the textures

> The technical docs for RNA are here:
> http://wiki.blender.org/index.php/BlenderDev/Blender2.5/RNA#Defining_Structs_and_Properties
> 
> It's probably best to learn from example by checking other defined
> properties and structs. Also, use the buttons code from 2.4 for
> reference and copy the tooltips from there. It's the texture_panel_*
> functions in buttons_shading.c:
> https://svn.blender.org/svnroot/bf-blender/trunk/blender/source/blender/src/buttons_shading.c
> 
> Thanks!
> Brecht
> 

Thank you

-- 
Sven von Brand Laredo
Estudiante de Ing. Civil Informatica, UTFSM
Fedora Ambassador for Chile
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rna_texturePatch.txt
Url: http://lists.blender.org/pipermail/bf-taskforce25/attachments/20090323/c55283c7/attachment-0001.txt 


More information about the Bf-taskforce25 mailing list