[Bf-blender-cvs] CVS commit: blender/source/blender/render/intern/source pixelshading.c rendercore.c blender/source/blender/renderconverter/intern convertBlenderScene.c
John K. Walton
walton at mrnutty.com
Sun Aug 17 18:23:58 CEST 2003
ton, you broke pixelshading bad. log attached.
On Sun, 17 Aug 2003, Ton Roosendaal wrote:
> ton (Ton Roosendaal) 2003/08/17 17:57:13 CEST
>
> Modified files:
> blender/source/blender/render/intern/source pixelshading.c
> rendercore.c
> blender/source/blender/renderconverter/intern
> convertBlenderScene.c
>
> Log:
> - fixed bug #448
>
> now 'only shadow' lamps won't give light when rendering without shadows.
>
> Revision Changes Path
> 1.8 +2 -2 blender/source/blender/render/intern/source/pixelshading.c
> 1.13 +3 -3 blender/source/blender/render/intern/source/rendercore.c
> 1.8 +1 -2 blender/source/blender/renderconverter/intern/convertBlenderScene.c
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://www.blender.org/mailman/listinfo/bf-blender-cvs
>
-------------- next part --------------
Script started on Sun Aug 17 21:53:26 2003
sgi126 1% make
====> make all in blender/extern
====> make all in extern/ode
[ -d dist/lib ] || mkdir dist/lib
# prepare settings for patching, clean in case of interruption
[ ! -f ./user-settings ] || mv ./user-settings ./dist/config/user-settings
cp ./dist/config/user-settings ./user-settings
# restore settings
mv ./user-settings ./dist/config/user-settings
====> make install in extern/ode
[ -d dist/lib ] || mkdir dist/lib
# prepare settings for patching, clean in case of interruption
[ ! -f ./user-settings ] || mv ./user-settings ./dist/config/user-settings
cp ./dist/config/user-settings ./user-settings
# restore settings
mv ./user-settings ./dist/config/user-settings
====> make all in blender/intern
====> make all in intern/string
====> make all in intern/string/intern
====> make debug in intern/string/intern
libstring.a already installed
libstring.a already installed
STR_HashedString.h already installed
STR_String.h already installed
====> make all in intern/ghost
====> make all in intern/ghost/intern
====> make debug in intern/ghost/intern
libghost.a already installed
libghost.a already installed
GHOST_C-api.h already installed
GHOST_IEvent.h already installed
GHOST_IEventConsumer.h already installed
GHOST_ISystem.h already installed
GHOST_ITimerTask.h already installed
GHOST_IWindow.h already installed
GHOST_Rect.h already installed
GHOST_Types.h already installed
====> make all in intern/guardedalloc
====> make all in intern/guardedalloc/intern
====> make debug in intern/guardedalloc/intern
libguardedalloc.a already installed
libguardedalloc.a already installed
MEM_guardedalloc.h already installed
====> make all in intern/bmfont
====> make all in intern/bmfont/intern
====> make debug in intern/bmfont/intern
libbmfont.a already installed
libbmfont.a already installed
BMF_Api.h already installed
BMF_Fonts.h already installed
BMF_Settings.h already installed
====> make all in intern/moto
====> make all in intern/moto/intern
====> make debug in intern/moto/intern
libmoto.a already installed
libmoto.a already installed
GEN_List.h already installed
GEN_Map.h already installed
MT_CmMatrix4x4.h already installed
MT_Matrix3x3.h already installed
MT_Matrix4x4.h already installed
MT_MinMax.h already installed
MT_Optimize.h already installed
MT_Plane3.h already installed
MT_Point2.h already installed
MT_Point3.h already installed
MT_Quaternion.h already installed
MT_Scalar.h already installed
MT_Stream.h already installed
MT_Transform.h already installed
MT_Tuple2.h already installed
MT_Tuple3.h already installed
MT_Tuple4.h already installed
MT_Vector2.h already installed
MT_Vector3.h already installed
MT_Vector4.h already installed
MT_assert.h already installed
MT_random.h already installed
NM_Scalar.h already installed
====> make all in intern/container
====> make all in intern/container/intern
====> make debug in intern/container/intern
libcontainer.a already installed
libcontainer.a already installed
CTR_List.h already installed
CTR_Map.h already installed
CTR_TaggedIndex.h already installed
CTR_TaggedSetOps.h already installed
CTR_UHeap.h already installed
====> make all in intern/memutil
====> make all in intern/memutil/intern
====> make debug in intern/memutil/intern
libmemutil.a already installed
libmemutil.a already installed
MEM_NonCopyable.h already installed
MEM_RefCountPtr.h already installed
MEM_RefCounted.h already installed
MEM_RefCountedC-Api.h already installed
MEM_SmartPtr.h already installed
====> make all in intern/decimation
====> make all in intern/decimation/intern
====> make debug in intern/decimation/intern
libdecimation.a already installed
libdecimation.a already installed
LOD_decimation.h already installed
====> make all in intern/iksolver
====> make all in intern/iksolver/intern
====> make debug in intern/iksolver/intern
libiksolver.a already installed
libiksolver.a already installed
IK_solver.h already installed
====> make all in intern/bsp
====> make all in intern/bsp/intern
====> make debug in intern/bsp/intern
libbsp.a already installed
libbsp.a already installed
CSG_BooleanOps.h already installed
====> make all in intern/SoundSystem
====> make all in intern/SoundSystem/intern
====> make all in intern/SoundSystem/dummy
====> make debug in intern/SoundSystem/intern
====> make debug in intern/SoundSystem/dummy
libSoundSystem.a already installed
libSoundSystem.a already installed
SND_C-api.h already installed
SND_CDObject.h already installed
SND_DependKludge.h already installed
SND_DeviceManager.h already installed
SND_IAudioDevice.h already installed
SND_Object.h already installed
SND_Scene.h already installed
SND_SoundListener.h already installed
SND_SoundObject.h already installed
SND_Utils.h already installed
SND_WaveCache.h already installed
SND_WaveSlot.h already installed
SoundDefines.h already installed
====> make all in blender/source
****> Make all by demos at sgi126 at 21:53:42 17-Aug-2003 on irix-6.5-mips
NAN_PYTHON_VERSION=2.2
NAN_PYTHON=/usr/demos/lib/irix-6.5-mips/python
NAN_PYTHON_BINARY=python2
====> make all in source/creator
====> make all in source/blender
====> make all in source/blender/blenloader
====> make all in source/blender/blenloader/intern
====> make all in source/blender/deflate
====> make all in source/blender/deflate/intern
====> make all in source/blender/inflate
====> make all in source/blender/inflate/intern
====> make all in source/blender/writestreamglue
====> make all in source/blender/writestreamglue/intern
====> make all in source/blender/writestreamglue/stub
====> make all in source/blender/readstreamglue
====> make all in source/blender/readstreamglue/intern
====> make all in source/blender/writeblenfile
====> make all in source/blender/writeblenfile/intern
====> make all in source/blender/readblenfile
====> make all in source/blender/readblenfile/intern
====> make all in source/blender/readblenfile/stub
====> make all in source/blender/avi
====> make all in source/blender/avi/intern
====> make all in source/blender/imbuf
====> make all in source/blender/imbuf/intern
====> make all in source/blender/img
====> make all in source/blender/img/intern
====> make all in source/blender/render
====> make all in source/blender/render/intern
====> make all in source/blender/render/intern/source
cc -c -n32 -mips3 -Xcpluscomm -DNDEBUG -n32 -mips3 -O2 -OPT:Olimit=0 -I../include -I../../extern/include -I../../../radiosity/extern/include -I../../../blenlib -I../../../imbuf -I../../../makesdna -I../../../blenkernel -I../../../quicktime -I../../../../kernel/gen_messaging -I/usr/demos/blender/../lib/irix-6.5-mips/guardedalloc/include -I../../../include pixelshading.c -o /usr/demos/blender/obj/irix-6.5-mips/blender/render/pixelshading.o
cc-1007 cc: ERROR File = pixelshading.c, Line = 1054
The indicated token is not valid in this context.
/* lampdist calculation */
^
cc-1029 cc: ERROR File = pixelshading.c, Line = 1054
An expression is expected at this point.
/* lampdist calculation */
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1080
Parsing restarts here after previous syntax error.
lampdist= (lar->dist/(lar->dist+ld));
^
cc-1114 cc: ERROR File = pixelshading.c, Line = 1085
A "continue" statement appears outside a loop statement.
if(t<0.0) continue;
^
cc-1551 cc: WARNING File = pixelshading.c, Line = 1088
The variable "lampdist" is used before its value is set.
lampdist*= (t);
^
cc-1174 cc: WARNING File = pixelshading.c, Line = 940
The variable "isr" was declared but never referenced.
float isr=0,isg=0,isb=0;
^
cc-1174 cc: WARNING File = pixelshading.c, Line = 940
The variable "isg" was declared but never referenced.
float isr=0,isg=0,isb=0;
^
cc-1174 cc: WARNING File = pixelshading.c, Line = 940
The variable "isb" was declared but never referenced.
float isr=0,isg=0,isb=0;
^
cc-1174 cc: WARNING File = pixelshading.c, Line = 941
The variable "lvrot" was declared but never referenced.
float lvrot[3], *vn, *view, shadfac, soft;
^
cc-1552 cc: WARNING File = pixelshading.c, Line = 941
The variable "view" is set but never used.
float lvrot[3], *vn, *view, shadfac, soft;
^
cc-1174 cc: WARNING File = pixelshading.c, Line = 941
The variable "soft" was declared but never referenced.
float lvrot[3], *vn, *view, shadfac, soft;
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1093
Expected a declaration.
if(lar->mode & LA_TEXTURE) do_lamp_tex(lar, lv);
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1095
Expected a declaration.
if(lar->type==LA_SPOT) {
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1118
Parsing restarts here after previous syntax error.
t= lar->spotsi;
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1119
Expected a declaration.
if(inpr<t) continue;
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1120
Expected a declaration.
else {
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1152
Parsing restarts here after previous syntax error.
lampdist*=inpr;
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1153
Expected a declaration.
}
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1156
Expected a declaration.
if(lar->mode & LA_OSATEX) {
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1171
Parsing restarts here after previous syntax error.
inp=i= vn[0]*lv[0] + vn[1]*lv[1] + vn[2]*lv[2];
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1173
Expected a declaration.
if(lar->mode & LA_NO_DIFF) {
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1211
Parsing restarts here after previous syntax error.
lv[1]+= view[1];
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1212
The indicated declaration has no storage class or type specifier.
lv[2]+= view[2];
^
cc-1065 cc: ERROR File = pixelshading.c, Line = 1212
A semicolon is expected at this point.
lv[2]+= view[2];
^
cc-1077 cc: WARNING File = pixelshading.c, Line = 1214
The indicated declaration has no storage class or type specifier.
Normalise(lv);
^
cc-1092 cc: ERROR File = pixelshading.c, Line = 1214
Identifier-list parameters can only be used in a function definition.
Normalise(lv);
^
cc-1143 cc: ERROR File = pixelshading.c, Line = 1214
Declaration is incompatible with "float Normalise(float *)" (declared at line
409 of "../../../blenlib/BLI_arithb.h").
Normalise(lv);
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1216
The indicated declaration has no storage class or type specifier.
t= vn[0]*lv[0]+vn[1]*lv[1]+vn[2]*lv[2];
^
cc-1020 cc: ERROR File = pixelshading.c, Line = 1216
The identifier "vn" is undefined.
t= vn[0]*lv[0]+vn[1]*lv[1]+vn[2]*lv[2];
^
cc-1028 cc: ERROR File = pixelshading.c, Line = 1216
The expression used must have a constant value.
t= vn[0]*lv[0]+vn[1]*lv[1]+vn[2]*lv[2];
^
cc-1028 cc: ERROR File = pixelshading.c, Line = 1216
The expression used must have a constant value.
t= vn[0]*lv[0]+vn[1]*lv[1]+vn[2]*lv[2];
^
cc-1028 cc: ERROR File = pixelshading.c, Line = 1216
The expression used must have a constant value.
t= vn[0]*lv[0]+vn[1]*lv[1]+vn[2]*lv[2];
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1218
Expected a declaration.
if(lar->type==LA_HEMI) {
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1222
Parsing restarts here after previous syntax error.
t= ma->spec*spec(t, ma->har);
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1223
The indicated declaration has no storage class or type specifier.
isr+= t*(lar->r * ma->specr);
^
cc-1065 cc: ERROR File = pixelshading.c, Line = 1223
A semicolon is expected at this point.
isr+= t*(lar->r * ma->specr);
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1224
The indicated declaration has no storage class or type specifier.
isg+= t*(lar->g * ma->specg);
^
cc-1065 cc: ERROR File = pixelshading.c, Line = 1224
A semicolon is expected at this point.
isg+= t*(lar->g * ma->specg);
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1225
The indicated declaration has no storage class or type specifier.
isb+= t*(lar->b * ma->specb);
^
cc-1065 cc: ERROR File = pixelshading.c, Line = 1225
A semicolon is expected at this point.
isb+= t*(lar->b * ma->specb);
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1226
Expected a declaration.
}
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1329
Parsing restarts here after previous syntax error.
+ ((y - har->ys) * (y - har->ys) * R.ycor * R.ycor) ;
^
cc-1094 cc: ERROR File = pixelshading.c, Line = 1331
The constant array dimension size is not a positive integral type.
collector[0] = RE_ZERO_COLOUR_FLOAT; collector[1] = RE_ZERO_COLOUR_FLOAT;
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1331
The indicated declaration has no storage class or type specifier.
collector[0] = RE_ZERO_COLOUR_FLOAT; collector[1] = RE_ZERO_COLOUR_FLOAT;
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1331
The indicated declaration has no storage class or type specifier.
collector[0] = RE_ZERO_COLOUR_FLOAT; collector[1] = RE_ZERO_COLOUR_FLOAT;
^
cc-1144 cc: ERROR File = pixelshading.c, Line = 1331
The variable "collector" has already been initialized.
collector[0] = RE_ZERO_COLOUR_FLOAT; collector[1] = RE_ZERO_COLOUR_FLOAT;
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1332
The indicated declaration has no storage class or type specifier.
collector[2] = RE_ZERO_COLOUR_FLOAT; collector[3] = RE_ZERO_COLOUR_FLOAT;
^
cc-1144 cc: ERROR File = pixelshading.c, Line = 1332
The variable "collector" has already been initialized.
collector[2] = RE_ZERO_COLOUR_FLOAT; collector[3] = RE_ZERO_COLOUR_FLOAT;
^
cc-1077 cc: ERROR File = pixelshading.c, Line = 1332
The indicated declaration has no storage class or type specifier.
collector[2] = RE_ZERO_COLOUR_FLOAT; collector[3] = RE_ZERO_COLOUR_FLOAT;
^
cc-1144 cc: ERROR File = pixelshading.c, Line = 1332
The variable "collector" has already been initialized.
collector[2] = RE_ZERO_COLOUR_FLOAT; collector[3] = RE_ZERO_COLOUR_FLOAT;
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1334
Expected a declaration.
if (dist < har->radsq) {
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1344
Parsing restarts here after previous syntax error.
}; /* else: this pixel is not rendered for this halo: no colour */
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1346
Expected a declaration.
return (void*) har;
^
cc-1166 cc: ERROR File = pixelshading.c, Line = 1348
Expected a declaration.
} /* end of void* renderHaloPixel(float x, float y, int haloNr) */
^
cc-1012 cc: WARNING File = pixelshading.c, Line = 1352
Parsing restarts here after previous syntax error.
extern float hashvectf[];
^
cc-1020 cc: ERROR File = pixelshading.c, Line = 1398
The identifier "hashvectf" is undefined.
rc= hashvectf + (ofs % 768);
^
cc-1020 cc: ERROR File = pixelshading.c, Line = 1447
The identifier "hashvectf" is undefined.
rc= hashvectf + (ofs % 768);
^
40 errors detected in the compilation of "pixelshading.c".
make[5]: *** [/usr/demos/blender/obj/irix-6.5-mips/blender/render/pixelshading.o] Error 2
make[4]: *** [all] Error 1
make[3]: *** [all] Error 1
make[2]: *** [all] Error 1
make[1]: *** [all] Error 1
make: *** [all] Error 1
sgi126 2%
sgi126 2% exit
sgi126 3%
script done on Sun Aug 17 21:54:50 2003
More information about the Bf-blender-cvs
mailing list