[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern object.c blender/source/blender/blenloader/intern readfile.c blender/source/blender/include blendef.h butspace.h interface.h blender/source/blender/makesdna DNA_lamp_types.h blender/source/blender/render/extern/include render_types.h blender/source/blender/render/intern/source ...
John K. Walton
walton at mrnutty.com
Mon Dec 29 19:00:28 CET 2003
hmm... not sure how ray.c broke, i compiled after martins last commit.
today this arrived:
cc -c -n32 -mips3 -Xcpluscomm -DNDEBUG -n32 -mips3 -O2 -OPT:Olimit=0
-fullwarn -woff 1001,1110,1201,1209,1355,1424,1681,3201 -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 ray.c -o
/usr/demos/blender/obj/irix-6.5-mips/blender/render/ray.o
cc-1552 cc: WARNING File = ray.c, Line = 228
The variable "fx" is set but never used.
float fx, fy, fz;
^
cc-1552 cc: WARNING File = ray.c, Line = 228
The variable "fy" is set but never used.
float fx, fy, fz;
^
cc-1552 cc: WARNING File = ray.c, Line = 228
The variable "fz" is set but never used.
float fx, fy, fz;
^
cc-1241 cc: ERROR File = ray.c, Line = 735
A declaration cannot appear after an executable statement in a block.
float u= det1*divdet;
^
cc-1552 cc: WARNING File = ray.c, Line = 112
The variable "accepted" is set but never used.
static int accepted, rejected, coherent_ray;
^
cc-1552 cc: WARNING File = ray.c, Line = 112
The variable "rejected" is set but never used.
static int accepted, rejected, coherent_ray;
^
cc-1174 cc: REMARK File = ray.c, Line = 1389
The function "color_combine" was declared but never referenced.
static void color_combine(float *result, float fac1, float fac2, float
*col1, float *col2)
^
cc-1174 cc: REMARK File = ray.c, Line = 1560
The function "jitter_cube" was declared but never referenced.
static void *jitter_cube(int resol)
^
1 error detected in the compilation of "ray.c".
gmake[5]: *** [/usr/demos/blender/obj/irix-6.5-mips/blender/render/ray.o]
Error 2
gmake[4]: *** [all] Error 1
gmake[3]: *** [all] Error 1
gmake[2]: *** [all] Error 1
gmake[1]: *** [all] Error 1
gmake: *** [all] Error 1
On Mon, 29 Dec 2003, Ton Roosendaal wrote:
> ton (Ton Roosendaal) 2003/12/29 17:52:51 CET
>
> Modified files:
> blender/source/blender/blenkernel/intern object.c
> blender/source/blender/blenloader/intern readfile.c
> blender/source/blender/include blendef.h butspace.h
> interface.h
> blender/source/blender/makesdna DNA_lamp_types.h
> blender/source/blender/render/extern/include render_types.h
> blender/source/blender/render/intern/source ray.c rendercore.c
> blender/source/blender/renderconverter/intern
> convertBlenderScene.c
> blender/source/blender/src butspace.c buttons_scene.c
> buttons_shading.c drawobject.c
> edit.c header_buttonswin.c
> interface_draw.c previewrender.c
> view.c
>
> Log:
> Area lights and more...
>
> - New lamp type added "Area". This uses the radiosity formula (Stoke) to
> calculate the amount of energy which is received from a plane. Result
> is very nice local light, which nicely spreads out.
> - Area lamps have a 'gamma' option to control the light spread
> - Area lamp builtin sizes: square, rect, cube & box. Only first 2 are
> implemented. Set a type, and define area size
> - Button area size won't affect the amount of energy. But scaling the lamp
> in 3d window will do. This is to cover the case when you scale an entire
> scene, the light then will remain identical
> If you just want to change area lamp size, use buttons when you dont want
> to make the scene too bright or too dark
> - Since area lights realistically are sensitive for distance (quadratic), the
> effect it has is quickly too much, or too less. For this the "Dist" value
> in Lamp can be used. Set it at Dist=10 to have reasonable light on distance
> 10 Blender units (assumed you didnt scale lamp object).
> - I tried square sized specularity, but this looked totally weird. Not
> committed
> - Plan is to extend area light with 3d dimensions, boxes and cubes.
> - Note that area light is one-sided, towards negative Z. I need to design
> a nice drawing method for it.
>
> Area Shadow
>
> - Since there are a lot of variables associated with soft shadow, they now
> only are available for Area lights. Allowing spot & normal lamp to have
> soft shadow is possible though, but will require a reorganisation of the
> Lamp buttons. Is a point of research & feedback still.
> - Apart from area size, you now can individually set amount of samples in
> X and Y direction (for area lamp type 'Rect'). For box type area lamp,
> this will become 3 dimensions
> - Area shadows have four options:
> "Clip circle" : only uses a circular shape of samples, gives smoother
> results
> "Dither" : use a 2x2 dither mask
> "Jitter" : applys a pseudo-random offset to samples
> "Umbra" : extra emphasis on area that's fully in shadow.
>
> Raytrace speedup
>
> - improved filling in faces in Octree. Large faces occupied too many nodes
> - added a coherence check; rays fired sequentially that begin and end in
> same octree nodes, and that don't intersect, are quickly rejected
> - rendering shadow scenes benefits from this 20-40%. My statue test monkey
> file now renders in 19 seconds (was 30).
>
> Plus:
>
> - adjusted specular max to 511, and made sure Blinn spec has again this
> incredible small spec size
> - for UI rounded theme: the color "button" displayed RGB color too dark
> - fixed countall() function, to also include Subsurf totals
> - removed setting the 'near' clipping for pressing dot-key numpad
> - when you press the buttons-window icon for 'Shading Context' the context
> automaticilly switches as with F5 hotkey
>
> Please be warned that this is not a release... settings in files might not
> work as it did, nor guaranteed to work when we do a release. :)
>
> Revision Changes Path
> 1.10 +14 -12 blender/source/blender/blenkernel/intern/object.c
> 1.37 +14 -1 blender/source/blender/blenloader/intern/readfile.c
> 1.18 +3 -2 blender/source/blender/include/blendef.h
> 1.18 +2 -1 blender/source/blender/include/butspace.h
> 1.18 +2 -3 blender/source/blender/include/interface.h
> 1.10 +17 -4 blender/source/blender/makesdna/DNA_lamp_types.h
> 1.11 +10 -10 blender/source/blender/render/extern/include/render_types.h
> 1.13 +145 -107 blender/source/blender/render/intern/source/ray.c
> 1.31 +92 -11 blender/source/blender/render/intern/source/rendercore.c
> 1.22 +72 -7 blender/source/blender/renderconverter/intern/convertBlenderScene.c
> 1.21 +30 -24 blender/source/blender/src/butspace.c
> 1.22 +2 -2 blender/source/blender/src/buttons_scene.c
> 1.51 +82 -39 blender/source/blender/src/buttons_shading.c
> 1.47 +10 -2 blender/source/blender/src/drawobject.c
> 1.20 +6 -5 blender/source/blender/src/edit.c
> 1.18 +10 -6 blender/source/blender/src/header_buttonswin.c
> 1.11 +2 -1 blender/source/blender/src/interface_draw.c
> 1.23 +5 -5 blender/source/blender/src/previewrender.c
> 1.21 +2 -2 blender/source/blender/src/view.c
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://www.blender.org/mailman/listinfo/bf-blender-cvs
>
More information about the Bf-blender-cvs
mailing list