[Bf-committers] RE: [Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern texture.c blender/source/blender/blenlib BLI_blenlib.h blender/source/blender/blenlib/intern noise.c blender/source/blender/blenloader/intern readfile.c blender/source/blender/makes

Peter den Bak bf-committers@blender.org
Sat, 3 Apr 2004 17:05:29 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0025_01C4199D.DDEC5770
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

Hi Ton,

Buttons_shading.c gives compiling errors with MSVC6.
I solved this by moving up the 'static char dm_menu[256];' in 'the =
static
void texture_panel_voronoi(Tex *tex)' a couple of lines.

Here is the diff.
(hope it works, never worked with diff's before....)

Regards,

Peter

-----Original Message-----
From: bf-blender-cvs-admin@blender.org
[mailto:bf-blender-cvs-admin@blender.org] On Behalf Of Ton Roosendaal
Sent: Saturday, April 03, 2004 3:59 PM
To: bf-blender-cvs@blender.org
Subject: [Bf-blender-cvs] CVS commit:
blender/source/blender/blenkernel/intern texture.c
blender/source/blender/blenlib BLI_blenlib.h
blender/source/blender/blenlib/intern noise.c
blender/source/blender/blenloader/intern readfile.c
blender/source/blender/makesdna=20

ton (Ton Roosendaal) 2004/04/03 15:59:27 CEST

  Modified files:
    blender/source/blender/blenkernel/intern texture.c=20
    blender/source/blender/blenlib BLI_blenlib.h=20
    blender/source/blender/blenlib/intern noise.c=20
    blender/source/blender/blenloader/intern readfile.c=20
    blender/source/blender/makesdna DNA_texture_types.h=20
    blender/source/blender/python SConscript=20
    blender/source/blender/python/api2_2x Blender.c modules.h=20
    blender/source/blender/render/intern/source texture.c=20
    blender/source/blender/src buttons_shading.c=20
 =20
  Log:
  Eesho's patch for new noise textures!
 =20
  Basically this provides three new things:
 =20
  1. Choice of a list of noise-base functions, which can be used by the
     current Clouds, Marble, Wood textures as well.
  2. Three new texture types: Musgrave, Voronoi and DistortedNoise
  3. Python access to noise functions (not for render!)
 =20
  All of this together makes Blender's builtin procedural textures a LOT
  more powerful. Here again, a full webpage should be made to show off =
all
  possibilities, and explain some of the more scientific names for =
settings.
 =20
  A good read on Musgrave textures can be found here:
  http://www.ypoart.com/Downloads/Musgrave.htm
  About Voronoi:
  http://www.ypoart.com/Downloads/Worley.htm
  I can't find official DistortedNoise docs easily... maybe its =
something
  Eeshlo created himself.
 =20
  I've spent some time to change the patch Eeshlo provided. Worth =
noting:
  - created main texture "Musgrave" with 5 sub choices (instead of 5 new
    main textures)
  - added for all new textures the option to scale (zoom in out)
  - added patch in do_versions to initialize variables
 =20
  I hope the Python team will check on the Noise.c API. And include in =
docs!
 =20
  Revision  Changes    Path
  1.16      +39 -21    =
blender/source/blender/blenkernel/intern/texture.c
  1.8       +18 -2     blender/source/blender/blenlib/BLI_blenlib.h
  1.5       +1033 -27  blender/source/blender/blenlib/intern/noise.c
  1.46      +25 -1     =
blender/source/blender/blenloader/intern/readfile.c
  1.10      +46 -1     =
blender/source/blender/makesdna/DNA_texture_types.h
  1.10      +1 -0      blender/source/blender/python/SConscript
  1.30      +1 -0      blender/source/blender/python/api2_2x/Blender.c
  1.37      +3 -0      blender/source/blender/python/api2_2x/modules.h
  1.16      +239 -41   =
blender/source/blender/render/intern/source/texture.c
  1.68      +157 -25   blender/source/blender/src/buttons_shading.c
_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://www.blender.org/mailman/listinfo/bf-blender-cvs

------=_NextPart_000_0025_01C4199D.DDEC5770
Content-Type: application/octet-stream;
	name="button_shading.diff"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="button_shading.diff"

Index: buttons_shading.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: =
/cvsroot/bf-blender/blender/source/blender/src/buttons_shading.c,v
retrieving revision 1.68
diff -r1.68 buttons_shading.c
877a878,879
> 	static char dm_menu[256];
>=20
892d893
< 	static char dm_menu[256];

------=_NextPart_000_0025_01C4199D.DDEC5770--