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
path: root/source
AgeCommit message (Collapse)Author
2004-07-16Fixing a blenderplayer compile error reported by Meino Christian Cramer:Willian Padovani Germano
- added mainqenter to stubs.c so it can be used in blender/blenkernel/intern/blender.c's setup_app_data. We can't run the onload scriptlink in setup_app_data because the visible areas won't have been updated and redrawn for the loaded .blend file until control returns to screenmain() in blender/src/editscreen.c. So an ONLOAD_SCRIPT event is entered in setup_app_data and caught in screenmain, where the onload script is then executed. All for a good looking demo mode ... BPython: - Added image.getBindCode() method, contributed by Andrew Corrigan (thanks!).
2004-07-16Demo mode and BPython:Willian Padovani Germano
- small additions and fixes to enable the demo mode; - Added sleep() to Blender.sys and 17 new functions to Blender.Window module: things to help demo script writing and as a bonus read / write access to Blender's input event queue; - updates in docs, those interested please check Window.py in python/api2_2x/doc/ to read about the new Blender.Window functions. ---- Demo mode should be working well now for (I) playing rt animation -- aka ALT+A -- and (II) rendering pics and anims and playing anims. I'll still add access to radiosity data and functions. PS: Joseph Gilbert made (II) possible with the Scene.Render module he added for 2.32. He's been coding great things for bpython, so I'd like to take the chance to point that and thank him here.
2004-07-16Details, details...Matt Ebb
* Renamed the paint color picker panel to 'Paint' instead of 'Transform Properties' * Minor label edits to the pivot icon menu
2004-07-16* User preference to select with the left mouse buttonMatt Ebb
instead of right. This basically swaps left and right, in most window spaces so you can choose between: LMB: Cursor/time slider/paint - RMB: Select or LMB: Select - RMB: Cursor/time slider/paint Aimed at: 1. Newbies 2. 1 button mouse mac users 3. People like me who are sick of having to constantly keep putting their brains into different modes when switching between other apps and Blender :) Yes, the User Preferences window is a bit of a nightmare now, a layout cleanup will be forthcoming soon...
2004-07-16OK, the game engine has been un-buildable on irix for long enoughChris Want
-- I'm committing this change I had discussed on the mailing list about a month ago.
2004-07-16Fix to not create invalid bound shapes from non mesh objects (armatures).Kester Maddock
2004-07-16Fix ATI texture performance under Linux.Kester Maddock
glGenTexturesEXT(1, &bind); // produces bind == 0 while: glGenTextures(1, &bind); // produces bind correctly. (Ported from tuhopuu2)
2004-07-16Shadow buffer render wasn't corrected yet for OSA reconstruction of longTon Roosendaal
ago... samples where offsetted half a pixel, causing banding in render.
2004-07-15This adds two modes to the 'around' drop down in 3d headerJohnny Matthews
3d Cursor, only Ob Centers Median Point, only Ob Centers They prevent rotation/scaling from effecting the scale/rotation of the objects and just effects their position. This is handy for aligning objects if you constrain to an axis and scale, as well as other neato things :) Intrr came up with the code and I hacked it into the GUI
2004-07-15Oops. Forgot to restore setlinestyle(0); after drawing the dotted grid.Alexander Ewering
2004-07-15This should have been fixed long ago ... create importantChris Want
directories using 'mkdir -p' to avoid errors with fresh builds.
2004-07-15Commit for the 4 aforementioned "features":Alexander Ewering
- "Global Pivot": Maintains a global Pivot and Align mode setting for all 3d views when enabled, instead of seperate settings per 3d view - "Auto Perspective": Switch to ortho mode automatically on 1/3/7, and to Perspective when the view is rotated with the mouse - "Align mode": As suggested on the list, when enabled, transformations on several objects only transform their locations, not their sizes or rotations. - Grid dotted when not 1:1 ***ATTENTION***! The User Interface parts of these features have not been committed, as I work on my own modified UI here. The three features need toggle buttons to turn them on and off. I used the following 3 buttons (first two features are in userprefs, third as a 3d view setting): uiDefButBitS(block, TOG, USER_AUTOPERSP, B_DRAWINFO, "Auto Persp", (xpos+edgespace+(3*medprefbut)+(3*midspace)+smallprefbut+2),y3+10,smallprefbut,buth, &(U.uiflag), 0, 0, 0, 0, "Automatically switch between orthographic and perspective"); uiDefButBitS(block, TOG, USER_LOCKAROUND, B_DRAWINFO, "Global Pivot", (xpos+edgespace+(4*midspace)+(4*medprefbut)),y3+10,smallprefbut,buth, &(U.uiflag), 0, 0, 0, 0, "Use global pivot setting for all 3d views"); uiDefIconButS(block, TOG|BIT|10, B_AROUND, ICON_ALIGN, xco+=XIC,0,XIC,YIC, &G.vd->flag, 0, 0, 0, 0, "Translate only (align)"); Someone needs to add these to the interface in an appropriate manner! Thanks.
2004-07-14Rewound changes done in alpha calculus for texturemapping. ThisTon Roosendaal
worked OK for alpha coming from antialising (rendered) but failed to do in other situations (alpha as blending, painted in gimp)
2004-07-14cache_size yafray parameter calculation changed to sync with currentAlejandro Conty Estevez
yafray cvs code. Now given in screen coords (-1,+1)x(-1,+1)
2004-07-14LSCM:Brecht Van Lommel
Fixed a bug where the projection axis for the initial solution was wrong, causing the solution to collapse into one point. Made packing denser (by reducing the padding between face groups).
2004-07-14Removed VECADD and VECSUB, are in utildefine.h nowTon Roosendaal
2004-07-13Removed some testcode from yafray_Render.cppAlfredo de Greef
Added the missing anti-aliasing pixel filter size and threshold parameters for manual AA control (disable 'Auto AA' button). Added support for yafray raytraced depth-of-field. Added extra panel for Camera in edit window to edit dof paramaters. The actual focus point will be drawn as a cross when camera 'ShowLimits' is enabled, similar to the aqsis code in tuhopuu. Note to users: raytraced DoF is very slow, for best results, the default AA parameters are not good enough, especially with higher aperture values (more blur). So for best results, disable 'Auto AA' and set the AA parameters yourself. It works best with multi-pass AA ('AA passes' > 1) and a reasonable 'AA samples' value, something in the range 8 - 25 or even higher. Currently the post-process DoF is not available in yafray, alternatives are being worked on.
2004-07-13Added LSCM UV Unwrapping:Brecht Van Lommel
http://www.loria.fr/~levy/Galleries/LSCM/index.html http://www.loria.fr/~levy/Papers/2002/s2002_lscm.pdf Implementation Least Squares Conformal Maps parameterization, based on chapter 2 of: Bruno Levy, Sylvain Petitjean, Nicolas Ray, Jerome Maillot. Least Squares Conformal Maps for Automatic Texture Atlas Generation. In Siggraph 2002, July 2002. Seams: Stored as a flag (ME_SEAM) in the new MEdge struct, these seams define where a mesh will be cut when executing LSCM unwrapping. Seams can be marked and cleared in Edit Mode. Ctrl+EKEY will pop up a menu allowing to Clear or Mark the selected edges as seams. Select Linked in Face Select Mode now only selects linked faces if no seams separate them. So if seams are defined, this will now select the 'face group' defined by the seams. Hotkey is still LKEY. LSCM Unwrap: unwrap UV's by calculating a conformal mapping (preserving local angles). Based on seams, the selected faces will be 'cut'. If multiple 'face groups' are selected, they will be unwrapped separately and packed in the image rectangle in the UV Editor. Packing uses a simple and fast algorithm, only designed to avoid having overlapping faces. LSCM can be found in the Unwrap menu (UKEY), and the UV Calculation panel. Pinning: UV's can be pinned in the UV Editor. When LSCM Unwrap is then executed, these UV's will stay in place, allowing to tweak the solution. PKEY and ALT+PKEY will respectively pin and unpin selected UV's. Face Select Mode Drawing Changes: - Draw Seams option to enable disable drawing of seams - Draw Faces option to enable drawing of selected faces in transparent purple - Draw Hidden Edges option to enable drawing of edges of hidden faces - Draw Edges option to enable drawing of edges of visible faces The colors for these seams, faces and edges are themeable.
2004-07-13Added SuperLU 3.0:Brecht Van Lommel
http://crd.lbl.gov/~xiaoye/SuperLU/ This is a library to solve sparse matrix systems (type A*x=B). It is able to solve large systems very FAST. Only the necessary parts of the library are included to limit file size and compilation time. This means the example files, fortran interface, test files, matlab interface, cblas library, complex number part and build system have been left out. All (gcc) warnings have been fixed too. This library will be used for LSCM UV unwrapping. With this library, LSCM unwrapping can be calculated in a split second, making the unwrapping proces much more interactive. Added OpenNL (Open Numerical Libary): http://www.loria.fr/~levy/OpenNL/ OpenNL is a library to easily construct and solve sparse linear systems. We use a stripped down version, as an interface to SuperLU. This library was kindly given to use by Bruno Levy.
2004-07-13Ack! Fixed something without testing... this broke updates for numbutsTon Roosendaal
in picker.
2004-07-12This commit add the clock wipe effect to the sweep menu in the sequence editorJohnny Matthews
2004-07-12added support for ortho camera (needs yafray from cvs)Alfredo de Greef
When using xml export, yafray will now render the alpha channel as well when 'RGBA' button in blender is enabled (Plugin does this automatically). In plugin code, fixed smooth shading bug for non-mesh objects. Relative paths for textures are now recognized (plugin & xml). Fixed problem with duplicate objects (plugin & xml). Really old bug, sun position is now correct (plugin & xml). World background now can also be a regular image texture (jpeg & tga), but for now always assumes spheremapping, which is not the same as Blender either. In yafray the texture is assumed to be a full 360 (panorama type) map. convertBlenderScene.c cleanup, the identity transform 'hack' is removed. THIS AFFECTS ALL EXTERNAL RENDERERS (Aqsis and others) WHICH RELY ON THE RENDERDATA OUTPUT, VERTICES AND LAMPCOORDINATES/VECTORS NOW NEED TO BE TRANSFORMED BACK TO WORLD COORDINATES. See yafray plugin/export code.
2004-07-12- changed sequence for finding HOME on Win32. Sequence is now asSimon Clitherow
shown at http://www.blender3d.org/cms/Installation_Policy.352.0.html Still TODO: update NSIS installer script to suit the change.
2004-07-11- Simple optimizing for deflected (collision) particles. It now cachesTon Roosendaal
transformation (from vertex -> world space), used defines for vecadd and vecsub, and intersects quads more efficient. Result is about 2 times faster. - Added draw mode for empty used as forcefield - added defines VECADD and VECSUB
2004-07-11Tiny cleanup in call for glBitmap. Don't see any error in using it forTon Roosendaal
drawing vertices... on OSX this works 100%, also in zbuffer mode and with transparent faces. Code is simple enough for a linuxer to further test!
2004-07-11Some tiny dialog message cleaning for easier scan-reading.Matt Ebb
2004-07-11Forgot to include glutil.hTon Roosendaal
2004-07-11Long on the todolist: a patch to have pointsize working on systems thatTon Roosendaal
don't have them larger than 1, since vertices are drawn with it. It is solved by patching code with minimal confusement. So you can get automatic patched glPoints with: bglBegin(GL_POINTS); bglVertex3fv(vector); bglEnd(); In glutil.c the wrapper can be found, that checks for maximum Pointsize, and bypasses it to a glBitmap then.
2004-07-11Added B_NOP to events buttons on wipe type effects panel.Johnny Matthews
2004-07-10Small improvement in detecting which previews need update in Blender.Ton Roosendaal
Now you can have multiple buttons windows open, for example one showing only a larger material preview, and have it updated correctly. Nice for setups where you can keep preview shown while scrolling buttons.
2004-07-10Added colorpicker in Panel for:Ton Roosendaal
- Transform properties 3d win, while Vertex/Texture paint is on - Paint panel in UV window Note; both use the same GVP struct to store current color in. Also the function used now to add picker isn't complete... might need further thinking over. Consult me when you like them in more places.
2004-07-10More closely implement the Installation PolicyWouter van Heyst
<http://www.blender3d.org/cms/Installation_Policy.352.0.html> - Within those confines 'ERROR: File ".Blanguages" not found' won't show up again (all such bugs in tracker have already been closed, #745 for reference) And intrr, if it does, 'cp -a .blender ~' already :P Of course, this issue should not be fixed on a per file basis (.Blanguages, .bfont.ttf), but instead return the .blender dir location. Duplicating .blender finding logic everywhere, sigh. < jesterKinky> that's what I meant. for now this is ok to continue with, and then in a later stage correct it all in one bigger effort < jesterKinky> and since you point code at policy url we all can get reminded of how it was supposed to go when cleaning it. < LarstiQ> jesterKinky: yes, I meant to do a "grrrr, this is the last time I'm not fixing the underlying issue" < LarstiQ> all your lazy coders are belong to me < jesterKinky> set us up the superficial bugfix
2004-07-10Added edges in Mesh undo.Ton Roosendaal
Note; whether or not edges are created is derived from original Mesh, the one still residing in obedit->data while modeling.
2004-07-10Changed weird line in add_primitiveMesh() that caused cursor to flip backTon Roosendaal
to normal mousepointer while in editmode. Was in code since 2.25...
2004-07-10Made effector strenght as big in the negative as in the positive.Martin Poirier
2004-07-10Compressed the two particles effectors loop into one. It was rather stupid ↵Martin Poirier
of me to do it as two at first, but it was the first thing that came to mind. Fixed now, so it will calculate much faster.
2004-07-09Fix metaball update bug when mirroring in object modeMartin Poirier
2004-07-09Fixed for forcefield. It needed to add half of the acceleration as speed on ↵Martin Poirier
each frame it affected. Cleaned the GUI for effectors: Widen the panel and the buttons. Made the button text more conformed. Added vortex field for particles. Particles swirl around z-axis of the object. Little hackish, could be made better.
2004-07-09Typing values in color picker got a mixup in but->func() usage... causedTon Roosendaal
weird values to be set after entering a value. Nicely solved now.
2004-07-09Two little fixes in administrating new Mesh edges. Solves crash whenTon Roosendaal
joining newly created (Added) Mesh with others...
2004-07-09Quite a large one this time... but now we have:Ton Roosendaal
Edges in Mesh - adds automatic when you use creases. For other situations; call the void make_edges(Mesh *me) in mesh.c. Of course, once in editmode the edges are automatically recreated. - in F9 buttons you can add/remove edges too - both for Mesh and DisplistMesh, so it speeds up drawing quite some in wireframe - render for edges can't work... edges have no material nor tface nor col.. so here still the faces are rendered in wire Creases in Subsurf - based on the code by Chris McFarlen - main changes is that now edges are used, saving quite some data in file - use SHIFT+E in editmode to set edges-sharpness. values go from 0-1 - in F9 buttons you can set draw-crease mode. It draws now blended from wire color to edge-select color (as provided in Theme) Known issue: setting sharpness on 1 cube (subdiv 2) gives weird results with some values... Chris, can you check? Further; code cleanups, changing 0 in NULL when needed, no warnings, etc etc
2004-07-07* fixed bug in rainbow color for material and world ipoviewNathan Letwory
* removed 32 channel limit (can now have 50, or of you know what number to change, 999 ;) * added new IPOs: mirror fresnel and fac, transparency fresnel and fac, and glow factor transparent materials (add)
2004-07-07Fix compile error: the 'log' function takes only one parameter: changedBrecht Van Lommel
log(xo, 2) to log(xo)/log(2).
2004-07-06This is the initial commit of a revamp of the sweep effects that goofster ↵Johnny Matthews
committed that was originally a sequence plugin from sirdude. The changes from the original include the ability to add a blurred edge with a selectable width to the wipe and to rotate the effect. Has these sweep types included already -single -double -iris These still need to be coded -box -cross -clock
2004-07-06- Removed new outline drawing from vpaint/faceselect and other paint modesTon Roosendaal
- fixed tooltip drawing in color picker
2004-07-06Fixes in colorpicker;Ton Roosendaal
- click on palette didn't update button values - the bottom 'palette' button now restores to old color - H values scroll allways, also with black or white Todo still: - save in file (btw, i changed default colors to my pref :)
2004-07-06Colorpicker variant 2; One large field for S and V, and slider for H, likeTon Roosendaal
Gimp has for example. The previous picker is still as code there... ongoing experiments.
2004-07-06Picker made slightly larger, and removed confusing "copy to" and "pasteTon Roosendaal
from" buttons. Now a click in palette is default: update the active color. If you want to store in palette: hold CTRL while click. This isn't optimal either, but at least better.
2004-07-05Fixed NUM button code that it doesn't return halfway, but nicely proceedsTon Roosendaal
to end of the function to handle the exit requirements. (returns where added for patch that makes NUM buttons into textbut on a click in center)
2004-07-05Cleaned up pop-up menus for F10; edge settings and framing menu.Ton Roosendaal