969966f0e6fixed a bug in addCurve function. The semantics has not been changed. Tkx to jms for pointing it.
Jacques Guignot
2004-01-18 23:43:23 +00:00
41144750dacorrected particle object dupliverts and aramature duplivert export problems corrected power slider increment update
Alfredo de Greef
2004-01-18 20:00:17 +00:00
8139587af5- spelled catmull's name right ;) - bug fix, rebuild displist after decimation apply - bug fix, decimation was not freeing deform weights
Daniel Dunbar
2004-01-18 18:14:15 +00:00
73665ee9bd- bug fix, access thru null displist (rare, triggered by another bug where mesh displist isn't rebuilt)
Daniel Dunbar
2004-01-18 18:04:58 +00:00
ede644969b- Made dispfact for new mtex default to 0.2. - Fine tunes scaleing of Nor channel to better match intensity chan. - removed last debug printf.
Robert Wenzlaff
2004-01-18 17:17:44 +00:00
60a5328d4bDrawing a line to show where the area lights are heading.
Martin Poirier
2004-01-18 16:55:07 +00:00
c31de00284Script menus: -- trying a different approach to see if the crash on Windows goes away.
Willian Padovani Germano
2004-01-18 15:08:02 +00:00
e581b5c265When renaming a bone in editmode, make sure the name of the pose channel for the bone is also updated (and hence ensure that the constraints are still valid).
Chris Want
2004-01-17 18:40:22 +00:00
f7b9fbbbf2- Add new scene, and choose "Full Copy", didn't create a new Ipo for a Camera block; it remained linked to 2 camera's. Fixed!
Ton Roosendaal
2004-01-17 17:12:05 +00:00
cfe180805b- ray shadow now also does the options: - Lamp only shadow (use 'energy' to control amount that gets subtracted) - Material only shadow (remember, is an alpha trick) - demo files for this have been included in testing suite, will be upgraded soon.
Ton Roosendaal
2004-01-17 16:01:51 +00:00
dab319cfe1- updated stringlenght for animated texture images in Texture. It used only the define FILE_MAXFILE, which should be added with FILE_MAXDIR. - one day these defines should be made more clear, uh!
Ton Roosendaal
2004-01-17 13:54:21 +00:00
bd708b1637- removed ugly code, that used sprintf with an input string identical to output string. Seems to be a reason for windows versions to crash, sometimes.
Ton Roosendaal
2004-01-17 13:24:09 +00:00
247d40d11e- fix for drawing lamp name in 3d window at correct location.
Ton Roosendaal
2004-01-17 13:15:19 +00:00
9d15dc5e8d- fix for error in 2.31 release! in editmode, ctrl+rightmouse didnt allow selection of other objects, for vertex parenting. I added comments to the call to remind.
Ton Roosendaal
2004-01-17 12:54:11 +00:00
aefe45e9b1* Fixed some non-working toolbox entries (Thanks William Reynish for the report)
Matt Ebb
2004-01-17 05:51:06 +00:00
24c43b835d- pressing Enter key on numbutton increases/decreases again. - added displist.h for proper prototype in previous commit
Ton Roosendaal
2004-01-16 21:16:09 +00:00
d5a1b582c3two fixes:
Ton Roosendaal
2004-01-16 19:30:25 +00:00
dcc8af9374Comes with previous commit. Allow linedist setting smaller than 1.0.
Rob Haarsma
2004-01-16 14:50:22 +00:00
0ef6f7e927Corrected the line distance behaviour for Text objects.
Rob Haarsma
2004-01-16 12:49:43 +00:00
fb6133264a-reimplement OB_Surf support for curves
Joseph Gilbert
2004-01-16 01:19:36 +00:00
50ad38cf56Changed the Font editing panel so it displays the Postscript name of the font. Also supplied tooltip information for the buttons in the Font panel.
Rob Haarsma
2004-01-15 20:34:54 +00:00
3b1b0f3ef5Gradient button is back and now there are controls to export bias and raydepth to yafray. Plus some minor fixes
Alejandro Conty Estevez
2004-01-15 17:01:02 +00:00
ec4cccef61-bug fixes for materials updating - BalaGi found these bugs - NMesh.c added support for materials updating while converting a python NMesh to a Mesh object - Object.c added support for materials updating in Link() and shareFrom() when two objects share a mesh linked to a material
Joseph Gilbert
2004-01-15 12:55:41 +00:00
52e5a15bab- Separates displace from Var slider. Added Disp Slider to control how the intensity channel affects displacement. Nor slider still controls how Nor channel affects displacement.
Robert Wenzlaff
2004-01-15 04:06:24 +00:00
39714fe42cBPython: - some fixes for menu and error reporting code.
Willian Padovani Germano
2004-01-15 03:46:47 +00:00
f9ed7f0f88Object > Copy Attributes menu items crashed my system if there weren't any objects selected and active. found a if(ob=OBACT) block that caused it. aparently assigment in if statements doesn't always go to well.
Roel Spruit
2004-01-14 23:04:09 +00:00
8df5de525cadded python script files to MSVC 6.0 projectfiles and changed snprintf to PyOS_snprintf
Roel Spruit
2004-01-14 21:48:56 +00:00
0d9d16e6e9Scripts in menus: -- this finishes the heavier part (not counting tweaks and possible bugs) of letting scripts be accessed from Blender menus. Will explain more in emails to bf and bpython lists, but just check source/blender/python/BPY_menus.[hc] and source/blender/src/header_info.c and header_script.c for details.
Willian Padovani Germano
2004-01-14 21:36:10 +00:00
5190faf513- fix for speedup raytracing, which gave errors in very simple scenes (1 lamp, shadow). The 'coherence' check gets reset now for each new pixel rendered, which remains efficient for oversampling. - small cleanups in code, prototype added, less globals.
Ton Roosendaal
2004-01-14 20:13:41 +00:00
dd71491120- preview render cube was too small, increased size a bit - preview render sphere and cube had texture upside down
Ton Roosendaal
2004-01-14 20:11:42 +00:00
c1a1ba93ae* Bug fix in view3d menus - wasn't checking a pointer's initialisation strictly enough.
Matt Ebb
2004-01-14 15:51:37 +00:00
3cfa085a46Set cursor calls for the bevel function. Making sure the hourglass (waiting cursor) is not displayed when we don't want it to.
Martin Poirier
2004-01-14 15:41:49 +00:00
e76eb6a45a- code that limited zooming in and zooming out for spaces like sequencer, audiotimeline, etc. was accidentally removed in 2.30 UI makeover. put it back. fixes report in tracker from Cessen, thnx!
Ton Roosendaal
2004-01-14 14:47:41 +00:00
3e84e66078fix for tracker report on crashing border render in unified render. it is related to the fix for 2.31, wich disabled hackish feature of inserting the previous render outside border. i forgot the unified has this code entirely duplicated, something to get rid of one day...
Ton Roosendaal
2004-01-14 14:30:59 +00:00
d7bac993fa- Correction to scale calculation on Metaballs, provided by Jiri.
Robert Wenzlaff
2004-01-14 13:18:11 +00:00
0d6533a48ffix for bug that caused transparant shadow change how a texture rendered itself. this happened when transparent shadow ray hit a face with same material as where ray started.
Ton Roosendaal
2004-01-13 22:49:11 +00:00
6727eb6104restored old clipping plane method.
Ton Roosendaal
2004-01-13 22:45:44 +00:00
7e3c4dd0bbJustin improved clipping at extreme zoomlevels. when you were fully zoomed in you couldn't see all the geometry (correctly).
Roel Spruit
2004-01-13 20:55:59 +00:00
4712655080Global photons export for yafray. Square arealights, spot and point can work as emitters. Needs latest yafray code, still not in cvs.
Alejandro Conty Estevez
2004-01-13 16:51:35 +00:00
4c718d49cd- commented out drawing of file->import item in pulldown menu, it is empty now
Ton Roosendaal
2004-01-13 15:51:50 +00:00
4a8f52f619Converted the Userpreference buttons to zr's new ButBit calls. Also added USER_* to each define located in DNA_userdef.h.
Rob Haarsma
2004-01-13 14:50:45 +00:00
d74da9789a- Fixed metaball boundingbox bug. tex_space_mball() only fills in ob->bb, not data->bb, like tex_space_mesh() and tex_space_curve(). Reported by Jiri Hnidek.
Robert Wenzlaff
2004-01-13 00:45:01 +00:00
9151dc031a* Added the 'U' hotkey in the Unwrap UVs view3d menu item. Thanks very much for the fix, Ton!
Matt Ebb
2004-01-13 00:35:11 +00:00
3805cf23f5- fix for calling 'unwrap UV' from faceselect view3d pulldown. it needed a 'winset' to activate window, otherwise header still active - removed 'size' button from Magic texture, was accidentally added
Ton Roosendaal
2004-01-12 16:51:33 +00:00
501adfba42Yafray panel splitted in two so we can add more settings. Also preliminar square arealight export, not usable yet, will be usefull as soon as photon export is added.
Alejandro Conty Estevez
2004-01-12 16:46:47 +00:00
3ed49f3299-Attempted fix for flipped normal. Solves "No V. Norm flip" problem, but I doubt it's the whole solution.
Robert Wenzlaff
2004-01-12 14:42:43 +00:00
27e45078c5Another small fix to some toolbox titles that I missed before. Woops! :/
Matt Ebb
2004-01-12 13:48:26 +00:00
fa1d682f6fFixed a couple of small typos in curve menus/toolbox.
Matt Ebb
2004-01-12 13:42:16 +00:00
708494ae26Most people will have it collapsed away anyway, but...
Matt Ebb
2004-01-12 13:35:37 +00:00
9de93ac9dc* Big menus update
Matt Ebb
2004-01-12 13:30:00 +00:00
e40eaa4d47Mirror function: Moved push_mesh to functionality function, to truely split functionality and interface. Thanks to broken for spotting that.
Martin Poirier
2004-01-12 02:46:14 +00:00
3d07196b74Better pose figuring: fix for the "blender's bone constraints don't work in pose mode when you merely move the parent of a constraint subtarget" bug.
Chris Want
2004-01-12 00:53:23 +00:00
8a0317c8f1Historical commit... error found in DNA code! <blush> It is just too hard to describe, just that it didnt check for changing arrays well enough, causing contents of array textfield[] to be copied in array text[]....
Ton Roosendaal
2004-01-12 00:15:21 +00:00
fac8a7027d- fix for cubemap, rendered without render face available. currently only for preview render and displaylist. It then uses the provided texture coordinate itself... Solution is not perfect... disadvantage of not having globals! then you have to fix all mess! :)
Ton Roosendaal
2004-01-11 22:15:24 +00:00
63f1e17fe5- tex->nor was not reset to zero for lamp texture. this caused weird thing to happen when you use lamp textures with material textures. Bug provided by aphex, thanks!
Ton Roosendaal
2004-01-11 20:58:12 +00:00
1b233917ad- Normalized normal vector after perterbing normals to stop artifacts in displace preview.
Robert Wenzlaff
2004-01-11 19:53:20 +00:00
3f98fc4d61Clean up of edge select code. found some useless loops..
Roel Spruit
2004-01-11 17:12:39 +00:00
d0fd7d2fea- Potential future bug in simple subsurf (used & when should be ==). - out of date comment in Displace code.
Robert Wenzlaff
2004-01-11 16:20:49 +00:00
73529471e7Fixed headerprint for wrap transform. It wasn't consistent with the rest.
Martin Poirier
2004-01-11 15:48:32 +00:00
982e299fcfApplied Daniel Fairhead's correction for a correct functioning DELKEY in text input buttons. (thanks again !)
Rob Haarsma
2004-01-11 11:56:08 +00:00
bbe7d8d08e- Better fake for displace preview.
Robert Wenzlaff
2004-01-11 00:39:17 +00:00
3406d3a939- Displacement now allows use of either Var or Nor slider. Nor uses texture's Nor channel, Var uses intensity channel.
Robert Wenzlaff
2004-01-10 23:00:52 +00:00
94e93c3782Bugfix: [ #857 ] Select/Desel vertex groups doesn't update vertex count in headerbar
Roel Spruit
2004-01-10 20:52:59 +00:00
f1c082da50- Added ""fake" preview for displacement. Preview does not use renderfaces so real preview will have to wait for preview overhaul.
Robert Wenzlaff
2004-01-10 18:49:11 +00:00
d21cf447abFixed unresolved symbol bprogname under win32
Alejandro Conty Estevez
2004-01-10 14:14:14 +00:00
576284038dadded bmp.c and the new yafray files to the MSVC projectfiles
Roel Spruit
2004-01-10 13:42:35 +00:00
589ef22aef* Fixed a silly problem when changing the colours of the 'Neutral' button theme entry (which changed both the outline of buttons and various other grey buttons). Added a new theme colour 'Outline' and left 'Neutral' to remain, well, neutral.
Matt Ebb
2004-01-10 13:41:03 +00:00
b5071f367dImproved method to calculate normals for procedural textures such as Marble, wood, clouds. Instead of the retarded (but faster :) old method it now derives the normal based on displacement of a 'nabla' vector; sampling the texture additionally with three little offsets in x, y and z.
Ton Roosendaal
2004-01-10 12:41:47 +00:00
9d78e1164b* Added butspace and sound menus. That's all of them now, phew.
Matt Ebb
2004-01-10 11:19:05 +00:00
6a9d29d1db-Changed "Simple" button to pulldown menu or subsurf type. Paves way for additional subsurf types, and avoids confusion where Simple is on, but Subsurf is off.
Robert Wenzlaff
2004-01-10 01:22:07 +00:00
e3080c9580Added support for outputting bmp's The padding is slightly messed up, so it produces somewhat trunkcated images however it works. I'll try and fix it later but I have to go home now. Its atleast usable at this stage.
Kent Mein
2004-01-09 22:04:08 +00:00
b430cd167fEeshlo's fix for the unit problem with texture paths exporting to yafray
Alejandro Conty Estevez
2004-01-09 21:15:08 +00:00
4f398031b8- Merged conversion to renderfaces for mesh and subsurfs. This fixes bug in wrong flipping of normals during render in some cases too. Most important, it also allows autosmooth and halos now with subsurf. Particles do work, but still use the original geometry. - I only coded 4 bytes of this, rest is from master zr!
Ton Roosendaal
2004-01-09 20:52:44 +00:00
7b6c2cba1a- Introduce use_precomp on Darwin to decide wether to use precompiled libraries/headers from lib, or use the system libraries.
Wouter van Heyst
2004-01-09 11:13:58 +00:00
aba8ca4440From Eeshlo: fixed bug with dupliverted lamps not exporting. Also now it skips envmaps, octree and radiosity when yafray is enabled.
Alejandro Conty Estevez
2004-01-09 08:31:23 +00:00
cef4ef250c- Removed some out-of-date comments in Displacement.
Robert Wenzlaff
2004-01-09 04:16:16 +00:00
024c67bd47- Displacement scalling. Displacement now handles sizex/y/z of object properly, and uses the AutoTexSpace button to see if the size of the data needs to be adjusted for.
Robert Wenzlaff
2004-01-09 03:57:14 +00:00
bfdf036b45- Add new yafray files to SConscript
Wouter van Heyst
2004-01-08 23:57:57 +00:00
5c51bd7e56Code reorganization to allow a clean export to plugin alternative for yafray
Alejandro Conty Estevez
2004-01-08 23:12:56 +00:00
32a96642bd- added displist option to 10-timer (ctrl-alt-t), runs makedisplist on current option (for timing subsurf stuff).
Daniel Dunbar
2004-01-08 20:08:27 +00:00
eb6ef538e9- committed new uiDef{Icon,IconText,}ButBit? functions - change object draw flag buttons to use new functions (just an example)
Daniel Dunbar
2004-01-08 19:53:19 +00:00
239edfc272some cosmetic changes to make the compiler shut up when building with scons on os x
Stefan Gartner
2004-01-08 16:28:45 +00:00
2830db381efix building with quicktime support on os x. some platform specific sections had link_env.Append(CPPDEFINES=defines) (darwin was not one of them). I moved that line to the global part of SConstruct and added "defines = []" to the platforms that didn't have it (sunos and hp-ux). I hope I didn't break anything...
Stefan Gartner
2004-01-08 16:14:09 +00:00
71597eb061- Corrected scale factor to be independant of object rotation. (Still not right, but better).
Robert Wenzlaff
2004-01-08 14:19:25 +00:00
234fb27248Added export for caustic settings based on the raytrans values. And settings for casting them from GI (pathlight). A new contro "caus depth" in the panel controls the maximun number of bounces going through objects.
Alejandro Conty Estevez
2004-01-08 11:42:40 +00:00
6e97d0bcd3- fixing a bug which can lead users to potentially resize windows such that they can't be regained anymore. Also, when removing the header from the userdefs, resizing it to 1 pixel height made it very inaccessible. This problem was reported _and_ fixed by ndh (Andreas Haferburg). Thanks!
Nathan Letwory
2004-01-08 09:16:19 +00:00
059a846f3aFrom Eeshlo, also create the temporary dir inside yafray's install dir if the user does not put a valid path on YFexport. So now all windows path problems should be fixed, but never understimate windows.
Alejandro Conty Estevez
2004-01-08 08:55:21 +00:00
f6f06ba54d- removed duplicate flags from BKE_mesh.h - removed rendermesh_uses_displist (no longer relevant) - converted appropriate me->flag tests to using mesh_uses_displist - made vert and face counting (for info header) use proper counts - changed flip_subdivision to allow level==0 argument - ps. thanks for subsurf orco fix ton
Daniel Dunbar
2004-01-08 04:42:29 +00:00
86e32ddcc8tsk, little screwup on last commit
Rob Haarsma
2004-01-07 23:45:09 +00:00
50b7c10a7dPossible definitive fix for the problem of not finding yafray executable on win32. Since yafray saves its installation path in the registry, we read it from there and convert to a legal path for system()
Alejandro Conty Estevez
2004-01-07 23:40:19 +00:00
d959b8127bApplied Daniel Fairhead's patch for a correct working DELKEY in textinput buttons. (thanks!)
Rob Haarsma
2004-01-07 23:33:40 +00:00
f0821decffLeft over work from localizing renderdata!
Ton Roosendaal
2004-01-07 21:44:09 +00:00
1126706d2e- [win32] now really using the directory Blender is installed in. My patch was kinda incomplete, but aphex_ (Simon) was kind enough to point out the lines to edit :)
Nathan Letwory
2004-01-07 21:03:11 +00:00
f2f514d1d4Fix for cube map error subsurf.
Ton Roosendaal
2004-01-07 20:29:21 +00:00
7aeb986fafSome better pose figuring: in pose mode, when *any* parent of a constrained bone is flagged for updating (not just an IK parent) we should update the constrainted bone (except possibly when the subtarget bone shares the parent). This solves the "Character doesn't crouch when I pull his spine downward" bug reported in the testing builds forum.
Chris Want
2004-01-07 17:11:20 +00:00
8396163515- Ooops, random keystroke snuck into file between make and commit.
Robert Wenzlaff
2004-01-07 14:39:50 +00:00