Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-14Fix a few compile warnings and rename gpu_buffers.h to GPU_buffers.hBrecht Van Lommel
for consistency.
2010-07-14- text3d was missing menu items for toggling bold/underline/italic/smallcaps.Campbell Barton
- made smallcaps use a temp flag so caps can still have the smallcaps flag. - utility function for getting the char from a font. find_vfont_char(), was inline in ~5 places. - removed CU_STYLE mix of flags only used in one place, not needed. removed 'style' from rna too. - fix for some warnings.
2010-07-13Fix #20461: deleting VBO's from threads used for rendering or baking wouldBrecht Van Lommel
crash, as OpenGL can't be called from these. Now deleting VBO's is delayed until the next redraw in the main thread.
2010-07-04Fix #21894: backface selection wasn't working correct with < 24 bits colors,Brecht Van Lommel
e.g. thousands of colors on OS X, due to use of uninitialized value. Problem tracked down and patch provided by Shane Ambler, thanks!
2010-06-30* Made sculpt drawing respect the "use VBO" preference.Nicholas Bishop
* Hopefully this fixes some sculpt problems for people with broken drivers
2010-05-20opengl render was freeing all images from the graphics card each update.Campbell Barton
with some 4x4k and 4x8k textures this becomes very slow. only free animated textures (movies and sequences)
2010-05-07ghash alloc string from render branchCampbell Barton
svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28571:28573 svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28575:28576
2010-05-05Fix for GPU_free_unused_buffers deadlock, solution by Tamito Kajiyama, thanks!Brecht Van Lommel
2010-04-25Fix #22123 and #22124: some problems with mutex locks, also tweak toBrecht Van Lommel
how removing opengl textures from outside main thread is done so it happens as part of the main loop.
2010-04-24warning cleanup, also made voxel.c and volumetric.c use BM_INLINE define ↵Campbell Barton
rather then having their own ifdefs in each file.
2010-04-17PThreads "fix" for CMake / MSVCDalai Felinto
I heard that the actual solution would be to remove #include <pthread.h> from BLI_threads.h But in the mean time is not fair to CMake/MSVC to be the only system not building ;)
2010-04-15Merge various small changes from render branch:Brecht Van Lommel
* Division by zero fix for TNT SVD code. * Sound fix, in case ffmpeg decode fails, don't use the samples. * Fix for incorrect bounds of transformed objects in new raytracing code. * Gave memory arena's a name used for allocations for easier memory usage debugging. * Dupligroup no_draw option was using layers but not restrict view/render setting. (not a bugfix exactly but would do display list context switching while drawing for no reason). * Fix objects instanced on hair particles not giving consistent results when the object is transformed. * New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4, mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4. * mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple arguments. * endjob callback for WM jobs system. * Geometry node uv/color layer now has search list/autocomplete. * Various small buildsystem tweaks, not strictly needed yet in trunk.
2010-04-15Make memstat easier to read, add missing Intel ID and cleanups.Guillermo S. Romero
2010-04-14Fixing Scons compile on Windows:Thomas Dinges
*Missed PTHREAD declaration.
2010-04-14used private mutexes to avoid deadlocksJoseph Eagar
2010-04-13prevent images from freeing gpu buffers if not run within the main thread, ↵Joseph Eagar
instead they are queued to be freed the next time GPU_image_free() is run from the main thread.
2010-04-09Bugfix: 21586 - UI problems with Tiled Textures (animatable for GE)Dalai Felinto
The problem was present in Blender 2.49, but it didn't produce any side effect. glScale was changing the texture matrix and the matrix was never been reset. That messes up with UI drawing.
2010-04-05Fix #21349: triple buffer drawing doesn't work well with thousands ofBrecht Van Lommel
colors setting on Mac, just disabled it in that case.
2010-03-27Fix #21667: smoke drawing crashes calling glTexImage3D on graphics card that doBrecht Van Lommel
not support it.
2010-03-22Fix #20548: flat shading not drawing right in sculpt mode.Brecht Van Lommel
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-01Fix #21227, #21346 and #21336: image texture wasn't centered correctlyBrecht Van Lommel
when sculpting and using it from material nodes.
2010-02-17another attempt at fixing the VBO buffer deletion bugsLukas Steiblys
2010-02-15added some more error checking for buffer allocation and fixed it up a bit. ↵Lukas Steiblys
Hopefully this won't introduce new bugs and fix old ones.
2010-02-13Added support for animated texture draw, GLSL textures.Ton Roosendaal
Note, this is not like GE ffmpg, but Blender Image Texture display for GLSL materials. Speed can be disappointing, use smaller images for realtime edits.
2010-02-12correct fsf addressCampbell Barton
2010-02-09partial fix for [#21036] crash with glsl shadingCampbell Barton
copying UVs was doing a buffer overrun.
2010-02-01Fix sculpt mode drawing performance regression, happened on at leastBrecht Van Lommel
NVidia/Linux. Disabling GL_MULTISAMPLE apparently makes things go much slower even though we're not using it, why is a mystery to me.
2010-02-01GPU type detection tweaks for unix/mac software rendering.Brecht Van Lommel
2010-02-01WM Draw Methods now has a new option Automatic (default). This willBrecht Van Lommel
set the draw method to triple buffer or overlap depending on the configuration. Ideally I could get all cases working well with triple buffer but it's hard in practice. At the moment there are two cases that use overlap instead: * opensource ATI drives on linux * windows software renderer Also added a utility function to check GPU device/os/driver.
2010-01-31Fix #20879: crash when add textures brush in sculpt mode. DrawingBrecht Van Lommel
the texture would crash because the VBO was still bound. As I understand it this is not necessarily against the opengl spec, but might as well unbind it, the driver bug seems to have been fixed but has not trickled down everywhere yet. http://bugs.freedesktop.org/show_bug.cgi?id=23859
2010-01-30Fix #19980: crash with opengl render active viewport.Brecht Van Lommel
2010-01-30Fix #19875: drawing smoke on graphics cards that do not supportBrecht Van Lommel
non-power-of-two textures lead to artifacts due to uninitialized memory if the domain had a non-power-of-two size.
2010-01-16GPU_buffer_setup could return a freed buffer. (when VBO's were used)Campbell Barton
2010-01-08FSAA: properly disable it for first window draw, remove obsolete backbufferBrecht Van Lommel
disable code, and only enable it for 3d drawing in the 3d view.
2010-01-04Added OpenGL debugging function to print state information, was using this asBrecht Van Lommel
a patch here for a while but might as well commit it.
2009-12-11Sculpt Branch:Brecht Van Lommel
* Added detection if VBO extension is supported. * Redraw other 3d views after sculpting. * Fix brush sometimes punching through mesh with very small polygons, added an extra epsilon to the ray-triangle intersection.
2009-12-09Sculpt Branch:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r25180:25245
2009-12-09Sculpt Branch:Brecht Van Lommel
* Fallback code in case VBO allocation fails.
2009-12-09VBO:Brecht Van Lommel
* Fix #19785: curves not drawing with VBO enabled * Fix #19553: duplicate Window crashes with VBO's The convention in Blender was to have GL_VERTEX_ARRAY and GL_NORMAL_ARRAY enabled by default, and other arrays disabled. The VBO drawing code did not take this into account. I've made these now disabled by default, since that makes the code clearer in other places too.
2009-12-07Sculpt Branch:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r24889:25180
2009-12-03Sculpt Branch:Brecht Van Lommel
* Multithread parts of multires and subsurf. Only loops working on face grid data and do no memory allocation have been multithreaded, others would be more complicated. * Force some CCGSubsurf functions to be inlined, gives a small overall speedup in subsurf code. * Fix sculpting not working correct with transformed objects. * Fix a few cases of "spikes" on lower level multires levels. There's still cases where it happens, usually on boundary cornders. The problem is that in such cases the limit surfaces can be very different from the low res surface, so the tangent space is very different too.. * Fix crash deleting multires higher levels with level set to 0. * Fix crashes that happened sometimes when adding faces in editmode.
2009-12-02Changes to Color ManagementMatt Ebb
After testing and feedback, I've decided to slightly modify the way color management works internally. While the previous method worked well for rendering, was a smaller transition and had some advantages over this new method, it was a bit more ambiguous, and was making things difficult for other areas such as compositing. This implementation now considers all color data (with only a couple of exceptions such as brush colors) to be stored in linear RGB color space, rather than sRGB as previously. This brings it in line with Nuke, which also operates this way, quite successfully. Color swatches, pickers, color ramp display are now gamma corrected to display gamma so you can see what you're doing, but the numbers themselves are considered linear. This makes understanding blending modes more clear (a 0.5 value on overlay will not change the result now) as well as making color swatches act more predictably in the compositor, however bringing over color values from applications like photoshop or gimp, that operate in a gamma space, will give identical results. This commit will convert over existing files saved by earlier 2.5 versions to work generally the same, though there may be some slight differences with things like textures. Now that we're set on changing other areas of shading, this won't be too disruptive overall. I've made a diagram explaining the pipeline here: http://mke3.net/blender/devel/2.5/25_linear_workflow_pipeline.png and some docs here: http://www.blender.org/development/release-logs/blender-250/color-management/
2009-11-25Sculpt: fix windows compile issues, pointed out by JMS, thanks!Brecht Van Lommel
2009-11-25Sculpt:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r24483:24889
2009-11-25Sculpt: Grid based PBVHBrecht Van Lommel
* PBVH can now be created contain both from face grids or standard meshes. The former is much quicker to build for high res meshes. * Moved some drawing code into pbvh (mostly for the frustum test). * Moved ray intersection code into pbvh. * GPU buffers also can be built from either mesh or grids now. * Updated sculpt code to work with this. The ugly part is that there is now a macro for iterating over vertices, to handle both cases, and some duplicated code for e.g. undo. * Smooth brush does not work yet with grids.
2009-11-21patch [#19796] GLEW update by Mitchell Stokes (Moguri)Dalai Felinto
GLEW update to version 1.5.1 [11-03-08] this opens room for Geometry Shader support. * - Brecht, Campbell told me you did some local changes in order to make it right in Linux. I get to you in order to know what those changes are (or feel free to commit them directly)
2009-11-11Sculpt: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r24330:24483
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-11-10Removed an unused function and changed the VBO functions to use the ARB name ↵Nicholas Bishop
for consistency with the rest of the file.