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
2015-04-06Cycles: Cleanup, spaces around assignment operatorSergey Sharybin
Did some bad spacing in recent commits, better to get rid of those so they does not confuse those who're working on sources.
2015-03-27Cycles: Code cleanup, spaces around keywordsSergey Sharybin
This inconsistency drove me totally crazy, it's really confusing when it's inconsistent especially when you work on both Cycles and Blender sides. Shouldn;t cause merge PITA, it's whitespace changes only, Git should be able to merge it nicely.
2015-03-27Cycles: Code cleanup, prepare for strict C++ flagsSergey Sharybin
2015-02-19Cleanup: Restructure curve settings code a bit.Thomas Dinges
This is a bit more logical, as it better represents the 3 primitive types we have.
2015-01-20Support in Cycles for the extra spiral keys in hair paths.Lukas Tönne
2015-01-16Cycles: Minot cleanup, save some cpu tics per curve segment exportSergey Sharybin
2015-01-16Cycles: Minor typo fix in debug printSergey Sharybin
2014-12-25Cleanup: Fix Cycles Apache header.Thomas Dinges
This was already mixed a bit, but the dot belongs there.
2014-11-28Cycles: Only report exporting curves if there are particle systems on the objectSergey Sharybin
2014-11-18Cycles: Add logging to blender curve segment exportingSergey Sharybin
2014-08-29Cycles: Fix triangle ribbons hair in viewport and ortho cameraSergey Sharybin
There were several issues involved into triangle ribbons hair: - Even for the viewport rendering the blender scene camera was used for orientation. This made hair triangles oriented to the scene camera, not to the viewport camera. - Triangle orientation was actually supposing the camera is perspective. Triangles weren't oriented properly for the orthographic camera resulting in different hair width across it's length. This issues are solved now, but there are some related TODOs: - Rotating viewport doesn't re-orient the triangles, so after viewport navigation hair might not look correct. However, with this fix toggling viewport render (to force hair sync) makes viewport render correct. This isn't so much trivial fix, would require making BVH aware of the dynamic triangle orientation, so they get properly oriented without full hair re-sync. - Panorama camera behavior didn't change but looks like it should, however not really sure atm what's the right thing to do here.
2014-06-14Cycles: Add support for uchar4 attributes.Thomas Dinges
* Added support for uchar4 attributes to Cycles' attribute system. * This is used for Vertex Colors now, which saves some memory (4 unsigned characters, instead of 4 floats). * GPU Texture Limit on sm_20 and sm_21 decreased from 95 to 94, because we need a new texture for the uchar4 attributes. This is no problem for sm_30 or newer. Part of my GSoC 2014.
2014-03-29Cycles code refactor: improve vertex motion attribute storage and export.Brecht Van Lommel
This now supports multiple steps and subframe sampling of motion. There is one difference for object and camera transform motion blur. It still only supports two steps there, but the transforms are now sampled at subframe times instead of the previous and next frame and then interpolated/extrapolated. This will give different render results in some cases but it's more accurate. Part of the code is from the summer of code project by Gavin Howard, but it has been significantly rewritten and extended.
2014-03-29Cycles code refactor: change curve key to float4 for easier storage as ↵Brecht Van Lommel
attribute.
2014-02-12Cycles: Avoid unnecessary dot products in Mesh/Hair export code.Thomas Dinges
2014-02-10Fix part of T38304: cycles render problem with zero length curve segments.Brecht Van Lommel
Now these are removed from the curve.
2014-02-10Fix T38576: cycles hair not rendering in edit/paint modes.Brecht Van Lommel
2014-02-02Code cleanup / Cycles: Remove encasing_ratio variable, it was already hard ↵Thomas Dinges
coded, so define it in the kernel only.
2014-01-23Fix T37302: cycles slow hair export with many hairs, especially on Windows.Brecht Van Lommel
2013-12-26Cycles / Hair: Further cleanup of UI and internals.Thomas Dinges
* UI: Remove deprecated condition (CURVE_RIBBONS) and hide backface property, when it's hardcoded in C (Curve/Line segments && Ribbons). * Remove "use_tangent_normal" and "CURVE_KN_TANGENTGNORMAL" as its unused (follow up for last commit).
2013-12-26Cycles / Hair: Some cleanup and optimizations for hair code.Thomas Dinges
* Remove dead code from line segments BVH refine. CURVE_KN_TANGENTGNORMAL and CURVE_KN_TRUETANGENTGNORMAL are either both true, or both false. Therefore a true/false condition is impossible. This was a leftover of CURVE_CUSTOM, which was removed in r59234. * Use "else if" in blender_curves.cpp.
2013-12-22Code cleanup / Cycles: Remove unused interpolation code for hair triangles, ↵Thomas Dinges
we only support cardinal curves.
2013-12-21Cleanup: Code and style cleanup for Cycles curve export code.Thomas Dinges
2013-12-20Fix T37884: cycles hair rendering crash with UV coordinates.Brecht Van Lommel
This was broken in a recent bugfix for zero length hairs.
2013-12-10Fix T37704: cycles hair render error with hair density vertex group.Brecht Van Lommel
Zero length hairs were causing problems, now it skips rendering them as they are invisible anyway.
2013-10-18Make strict compiler flags happySergey Sharybin
2013-10-18Fix cycles hair segments not giving correct vector speed pass, the motion vectorBrecht Van Lommel
export was not implemented yet for this primitive.
2013-09-20remove unused modifier argument from ParticleSystem.co_hairCampbell Barton
2013-09-05code cleanup:Campbell Barton
- add missing headers from cmake (own omission) - quiet rna_test.c unused define warnings. - minor style edits - spelling corrections and ignore all uppercase words with spell checking script.
2013-08-23Fix clang compile warning.Brecht Van Lommel
2013-08-20fix incorrect docs [#36518] Vector.rotate() does not return value as documentedCampbell Barton
2013-08-18Fix compile of last commitStuart Broadfoot
2013-08-18Cycles: relicense GNU GPL source code to Apache version 2.0.Brecht Van Lommel
More information in this post: http://code.blender.org/ Thanks to all contributes for giving their permission!
2013-08-18Updates for the Cycle Hair UI. With the following changesStuart Broadfoot
- Removed the cycles subdivision and interpolation of hairkeys. - Removed the parent settings. - Removed all of the advanced settings and presets. - This simplifies the UI to a few settings for the primitive type and a shape mode.
2013-06-27Code cleanup / Cycles:Thomas Dinges
* Some cleanup for castings.
2013-06-04Cycles:Thomas Dinges
* Revert r57203 (len() renaming) There seems to be a problem with nVidia OpenCL after this and I haven't figured out the real cause yet. Better to selectively enable native length() later, after figuring out what's wrong. This fixes [#35612].
2013-06-03Cycles / Math functions:Thomas Dinges
* Rename some math functions: len -> length len_squared -> length_squared normalize_len -> normalize_length * This way OpenCL uses its inbuilt length() function, rather than our own. The other two functions have been renamed for consistency. * Tested CPU, CUDA and OpenCL compile, should be no functional changes.
2013-05-18Code cleanup / Cycles:Thomas Dinges
* Simplify shaperadius() function a bit to avoid castings. * Style cleanup 1.f -> 1.0f, to follow rest of Cycles code.
2013-05-12Cycles / Math:Thomas Dinges
* Add M_2PI_F and M_4PI_F constants and use them inside the codebase.
2013-05-10Code cleanup / Cycles:Thomas Dinges
* Change some more if / else if conditions to switch / case. * Avoid an unneeded variable casting in phong_ramp closure.
2013-04-16Cycles Hair: Strand Minimum Pixel SizeStuart Broadfoot
Code is added to restrict the pixel size of strands in cycles. It works best with ribbon primitives and a preset for these is included. It uses distance dependent expansion of the strands and then stochastic strand removal to give a fading. To prevent a slowdown for triangle mesh objects in the BVH an extra visibility flag has been added. It is also only applied for camera rays. The strand width settings are also changed, so that the particle size is not included in the width calculation. Instead there is a separate particle system parameter for width scaling.
2013-03-16Fix for [#34654] Cycles hair particle system modifier obeys viewport ↵Thomas Dinges
visibility as well * Now Show Render and Show Viewport flags work independently and correct.
2013-02-05Fix particle child render resolution access not working outside of the ↵Brecht Van Lommel
render thread, and rename ToggleRender to set_resolution to follow RNA conventions.
2013-02-04code cleanup: warningsCampbell Barton
2013-02-02Cycles Hair: Fixed hair shape and inclusion of multiple attributes for ↵Stuart Broadfoot
triangle primitives When using triangle primitives this fix enables 'closed tip'. UVs and vertex colours are added when using triangle primitives for hair. Two new preset modes have also been included to allow easy access to curves and triangle planes.
2013-01-29Cycles Hair: Addition of render settings and static BVH strand width scalingStuart Broadfoot
Addition of a RNA function to toggle between the hair settings and rebuild the cache. This enables the usage of the render step, child number and full display percentage with f12 rendering. A scaling to the strand radius has also been added for the static bvh. This only matches up with dynamic for uniform scaling. A very small fix is included for multiple uvs/vertex colours when using child particles.
2013-01-25Fix cycles crash that happened with mesh emission and diffuse/glossy rayBrecht Van Lommel
visibility disabled on some objects.
2013-01-23Cycles Hair: Multiple vertex colours and UV coordinatesStuart Broadfoot
Added export of multiple UV coordinates and vertex colour attributes. A debugging option to export the strands without using the cache has also been removed.
2013-01-15Cycles Hair: Introduction of Cardinal Spline Curve Segments and minor fixes.Stuart Broadfoot
The curve segment primitive has been added. This includes an intersection function and changes to the BVH. A few small errors in the line segment intersection routine are also fixed.
2013-01-11code cleanup: warnings, also add check in crash handler that a ↵Campbell Barton
wmWindowManager is present.