Blender Git Commits

Blender Git "master" branch commits.

Page: 5408 / 5574

January 10, 2005, 12:34 (GMT)
Somehow in 2.3x the file window collum display got cancelled. It even
pretended to be a user-preset, which it isnt yet.

Brought back collum display and wait for severe complaints to have it as
option in user settings. :)
January 9, 2005, 21:53 (GMT)
border render support through plugin. Working with current yafray CVS version
January 9, 2005, 14:28 (GMT)
Mixup of vectors in VecAngle3 (caused by me switching order of args!)
Resulted in wrong angle display, especially in trias
January 9, 2005, 13:36 (GMT)
Different integer overflow test for zbuffering, this due to mist+wire bug
that seems not to be solved on intel platforms.

Previously, a positive signed integer overflow addition was checked by
assuming it to become negative. Now it checks 'safe' with this version:

if(vergz > 0x7FFFFFF0 - dz) vergz= 0x7FFFFFF0;
else vergz+= dz;

Reason why using signed ints is cumbersome... overflows for unsigned are
much easer to find.
January 9, 2005, 00:06 (GMT)
Fix bug #2006:

Floating point imprecision made MT_Quaternion::angle return NaN, since acos(x) is NaN for |x| > 1.

Because of the way NaN's propagate through float math, the view pos would be set to [NaN, NaN, NaN] resulting in a grey screen.
Revision 5ea2ed3 by Jiri Hnidek
January 8, 2005, 23:31 (GMT)


- correct position of "Edge Angles" and "Face Area" in button window
January 8, 2005, 21:16 (GMT)
The "teac" (measurement info) patch from Campbell Barton

Cleaned code somewhat (half the size!) and applied some changes:
- made it compatible with selection flags for new mesh editing (edge/face)
- renamed 'face angles' to 'edge angles' and made it display angles for
2 selected edges too
- removed the confusing convention that always drawed the info if one
of the vertices of edge/face/angle was selected. now it only displays on
minimum of 1 full edge or face selected.
- made it react to "zbuf occluded selection" option (for zbuffered text)
- made it also colorize text for white theme color (TH_TEXT)

On larger meshes this info still draws very confusing. The idea of displaying
the info on 1 vertex selected was probably to show values while grabbing,
although that didnt really work for angles. One idea could be, for transform,
that it draws all lenghts/angles/areas that get changed during transform

All in all, still useful addition tho!
January 8, 2005, 14:45 (GMT)
Star halos still used old fashioned byte colors, instead of nice floats :)
Reason for them to show wrong.
January 8, 2005, 14:22 (GMT)
Fix for commit of yesterday, where wire render + mist was solved.

Had moved normalizing the view vector just a couple of lines to much...
causing OSA vectors to be calculated wrong, and image texture to show
much to filtered (nearly invisible)
January 8, 2005, 13:50 (GMT)
Bug fix #2113

A series of hide/reveil in editmode didn't result in identical selection
always, except in face mode. current method works in all modes, including
mixed (face+edge for example)
January 8, 2005, 13:15 (GMT)
- Added warning print and return in glaDrawPixelsSafe when zoom level
exceeds window (glScissor) size. Apparently zooming in on one single
pixels larger than a window isn't well supported.
- Moved drawing of editmode objects to 2nd loop in drawview.c, this
makes sure draw-extra wire is always visible correctly
January 7, 2005, 22:17 (GMT)
Added push/pop matrix for 3d window + new agl draw pixels
January 7, 2005, 21:48 (GMT)
Should have done ages ago!

This commit replaces the glDrawPixels and rectwrite_part with the very
nice (thanks zr!) glaDrawPixelsSafe() call. Result is:
- 3d window background image displays correctly onto the edges when
zoomed in extreme
- same for UV image window and sequence preview
- preview render now doesnt disappear when left part is outside window
(zr also deserves kick in butt for not doing this himself in NaN days!)

Especially from preview drawing quite some old hacks were deleted. It is
even quite some faster.
Please notify me when it doesnt work on your card... this now is just 100%
according opengl guidelines though :)

Also fixes bug #2100
January 7, 2005, 18:29 (GMT)
Bugfix #2048

Object "time" ipo was evaluated before it applied offset for field and
motion blur. Should be after! (ancient one)

in buttons_editing.c: removed sound include file
January 7, 2005, 18:07 (GMT)
Bug fix #2104

When using Sequencer for Alpha-Over images, it was assuming "Key" alpha by
default, and converting images to "Premul" (= multiplying RGB with alpha).
This isn't very nice, also because alpha generated by MBlur in Blender
always is of type Premul already.

Solution; make this an option. In the Nkey panel for strips you can set
or disable Premul now. As extra also added the "Filter" and "Mul" options,
as already there for Movie strips. Can easily be extended to more options
for various postprocess effects.
January 7, 2005, 15:40 (GMT)
Fixed signed/unsigned conversion for zbuffer (note; zbuf is signed int!)
January 7, 2005, 14:51 (GMT)
Fix for 2098

The directory where the last file was saved (in .Blog) wasnt added to the
history menu in the FileWindow when using CTRL+O for example. For
convenience, it now alwyas adds this directory to the end of default
history menu, so you can always jump back while browsing in filewindow.
January 7, 2005, 14:37 (GMT)
Bug fix 2107: RGB and brightness/contrast for preview render image texture
didnt work (commented out line, current WIP)
January 7, 2005, 14:11 (GMT)
Another round of cleanups for render code;

- removed ugly pointerhack from OSA render (negative indices denoted
pointers). this should solve memory errors when using >1.5 gig mem
- cleaned up usage of zbuffer values. These are signed in Blender, and
treated as unsigned all over, giving confusing code
- fixed incorrect gamma-adding for halos (caused in after xmas commit)

And bugfix #2101; wire render didn't give correct rendering for mist.
This caused by fact wires are 2D pixel lines, and not correctly filled
in faces. Retrieving the 3d coordinate while render cannot use a face-
equation then. Solved by retrieving 3D coordinate based on zbuffer value.

Still todo here: calculating correct texture coordinates for wire-edges
that are no faces.
January 7, 2005, 01:38 (GMT)
bugfix: #2093 Ipo.addCurve() adds curves of undefined type

added some error checking and did a little cleanup.
still more to be done.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021