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
2005-06-11Rollback of ↵Nathan Letwory
http://projects.blender.org/pipermail/bf-blender-cvs/2005-June/003769.html (which I in my commithappyness did before properly checking)
2005-06-10* fix for bug #2733Nathan Letwory
2005-05-27Added some backward compatibility with old yafray blendershader. Because of ↵Alfredo de Greef
missing parameters the material preset menu won't be as useful. Both glass presets will look the same because there is no 'filter' parameter in the old yafray for instance. So using the new Blender version with an old yafray version should work a bit better, though the other way around, using the new yafray with an old blender version, will generally not work as well. I added a few extra things. In 'yafray' panel re-arranged some buttons, and added a new button 'Clamp RGB'. This button will be enabled by default and helps to improve AA on high contrast edges in the image. When using bokeh however, it is best to switch this off, otherwise lens shaped highlights will be quite a bit less visible. Changed the 'extinction' parameter name to the probably more correct term 'absorption', though mathematically it works out the same. Also changed the behaviour of this color, it no longer specifies a color that will be removed as I wrote in the previous commit, but instead the actual color at one (blender) unit of distance. The 'Ds' (distance scale) button below the color sliders controls the scaling of this unit distance. What this means is that if you take the standard blender cube, which covers two units of distance by default, setting the distance scale button to 2.0 will make sure that the color you specified is exactly that color at that distance (provided the base color itself is white of course, or 'filter' is 0, otherwise it will be filtered by the base color too). Beyond this distance the color will get darker. The glow option for point/soft/sphere lights has a new parameter 'GloOfs', or glow offset. Setting this to a higher value then 0 will soften the central peak of the glow. Another unreported bug fix: For xml export, when yafray failed to render the xml file for some unknown reason, or because of other problems, the export code would still load the previously rendered image, this causes problems however if the image resolution is not the same as the current Blender buffer, and so could cause memory corruption or crashes. This is now taken into account. World image backgrounds now use the blender mapping settings as well, but only the 'AngMap', 'Sphere' and 'Tube' settings. But in yafray those last two, unlike Blender, cover the whole view, not just the upper half, so is not really fully compatible with yafray. So now you have to set one of these buttons too when loading a hdr lightprobe image. btw, something I forgot to mention in previous commits is that the exposure control using the texture brightness slider is no longer restricted to integer values. It is now a floating point value, so you're not restricted to the 0 1 and 2 slider positions anymore, anything in between will work too. And finally, display updating is now more like Blender, using the mouse cursor as frame counter for animation, etc.
2005-05-23Second and final commit for this version of the yafray export code ↵Alfredo de Greef
(probably, you never know of course...) Not quite complete, but due to lack of time as good as it will get for now. From the previous commit, forgot to report that basic fog is supported as well. Though because I had not much time to complete the code, it is sort of unfinished, and you will have to tweak parameters specifically for yafray again. It uses only the world horizon color, and only uses the Blender mist distance setting. Textures now support checker clip mode. Fixed possibly all 'duplilist non-empty' errors, though it could hide the real cause of the error. AA is no longer enabled automatically for certain GI quality settings, I thought it best to leave it to the user to decide. SkyDome GI mode now supports cache as well. There is a new option in the GI quality menu 'Use Blender AO settings', which will as it says use the most important AO settings for the skydome parameters. The only AO parameters used are 'Samples', 'Dist' and the random sampling switch, which unlike in Blender you might want to use more often, since the QMC sampling used in yafray can result in visible patterns or a dithering type look. 'Random' is not completely random in yafray however, it is actually jittered (stratified) sampling. Using an occlusion cache, doesn't necessarily mean that you will always get much shorter render times. As with 'full' GI and cache, one problem is bumpmaps, when using bump (or normal) maps, the sampling will be much more dense, using lots more rendertime. As a temporary fix there is a button 'NoBump', but this also has the side effect that in areas of total indirect light (or when used with SkyDome cache) no bumpmapping will be visible. It is therefor best used with some direct light as well. For SkyDome with cache, and strong bumpmapping it might actually not make much difference, since for low distance values you can usually get away with low sample values as well. The entire material panel is now replaced by another panel to show only the parameters important to yafray and add some new ones as well. Since lots of users (especially yafray beginners) have had problems getting certain material aspects right, there is now a material preset menu available to hopefully solve some of the most common "How do I do this? It doesn't work!" questions seen in various forums. Choosing an option from this menu will set the required parameters to default values for yafray, and you can work your way from there to tweak it something you want. Most buttons are copies of the same Blender parameters, with some variations. Just like Blender 'Ray Mirror' enables reflection, 'Ray Transp' enables refraction. You can use 'ZTransp' for materials that have texture maps with alpha channels. Again, same as Blender 'rayMir' sets the amount of reflection. Next button 'frsOfs' however controls fresnel offset, meaning that when this is set to 1, you will get no fresnel effect and when set to 5, reflection is totally determined by fresnel, which is important for realistic glass/metals/etc. IOR is self-explanatory (...), same as Blender. When you have 'Ray Transp' enabled, the blender 'filter' button will appear next to the IOR button. This has the same effect as in Blender. Below that there are some new parameters, 'Ext.Color' sets the extinction color for transparent materials. Usually, in real transparent materials, light loses some of it's energy the further it has to travel through the object. This effect can be simulated with this parameter. Thing to look out for is that it specifies the color which will be REMOVED after traveling through the object. What this means is that say you have a clear white glass sphere, and set the extinction color to a strong blue, the result will be a very yellow object when rendered. Next to the color sliders, there is another set of three parameters, with which you can enable color dispersion for transparent objects. 'Pwr' sets the amount of dispersion, the higher, the more dispersion (the more colorful the result). (For real world materials, this number can be found or derived from data in various glass catalogues) The 'Samples' button below that sets the number of samples used, minimum values are around 7-10, and for very strong dispersion you might need a lot more. As usual, this also means an increase in render time of course, but to simulate realistic materials, you shouldn't really need more than 25 samples. In addition to that, when using low sample numbers, but to still get a good spread of colors, you can enable the jitter button, but this will also add noise. Point/soft(point with shadowbuffer) or sphere lights (light with radius), have a new option to add a simple glow effect, so that lights can be made visible. NOTE: just like spotlight halo's, glow is not visible against the background, there must be another object behind it. Simplest solution is to use a large black shadeless plane behind your scene. The glow intensity can be set with the 'GlowInt' parameter (use very low values around 0.01 even lower), and you can choose from two different types with the 'GlowType' button (which don't look much different, but type 1 is probably better, type 0 faster). And that's it, with apologies for the still missing features and full support in general, but this will have to do for now.
2005-05-19Made TimeLine "Play" also play sound and synchronize with it. Added theTon Roosendaal
feature with a header button. Works like audio playback on ALT+A, meaning you have to add the audio strips in Sequencer. The 'only sync' option for ALT+A doesn't work here. Also: fixed crash on ESC in audio playback in sequencer.
2005-05-13TextEditor: syntax color support.Ton Roosendaal
Patch provided by Ricki Myers. Works quite obvious, see Theme editor too! Notes about the provided code; - The default syntax colors were screaming! Toned it down to match the default dark on lightgrey background better. - Added: initializing colors in saved themes (usiblender.c) - The implementation of the button for this option was quite clumsy... Blender UI options services this a lot easier. (Same fixed for 'line numbers' option) - Bracket matching now uses as color a mix of backdrop and the selected-text color. Noticed my texteditor did it too... -> I really miss comments in code describing a little bit the thought process behind the code. Like a short introduction on this feature in the top of the drawtext.c, little remarks on new functions. ALso in patch tracker or the mailinglist no docs was mentioned? -> drawtext.c now gets messy quickly... lack of overview, structure, and confusing mix of personal coding styles. For not-active supported code dangerous...
2005-05-12Animated UI for TimeLine "Play"Ton Roosendaal
Using the Play button in timeline, now uses an event-driven system to update the animation system and signal windows to redraw. Meaning the full UI remains responsive! Check the new Pulldown "Playback" to set which windows you like to see updated. Same settings is used for LMB 'dragging' frames in Timeline. Implementation notes; - the Icon for 'Pause' (or stop) has to be made yet, I commit this from my laptop... all was coded during a 2 x 5 hour train ride to germany - the anim playback system (ALT+A too) now uses correct "frames per second" as maximum speed. Buttons can be found in 3 places in the UI, also added it as pulldown item - The system works with 'screen handlers', which has been coded with using Python (networked) events or verse in mind too. A doc on that will follow. - the buttons code has been made 'resistant' to animated UIs too, preventing flashing of hilites. - All subloops (like transform) stop playback, with exception of MMB view manipulations. As extra; found tweak to make Textured AA fonts draw without distortion. Looks perfect here on laptop now (like Pixmap fonts) and is 20x faster.
2005-05-09BPython:Willian Padovani Germano
- Made Blender.event var (previously only used by script links) hold ascii value -- where it applies -- of current event during events callback registered with Draw.Register(gui, events, button_events). Useful for gui scripts like Campbell's Python console. No problem using this var to hold the value, since in gui scripts it was not used (always None). - Updated Window and Window.Theme with new theme vars and the Time space. - Script links: -- Added "Render" event for script links (runs twice, second time as "PostEvent", for clean-up actions). Now FrameChanged links don't run when a single pic is rendered. -- Added "Enable Script Links" button in the script buttons tab. Now this bit gets saved in .blends along with the rest of G.f, so users can define per .blend if they are on or off by default. "blender -y" also disables all slinks as happened before with OnLoad ones only. -- Other small changes in the script buttons tab: When a link is added (button "new"), it becomes the active one for the window, no need to press a button to reach it. Also, a pupmenu showing all available texts is shown when "new" is pressed, so users can choose a text w/o having to type. Cancel the popup to leave the string button empty (link exists, but has no script assigned). A pulldown would be better UI-wise, but it's kinda weird to show both scripts and normal texts (Blender doesn't differentiate them) in a script links pulldown. With a popup we can show only texts ending in ".py" (not done in this commit, need opinions) and if the script has no or another extension, case of many in old and current .blend's, there's still the string box for writing its name. -- Implemented Ton's space handler script links: Right now only for the 3d View, but it's trivial to add for others. There are two types: EVENT, to receive 3d View events from a chosen window and DRAW, to draw on the window. Ton's idea was to give scripts a controlled way to integrate better within Blender. Here's how it works: - scripts must have a proper header, like: # SPACEHANDLER.VIEW3D.EVENT and then they are shown in 3d View's View menu, "Space Handler Scripts" submenu. Check (mark, click on it) a script to make it active. EVENT handlers should consult the Blender.event var to get the current event, which can be compared with values from the Draw module: import Blender from Blender import Draw evt = Blender.event if evt == Draw.AKEY: print "a" elif evt == Draw.LEFTMOUSE: print "left mouse button" else: return # ignore, pass event back to Blender Blender.event = None # tell Blender not to process itself the event DRAW handlers are free to draw to their owner 3D View. OpenGL attributes and modelview and projection matrices are pushed before running the handler and poped when it finishes. To communicate between EVENT and DRAW handler scripts we have the Blender.Registry module, as always. Still need to code some nice example, which should also serve to test properly space handlers. Simple tests went fine. - doc updates about the additions. ======= Note: the UI part of the space handlers and script links is of course open for changes, I just tried to make it understandable. Probably we won't use the scriptlinks icon for "None Available" (check 3d View -> View -> Space Handler Scripts), though it hints at what space handlers are. The tooltips may not be accepted either, since other menus don't use them. Opinions welcomed.
2005-05-08Added: new Pivot option, "Around active object".Ton Roosendaal
Works nice quick to rotate a group of Objects around a defined center, without hassle with the 3d cursor. Especially for the 3D Manipulator. In EditMode/PoseMode this option falls back to "Centroid", as does the "Individual centers" option already.
2005-05-06* integrate bFTGL with SconsNathan Letwory
* add some ENV = os.environ's here and there (help those who have msvc toolkit installed) Note for OSX users: check from your config.opts the correct info for the precompiled ftgl lib is used.
2005-05-05Added the new Timeline Window, copied from Tuhopuu, coded by Matt Ebb.Ton Roosendaal
Main change is that it's an own Space type now, not part of the Audio window... the audio window should restrict to own options. This way functionality is nicely separated. Since it's the first time I added a new space (since long!) I've made an extensive tutorial as well. You can find that here: http://www.blender3d.org/cms/Adding_new_Space_Window.557.0.html Notes for using timewindow; - Add time markers with MKey - CTRL+M gives option to name Marker - Markers cannot be moved yet... - Pageup-Pagedown keys moves current frame to next-prev Marker - Xkey removes Markers - If an object has Ipos or an Action, it draws key lines - CTRL+Pageup-Pagedown moves current frame to next-prev Key - Press S or E to set start/end frame for playback Notes about the implementation in Tuhopuu: - Add new Marker now selects new, deselects others - Selecting Marker didn't work like elsewhere in Blender, on click it should deselect all, except the indicated Marker. Not when holding SHIFT of course - Not exported functions are static now - Removed unused defines (MARKER_NONE NEXT_AVAIL) - Drawing order was confusing, doing too many matrix calls - Removed not needed scrollbar, added new function to draw time values. (Has advantage the MMB scroll works not confusing on a scrollbar) - Added proper support for 'frame mapping' - The string button (name Marker) had a bug (checked str[64] while str was only 64 long) - String button itself didn't allow "OK on enter" - Made frame buttons in header larger, the arrows overlapped - Removed support for negative frame values, that won't work so simple!
2005-05-03UI cleanup work;Ton Roosendaal
Proportional edit: - Proportional mode added to header as button/menu. Including new option to have only connected geometry influenced. - Added icons for proportional & proportional modes - Make proportional edit data part of Scene, so all gets saved. The Global flag G_PROPORTIONAL was removed - Made sure #defines get used properly, also tweaked order for proportional so it starts with regular 'smooth' by default. - Use ALT+O in editmode to switch to new proportional 'connected' mode Other UI stuff: - in EditMode, the layer buttons get hidden... the amount of icons in 3d header grows to fast. :) - made less ugly icons for the Manipulators. Still can be better. - Added alpha-filter for pre-processing Icon-image, giving nicer display of icon-antialising on dark or bright backdrops - disabled Manipulators when in editmode, and current layers don't show the edited data. - Added the value used to define Normal size (editmode draw) in Scene too, so it gets saved.
2005-05-02Added baking for softbodies.Ton Roosendaal
Works as follows; - press the 'show bake settings' button (no space left... :) - define start/end frame for bake, and an interval step. The baked result interpolates nicely (Bspline, 4 keys) so in general a step size of 2 or 3 still gives OK results. - Press "BAKE". This will do a full animation + playback. Press ESC if it you don't want it. Once Baked, the BAKE button becomes a FREE BAKE. As reminder the softbody buttons get blocked with error() menu. This saves OK in a file. Renders any frame, including fields and moblur. You can also set a "Timeoffs" for the softbody. And yes, this should be in the NLA once... :) NOTE! With this commit, files saved with the old (first commit) version by Jens Ole won't read the settings back... he stored all sofbody variables in Object, which was moved to a new struct when I did my first commit on SB (over a month ago) Also note that I moved particle deflecting & softbody to a new include.
2005-05-01Dependency graph patch, provided by Jean-Luc Peuriere.Ton Roosendaal
Works like a charm... well it now replaces the old base-sorting hack. :) Next stage will be to define how to further integrate it. Plus some minor code cleanups... static/internal functions versus external, etc.
2005-04-29More stats-junk stuff!Ton Roosendaal
Added in Nkey panel (transform properties) option to show in editmode at choice the global or local coordinate values. Same option works for the "Tech draw" options. :)
2005-04-28Add bracket matching to text editor.Stephen Swaney
#2437 from the Patch Tracker. Contributed by Ricki Myers (themyers). Thanks! Highlight color is set in UserPref theme colors.
2005-04-24Reflecting the discussions on Transform Manipulators...Ton Roosendaal
Here you can see the notes and pictures: http://www.blender3d.org/cms/Manipulator_Widgets.548.0.html The alternative rotate widgets are still under rt=2 and rt=3. Still enough work todo here, but hope it's a good step forward!
2005-04-24Make view translation and zooming 'smooth' in the uv editor. Power-of-twoBrecht Van Lommel
zoom levels can be found in the View > View Navigation menu. Also Ctrl+MMB zooming was added. Added the E-key, LSCM unwrap popup back again.
2005-04-24The zblur plugin (aka as DoF) integrated in render. Compared to patchTon Roosendaal
submitted by Alexander, changes/improvements are: - Moved to new Panel in Scene buttons "Post Effects". Together with other postprocessing options, such as Edge render. It is also not called DoF, this because that's a bit pretending too much then. It's a zblur still! - Made it render Alpha as well - Made it use and deliver float buffers - Huge cleanup of zblur.c code, was very messy. It was alling things in render code without need even (win matrices, transform faces, etc) - Fixed errors in using Z values (zbuffer is signed int) - Removed very weird gamma corrections for front/back half - Tweaked gaussian table, allow variable 'Sigma' to be set for gauss curve - Didn't copy 'auto focus' yet. Use of this is very limited, and gives false expectations, nor works for rendering anims with deamons well. Main issue remains: it's not a very advanced feature... I still doubt very much if this deserves to be released. Spent 2 days on trying to get the key issues solved, with not much results. - gauss filter code has weird side effects on large blur size - having unsharp (blurred) in front also blurs what's around in back. only blurred in back with sharp in front works a little bit - severe aliasing errors... also due the code splitting in 2 halves - doesnt work with unified yet - won't work for halos, spot halos or transparant faces Anyhoo... It was promised to be committed, so now artists can play with it. Who knows it's useful after all, or some fixes can be implemented. :)
2005-04-20Softbody: added "time" button, to control speed for wriggling. Low valuesTon Roosendaal
make it slower, higher values faster. Monkey: accidentally got inverted normals for they eye again. :)
2005-04-20providing a minimalistic UI for SB vertex to face collision detectionJens Ole Wund
in the particle interaction panel "D"= "Amount of damping during softbody collision/intrusion" "I"= "Inner face thickness" good value for unit cube == 0.2 "O"= "Outer face thickness" good value for unit cube == 0.02 still we can easily hide that before releasing
2005-04-17Patch submitted by Jorge Bernal (lordloki) and Jonathan Merritt.Ton Roosendaal
This will add Minneart diffuse and WardIso specular to our shader menu. Minneart gives nice control over darkness/brightness areas, the wardIso over 'plastic' style sharp or fuzzy specular. Webpage is being made with nice samples. Will be in release log. Jorge: one change is in the do_versions, you inserted it on wrong location.
2005-04-16Softbody:Ton Roosendaal
- Added browsing for vertex group for "Goal" in SoftBody buttons. - Means the default name "SOFTGOAL" isn't needed anymore - temporally, on file read, the "SOFTGOAL" vertex group is set, if exists - removing vertex group possible too - changed softbody.c code to use this
2005-04-12Bug fix #2323Ton Roosendaal
The addition in 2.36 to correct bumpmapping for View and Object rotation, made many nice bumpmap setups in older files less nice. Especially apparent when you apply "flipped" mappings in "Map Input" Panel, like map the X to Z and the Z to X. A correction then gives wrong results. Since the "correct bumpmapping" is actually a new option, causing extra rendertime too, I've made it an option now. With the "Map To" Panel being fully used, I've put the new button option (temporally I hope) in the first "Texture" Panel in material context. Will be updated in release log page!
2005-04-11 - It is possible to scale radius of MetaElem again.Jiri Hnidek
- It is possible to change dx, dy and dz params in 3Dview with manipulators or with some shortcuts (S-X, S-Y, S-Z). - User can scale stiffness when green circle is selected. - MetaElem is selected with RMB click at green or red circle, then user can grab or rotate with MetaElem as usual. - Screenshot: http://e-learning.vslib.cz/~hnidek/pics/scale_stiffness.jpg - Captured video: http://e-learning.vslib.cz/~hnidek/captured-videos/scale_stiffness.avi
2005-04-04- Made SoftBody work with Particle Force Fields.Ton Roosendaal
- Added new (Particle) Deflector; type Wind. Wind gives constant directional force. It is animatable (Ipos) and reacts to Object scaling. Also uses FallOff. Works for particles and SoftBody quick movie check; http://www.blender.org/bf/0001_0250.avi test file is in download.blender.org/demo/test/wind_soft.blend - Added MaxDist option for forcefields, to control its influence better. Is drawn as circle in 3d window. Forcefields are a bit weak still... should react to scaling, or not; in that case drawing should indicate it (done for spherical field now).
2005-04-04 - moved subsurf_calculate_limit_positions to using ccgsubsurfDaniel Dunbar
- removed ME_CCG_SUBSURF define - dropped CCGSubSurf from editing menu... subsurf is always CCG now. NOTE: If you saved a file with CCGSubSurf set on the button will show up blank (will still work as a subsurf). Just change type back to Catmull-Clark. Wave bye-bye to HyperMesh...
2005-04-02More softbody goodness;Ton Roosendaal
- Added Softbody effect for Lattices (not too useful yet without vertexgroups though) - Added default vertex "goal" value + button, to be assigned when no vertexgroup exists (or vertex isn't in the group) - Made softmin and softmax work as documented (defining min and max range) - made changes in buttons send 'update' signal to softbody And: - added Nkey Properties to show lattice coordinates
2005-04-02Added signal OB_SB_REDO for ob->softflag to force a recalc.Ton Roosendaal
Now used after weight painting, so it updates immediately.
2005-04-02Integration stage of Softbody projectTon Roosendaal
User level notes are in Wiki here; http://wiki.blender.org/bin/view.pl/Blenderdev/Softbodies And will be added in blender3d.org CMS later. Tech level notes are still pending, but here's the most relevant ones; - made ob->soft struct SoftBody to hold all settings, and read/save in files - added (temporal!) conversion for the old settings. So: read old files with softbody experiments now, and save over! - cleaned API calls for softbody, which are only 5 of them now: sbNew() sbFree() sbObjectStep() (animation steps) sbObjectToSoftbody() (full re-initialize data) sbObjectReset() (only reset motion) - API calls accepts time in frames now, within softbody.c it converts Further, internally code was cleaned some (missing tabs etc). Also tried to keep a well defined structure with hints how to add support for more objects. Can write notes about that...
2005-03-31 - removed USE_CCGSUBSURF define (always on now)Daniel Dunbar
- added G.editMesh->derived pointer... idea is to use this for mesh derived from editmesh instead of Mesh->derived (as the derived mesh tends to vary depending on what it came from). This part could be cleaner, also there may problems with it not being invalidated correctly. - And most importantly: In case people were beginning to worry all these edits were just crazy zr stuff, the big point comes about: Incremental subsurf calculation is now enabled. This gives massive speed improvements when editing a large mesh. For the eye-candy happy: try setting G.rt==52 before entering editmode and the edges and vertices (in optimal mode) will switch to displaying visually the age since a region has last been calculated. Lots of fun!
2005-03-29 - added Mesh->derived and Mesh->decimated DerivedMesh pointersDaniel Dunbar
- removed DL_MESH displist type!!!! Now store a DerivedMesh directly. - May still be some issues left having to do with releasing this at the right time (old code just splashed free_displist all over the place).
2005-03-29 - print # bytes to add on sizeerrorDaniel Dunbar
2005-03-29 - it is possible to rotate with MetaBalls in edit mode nowJiri Hnidek
2005-03-28Cleanup of widget code;Ton Roosendaal
- made more general calls with args for drawing types - made it accept transparency for all modes (used while transform now) - added argument to detect 'combo' mode, gave offsets to translate/scale handles in combos. - added 'pie chart' on view-aligned rotate for widget - made trackball for rotate widget rt==4 behave compatible - removed redundant code for 'ghosting'
2005-03-24Bug fix #2311Ton Roosendaal
File name (40) and dirname (80) were too short in sequence data. Made it compliant using defines FILE_MAXFILE and FILE_MAXDIR. Also replaced all strcpy() and strcat() with strncpy/strncat, with the defines in it. Oh, also fixed plugin path length for sequence, was just 80! Bug fix #2366 Restored old convention that made using SHIFT+CTRL while using button- sliders go with 0.1 stepsize of CTRL. (noticed too late that Chris Burt assigned to self... sorry!)
2005-03-23New feature, since long on todo;Ton Roosendaal
The grid function (transform translate, snap-to) now uses the grid step as displayed in the 3d window, so it depends on how much you zoomed in/out. The threshold for it is a bit tricky... it follows the drawing, but the blending in/out of grid makes it sometimes not obvious. might need slight tweak?
2005-03-21More transform widget goodies;Ton Roosendaal
- added 'ghosting' for while using translate/scaling widget - added 'pie chart' ghost to denote angle while using rotate widget - added settings to tweak widget in User menu (InfoWindow) "View & Control" - Size: total widget size as percentage of window size - Handle: as percentage of widget radius - Hotspot: for clicking handles, in pixels - Fized Size: option to make Widget size independent of window size Not sure if all of these are useful to keep, but makes for good testing in this stage. Also: made #define to use new transform to be set TRUE by default now. :)
2005-03-21 - Initial integration of CCGSubSurf library into blender. The lib isDaniel Dunbar
only in one C file and not worth dropping in extern but presumably will be synced with public CCGSubSurf release I hope to be making soon. - Currently the implementation must be enabled by defining USE_CCGSUBSURFLIB somewhere with your build system. The code should be considered highly experimental.
2005-03-19Transform widgets; Scale and Rotate versionsTon Roosendaal
To use; press the (temporal) icon in header. Switching widget types is by pressing G, R or S once, if current widget type is different it switches, otherwise it goes to normal Transform(). Widgets need a bit test for picking accuracy, correct drawing etc. The rotate widget has a center button for 'trackball' rotate. That latter can also be used for hotkey-based rotate. In current code, all widgets remain in "Global" space, also in editmode. Also widget updates while using normal transform has to be done. 2 Bugfixes: - rotate in PoseMode had error for 2d 'around' center - transform in postemode could crash, due to typo (& or |)
2005-03-18So! Finally a show-off of the *power* of Martin P's work! :)Ton Roosendaal
- Made framework for 3d Transform Manipulators (widgets) - The Manipulators act like '2d buttons', by default with LeftMouse and with while-hold-move-release - Implemented now: Translation Widget, which allows: - four hotspots for axis grab or view-aligned grab - center defined by 'around' setting - SHIFT+LMB gives planar constraint on other 2 axes - works in Object mode and Edit mode (not posemode yet) Enable it with (temporal) icon in 3D header. All other 'normal' transforms then keeps working btw. On the todo for this widget: - choice for Global, Local or Normal orientation The way the widgets are going to work is in review still. Commit is also for Matt for his proposal/paper on topic. Some notes regarding this project; - no life updates (on mouse over) like 3DS, I think that's neurotic - on click, dominant axis changes to theme defined "Transform" color, other axes disappear, like maya - manipulater size is fixed preset, independent zoom. - manipulator follows selection, and is located based on 'around' mode Unresolved; - in maya, when you select 2 or more objects, the manipulator draws on the 'active' object, also interesting - what to do with G,R,S hotkeys? It could switch the manipulator "mode"... - header button/menu for manipulator mode?
2005-03-14ome more warnings cleaningJean-Luc Peurière
2005-03-14This commit reverses the OpenEXR specific stuff in the OpenEXR commit IKent Mein
did last friday. A patch will be available in the patches tracker that will have the current stuff there until everything is working. Kent
2005-03-12 - made makesdna print how many bytes of padding should be added inDaniel Dunbar
a struct on alignment errors, simplifies fixing.
2005-03-12 - dna_error wasn't set on two errors in makesdna, allowed bad compilationDaniel Dunbar
2005-03-11Gernot Ziegler's patch to add OpenEXR support to blender.Kent Mein
To enable it you will need to download OpenEXR and install it. For the Makefiles you will need to set WITH_OPENEXR=true and set NAN_OPENEXR to point to where OpenEXR is installed. For scons you'll need to remove config.opts to get the new options so you can enable OpenEXR, I was not able to get blender to link with scons so the scons stuff may need to be tweaked a little but I think it should work. For other platform managers The OpenEXR stuff is similar to QUICKTIME you need to define WITH_OPENEXR and setup the library stuff and as you'll notice in this commit there are two extra files. Kent
2005-03-07Patch provided by Chris Burt;Ton Roosendaal
Wood/marble now have three waveforms to choose from: Sine, Saw and Triangle. The Saw wave allows for much more realistic wood, especially in combination with a ColorBand. A blender3d.org release page is being constructed about it. Added: commit in editmesh_add.c to remove circle warning in face-select mode.
2005-03-01Bug fix #2248Ton Roosendaal
Pressing AKEY in channel buttons (names) of IpoWindow did not show all or hide all anymore. Was due to commit last july, which enabled unlimited amount of channels.
2005-02-21- added "hide" flag for MetaElem. Hidden MetaElem doesn't influence ↵Jiri Hnidek
polygonisation. It is useful for large scenes, when you work with lot of MetaElems. Example: http://e-learning.vslib.cz/~hnidek/pics/deer.jpg (PildaNovak's model) - shortcuts for hiding of MetaElems: H ......... hide all selected MetaElems Shift-H ... hide all unselected MetaElems Alt-H ..... unhide all hidden MetaElems - items in header menu of 3dview
2005-02-11Little warming-up getting-feet-wet coding project. :)Ton Roosendaal
Much wanted feature, to have paths with children having fixed distance offsets from each other, for example to animate a train with wagons. Solved it with Path option (Editing buttons curve) "PathDist Offs" which interprets time-offsets of children as blender-unit offsets. The entire animation system still works, but offsets are calculated based on distance, even with a CurvePath without motion (speed curve horizontal). http://download.blender.org/demo/test/pathdist.blend Thanks to Bassam for kicking my ass!