Commit Graph

66005 Commits

Author SHA1 Message Date
54e1f40024 Showstopper bug... found out while preparing demos for siggraph;
WHen you select the yellow keylines in iposwindow (camera.blend regression
suite) it should update 3d window; that didnt work... fixed with simple
redraw.
2004-08-03 21:58:07 +00:00
05a87bc925 do_version for 2.34; sets outline select by default on on older
files. (testers; note that you cannot save 2.34 yet!)
2004-08-03 21:42:37 +00:00
248404e7a2 This commit changes the sweep effect to be called 'Wipe' in both UI and in backend variable naming. 2004-08-03 19:36:17 +00:00
d1bbaf18ca - Fix build failure on Linux sparc
Checks for operating systems should be that, and not checks for hardware.
Linux/sparc is a valid combination, using sparc to check for Solaris thus
results in problems on non-Solaris.
2004-08-03 17:05:03 +00:00
6e7800e349 Fix for 1488
IKEY in buttons window, Editing context, Camera; didn't give the menu.
Just moving an if statement down...
2004-08-02 21:36:44 +00:00
060db9e94a Smallest commit ever: Make the OB: text entry field in
transform properties floating panel maximum 19 characters rather than 18, to bring it in line with the
similar field in buttons_editing.c
2004-08-02 13:06:09 +00:00
Nathan Letwory
d3a9eae00d * make sure all contents of bpydata are included in installer and archives 2004-08-02 11:02:14 +00:00
4b495e5e7b OS X fix:
those who work with visible dock where experimenting slowdown of UI  when
 blender window was overlapping dock.

now :
     - check available space excluding dock
     - create window with a 10 pixels border
     - maximised mode is only 1 click away

This code is fixing only. Will review that when consensus will be found
about how we should create the window.
2004-08-01 22:28:56 +00:00
c11bb5b7ad Values for spherelight sampling were using incorrect blender lamp parameter. 2004-08-01 22:21:22 +00:00
2a749931ba - added missing py scripts to the non-sconsered NSIS installer script
- uninstall files now done semi-automatic for 'scons wininst'
2004-08-01 21:13:41 +00:00
Nathan Letwory
f1fdc6d608 Under certain circumstances a null-pointer could get dereferenced. Disabling 'dynamic' on an object was one of the situations. Now checking before using.
NULL->m_mass never works, of course :)

Ryan Showalter spotted and located the problem.
2004-08-01 09:00:36 +00:00
59765b488e Tiny tweak to the selection mouse button prefs- put the
'left mouse' button on the left side, and vice versa :)
2004-08-01 03:07:56 +00:00
d362e27fbc Script kloputils:
- translated tooltips from Spanish to English.
2004-08-01 01:07:28 +00:00
8224b1b164 - calculation of position within HSVCUBE button (picker) had wrong Y
coordinate, only noticable in Panel versions of picker

- the fix to give Transform properties new name "Paint" can't
  work with this code... this due to fact that panel positions are saved
  in files or looked up on re-open based on their names. Giving the Panel
  a new new name then causes it jump to another position, and back on end
  of painting.
  Needs to be solved in another way. Not feasible for 2.34...
2004-07-31 22:05:46 +00:00
8c1b11286c Fixed small annoyances with drawing selection circle and paint brush.
With glflush() change as committed before, updates weren't that good
anymore. Solution is actually just flipping drawing order.
2004-07-30 13:59:09 +00:00
d2a424b814 Menu item for the sequence editor properties panel wasn't
showing in some circumstances - fixed and simplified.
2004-07-30 10:53:10 +00:00
fc94d2908c Moved the drawing of size and diagonal of border select into the chunk
that draws the XOR border as well, this prevents unnecessary updates, and
makes sure all drawing uses a single glFlush()

Should solve redraw errors as reported by Goofster
2004-07-30 10:07:47 +00:00
f73d81377a Added a line in 'make release' that moves the .blender directory to the
MacOS directory.
2004-07-30 09:55:47 +00:00
7ce069850f First of all thanks Kent Mein for committing the fix to space.c and Peter den Bak for reporting and testing it.
- making Blender not warn about 2.34 scripts, as Ton requested.  Will turn this on again before release;
- small fix to the new helpwebsites and helpsystem additions in BPy_menus.c, should solve problem reported by Jean-Luc Peurière about empty menus on startup;
- updated version info of a few scripts to 2.34, since they use recently added bpython api functions.
2004-07-30 05:18:14 +00:00
4f278a78d4 python scripts are not found if they are not placed in a .blender folder
inside MacOs folder of bundle.

their previous location (ressource folder) would however be more logical.
2004-07-29 23:21:05 +00:00
c726751760 Attempt #3 (or so) to solve the "weird buggy" hardness slider updates. :) 2004-07-29 20:50:13 +00:00
cfbe0f3119 Willian's patch for enabling the menus again.
Kent
2004-07-29 19:10:52 +00:00
425cfa10eb Reflection caustics did not work, fixed.
Note to users: even when you only want reflection caustics (metals/mirrors)
you have to set a IOR value higher than 1, similar to glass materials.
The higher, the brighter the caustics.

That should be it...
2004-07-29 18:51:17 +00:00
6bcf9d5139 Panel layout tweaks courtesy of Chris 'Desoto' Burt, and
Emilie 'hmetalcowgirl' McDavid
2004-07-29 14:12:30 +00:00
295989f42a Circle select (B+B) had drawing error, a missing segment in the circle. 2004-07-29 13:57:59 +00:00
3b29759bbf And the necessary scripts. 2004-07-29 12:13:35 +00:00
28f0f2d048 Help menu!
Thanks to Willian for integrating the webbrowser module.

Some of the URLs (Python reference, Release notes) will
need to be updated upon release. These are contained in
http://www.blender3d.org/Help/index.php
2004-07-29 12:12:20 +00:00
Stephen Swaney
7ed803f6a8 some code cleanup. minor bug fixage: don't try to free null ptrs.
accidentally ran CurNurb.c thru indent utility  Doh!
2004-07-29 12:00:34 +00:00
8ccd19ec18 A hopefully less weird way of doing the selection mouse
button user preference
2004-07-29 05:03:02 +00:00
82ccbd8531 A few small language/labelling edits to these bundled
scripts
2004-07-29 03:05:39 +00:00
891b749d9f Removed an unnecessary separator in the Object/Mesh->
Scripts menus
2004-07-29 02:35:26 +00:00
91d782ece7 Fixed up the layout and language of the
View Properties Panel.

(reminder: http://www.blender3d.org/cms/Language_and_terminology.338.0.html )
2004-07-29 02:25:10 +00:00
8faca4189a First victim of the hurried work, halo spots always cast shadows.
So removed 'ray shadow' button for that case.
So what I said in the previous commit is not true, with  halo for
spots enabled, shadows are always cast, and cannot be disabled,  sorry...
2004-07-29 00:12:43 +00:00
1f9f2d66eb bug correction for bundle creation on OS X. 2004-07-28 23:45:52 +00:00
e9b0238d0c Major update, all implemented a bit in a hurry, and probably will need bugfixes at some point.
Extended the range of the depth and cdepth parameters as reqested by leope.
Bumpmapping should now be a bit more similar to the Blender render.

Added support for all remaining lightsources in yafray, tried to make use of
as much of the existing Blender parameters as possible.

Blender Lamp: added switch to enable rendering with shadowbuffer ('softlight' in yafray).
All other parameters are similar to the Blender settings, for yafray both the
bias parameter and the shadowbuffer size can be lower than equivalent Blender
settings, since the yafray buffer is floating point. Remember that 6 shadowmaps
are created in this case, so can use quite a bit of memory with large
buffer settings.
When 'ray shadow' is enabled for this lamp type, it is possible to set a light
radius to create a spherical arealight source ('spherelight' in yafray),
when this is 0, it is exported as a pointlight instead.

Blender Spot: as in Blender now supports 'halo' rendering.
Halo spots always use shadowbuffers, so when enabled the buttons for shadowmap
settings will appear. The 'ray shadow' button can still be used to disable
shadows cast onto other objects, independent of halo shadows.
One thing to remember, halo's don't work with empty backgrounds, something must
be behind the spotlight for it to be visible.

And finally, the photonlight:
probably the most confusing (as more things related to yafray), the photonlight
is not a real lightsource, it is only used as a source to shoot photons from.
Since indirect lighting is already supported (and looks better as well)
only caustics mode is supported.
So to be able to use this properly other lightsources must be used with it.
For the photonlighting to be 'correct' similar lightsettings as for the 'source'
light are needed.
Probably the best way to do this, when you are happy with the lighting setup
you have, and want to add caustics, copy the light you want to enable for
caustics (shift-D) and leave everything as is, then change the mode to
'Photon'.
To not waiste any photons, the photonlight behaves similar to the spotlight,
you can set the width of the beam with the 'angle' parameter. Make sure
that any object that needs to cast caustics is within that beam, make
the beam width as small as possible to tightly fit the object.
The following other parameters can be set:
-photons: the number of photons to shoot.
-search: the number of photons to search when rendering, the higher,
the blurrier the caustics.
-depth: the amount of photon bounces allowed, since the primary use is for
caustics, you probably best set this to the same level as the 'ray depth'
parameter.
-Blur: this controls the amount of caustics blur (in addition to the search
parameter), very low values will cause very sharp caustics, which when used
with a low photonnumber, probably lead to only some noisy specks being rendered.
-Use QMC: Use quasi monte carlo sampling, can lead to cleaner results, but also
can sometimes cause patterns.

Since the photonlight has no meaning to Blender, when using photonlights and
switching back to the internal render, the light doesn't do anything, and no
type button will be selected. The lightsource can still be selected, but unless
switching to yafray, no parameters can set.

Apologies to Anexus, I had no time to really do something with your code,
I'll still look at it later, to see if I can improve anything in my implementation.
2004-07-28 22:37:12 +00:00
fcd19e73df Change in handling of ui_do_buttip(). It doesnt use the global var, but
gets it as argument. Potential fix for windows crash
2004-07-28 21:31:26 +00:00
284b4f4e75 added correct include paths for radio.h (for msvc debug build) and removed weird local includes (c:\blender...) in BPY_python projectfile 2004-07-28 21:00:23 +00:00
268da28875 As requested; the Ramp shaders have same blending operators as were added
for texture blending.

Also made the popups for this blending stuff in more logical order.
2004-07-28 20:20:43 +00:00
6f30f4aaab - added python23.zip & zlib.pyd (bundled python modules for Win32)
provided by IanWill (thanks!)

- updated build systems to suit
2004-07-28 18:28:17 +00:00
6b1eb45dda Scripts:
- Campbell Barton updated his sel_same.py script;
- Added to Mesh scripts a call to Window.EditMode(0) to leave editmode before changing meshes.

BPython:
- small doc fixes / updates;
- added a call to undo_push_mesh inside Window.EditMode(0).

Mesh scripts could change the mesh but not the editmesh -- that would then overwrite the changed mesh.  Made all mesh scripts leave edit mode before changing a mesh.
2004-07-28 17:46:29 +00:00
d2da4f7160 - small fix for the scons 'wininst' target, plus a typo correction :) 2004-07-28 17:24:37 +00:00
bbdfacfde3 added a nice alert box when blender is run on a mac with less than 8Mb VRAM 2004-07-28 16:47:08 +00:00
7047817c36 Added crease value in NKey menu editmode 2004-07-28 16:45:00 +00:00
702b0eed4e - recommitting the installer bmp file (with the -kb option this time) 2004-07-28 16:22:04 +00:00
fe5e1301f6 - update for the win installer scripts ( added new scripts, etc ). 2004-07-28 16:19:50 +00:00
846da79887 Oops, include file belonging to previous commit...
Plus: moved particle interaction and effect buttons back to a single
Object context. The proposed solution (sub context) has workflow issues,
(adds another click (no hotkey) to view settings)
whilst almost all Object buttons nicely fit in single view still.

This was on todo since first particle commit, actually the idea was to
move particle related issues to a special sub-context, but leave the
effects themselves in the Object main menu. Splitting off Particles from
the Effect system isn't in the scope of what is feasible now.

Also note; the current panel 'particle interaction' actually should be
a generic 'forces and collision' panel, since it's also relevant for
soft body feature (WIP)... that can be changed later.
2004-07-28 15:07:35 +00:00
76616c266e Added new selection outline as option in View->View Properties panel. And
while working there added 3d cursor there as well.
I admit it isn't the best location ever, but let's do the threaded
discussions after 2.34 is out. :)
2004-07-28 13:21:27 +00:00
4f9cd88087 Removed unnecessary window-close on subsequent renders. This not only causes
delays and lotsof redraw events for the desktop, it also made it impossible
to drag a renderwindow to a desired position.
Now it only re-opens on render size changes. Maybe enables to have the
window permanent on 2nd monitor for extended desktops?

Note; the 'pref position' preset in F10 still works, but only on window
open of course.
2004-07-28 12:47:50 +00:00
11ec0170cf Both transparent render and Unified render now behave with old speed
again. Use raytraced material, or set the "full Osa" option if you
like slow rendering, but with nice specular/shading/texture AA.
2004-07-28 12:27:28 +00:00
95eb490d0d fix for #1479
Caused by commit Kester 7 weeks ago, adding sound actuator always crashes
when no sounds have been loaded. He forgot to put a MEM_Free within the
brackets. :)
2004-07-28 10:01:22 +00:00