[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/makesdna DNA_texture_types.h blender/source/blender/python
SConscript ...
John K. Walton
bf-committers@blender.org
Sat, 3 Apr 2004 20:00:22 -0500 (EST)
Ton, compile problem on noise.c irix.
Thanks!
John
====> gmake all in source/blender/blenlib/intern
cc -c -DGAMEBLENDER=1 -DUSE_SUMO_SOLID -n32 -mips3 -Xcpluscomm -DNDEBUG
-n32 -mips3 -O2 -OPT:Olimit=0 -DNO_KETSJI -I../../makesdna
-I.. -I/usr/demos/blender/../lib/irix-6.5-mips/guardedalloc/include
-I/usr/freeware/include -I/usr/freeware/include/freetype2
-I/usr/demos/blender/source/blender/blenkernel -I../../include/
-DWITH_FREETYPE2 noise.c -o
/usr/demos/blender/obj/irix-6.5-mips/blender/blenlib/noise.o
cc-1028 cc: ERROR File = noise.c, Line = 537
The expression used must have a constant value.
float v[3] = {x, y, z};
^
cc-1028 cc: ERROR File = noise.c, Line = 537
The expression used must have a constant value.
float v[3] = {x, y, z};
^
cc-1028 cc: ERROR File = noise.c, Line = 537
The expression used must have a constant value.
float v[3] = {x, y, z};
^
cc-1028 cc: ERROR File = noise.c, Line = 544
The expression used must have a constant value.
float v[3] = {x, y, z};
^
cc-1028 cc: ERROR File = noise.c, Line = 544
The expression used must have a constant value.
float v[3] = {x, y, z};
^
cc-1028 cc: ERROR File = noise.c, Line = 544
The expression used must have a constant value.
float v[3] = {x, y, z};
^
6 errors detected in the compilation of "noise.c".
gmake[4]: ***
[/usr/demos/blender/obj/irix-6.5-mips/blender/blenlib/noise.o] Error 2
gmake[3]: *** [all] Error 1
gmake[2]: *** [all] Error 1
gmake[1]: *** [all] Error 1
gmake: *** [all] Error 1
On Sat, 3 Apr 2004, Ton Roosendaal wrote:
> ton (Ton Roosendaal) 2004/04/03 15:59:27 CEST
>
> Modified files:
> 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 DNA_texture_types.h
> blender/source/blender/python SConscript
> blender/source/blender/python/api2_2x Blender.c modules.h
> blender/source/blender/render/intern/source texture.c
> blender/source/blender/src buttons_shading.c
>
> Log:
> Eesho's patch for new noise textures!
>
> Basically this provides three new things:
>
> 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!)
>
> 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.
>
> 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.
>
> 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
>
> I hope the Python team will check on the Noise.c API. And include in docs!
>
> 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
>