Kester Maddock [Sun, 23 Jan 2005 01:36:29 +0000 (01:36 +0000)]
Added Joystick sensor (from snailrose)
Kester Maddock [Sat, 22 Jan 2005 23:46:54 +0000 (23:46 +0000)]
Don't fail on mesh objects with no faces.
Willian Padovani Germano [Sat, 22 Jan 2005 02:48:03 +0000 (02:48 +0000)]
BPython:
- Stephane Soppera added long missed support for edge data in Blender.NMesh + related doc;
- Michael Reimpell improved script registration (fixes bug report #2160) and the file and image selectors in Blender.Window (improved with suggestions from Yann Vernier). They now suppport methods as callbacks;
- World.get/setMode were not registered, so could not be directly called (reported by Ken Hughes). Still needs some work to improve things, including docs.
Scripts:
- Jean-Michel Soler updated his texture baker based on input from Appolux;
- Campbell and Jean-Michel improved the bvh importer: faster, better float units scaling (by Campbell); supports Poser 3.01 files (by jms).
Thanks guys!
Kent Mein [Fri, 21 Jan 2005 17:50:11 +0000 (17:50 +0000)]
fixed animations using jpeg (bug # 2166)
Basically the deal was on the last fix (multiple opens/closes to a filehandle)
I changed the return values to match other image formats 0=fail and 1 = good
(was 1=fail 0=good before)
I Didn't update the animation code to see this so it was
thinking the first frame failed because it was looking for the old return code.
Kent
Rob Haarsma [Fri, 21 Jan 2005 14:48:03 +0000 (14:48 +0000)]
Modified interface texture font support, which should work nicely with the freshly added bFTGL library.
Also removed some redundant #include's on some files.
Rob Haarsma [Fri, 21 Jan 2005 14:43:21 +0000 (14:43 +0000)]
Modified FTGL for proper texturefont support.
Also fixed msvc6 (release only) projectfile to build and output correctly.
Kent Mein [Fri, 21 Jan 2005 13:02:14 +0000 (13:02 +0000)]
Added some extra comments about creating a new image format.
Kent
Ton Roosendaal [Fri, 21 Jan 2005 12:46:59 +0000 (12:46 +0000)]
Bug fix 2116
Area lights with "Noise" dithering only worked for first area light, the
other ones then used wrong table... bug since area lights are in blender.
Ton Roosendaal [Fri, 21 Jan 2005 11:07:35 +0000 (11:07 +0000)]
Bug 2162
Current cvs bug; the texture 'crop' lines were not drawn using correct
Panel/Window transform. Simple fix.
Kent Mein [Fri, 21 Jan 2005 05:15:33 +0000 (05:15 +0000)]
Added bFTGL to extern and updated the Makefiles. I'm guessing there will
need to be tweaks but it seems to work on my linux box. I haven't
touched any of the other build systems so those will need to be done.
We probably don't need all of this stuff but I figured better to add a little
too much then to little.
Kent
Ton Roosendaal [Thu, 20 Jan 2005 10:33:11 +0000 (10:33 +0000)]
Reading .blend from runtime closed file handle twice... seemed to crash in
windows? Weird, was a commit from april last year (Nathan) and nobody has
reported errors. (bug report 2155)
Rob Haarsma [Wed, 19 Jan 2005 13:53:43 +0000 (13:53 +0000)]
Added experimental option to use GL textured interface fonts.
Set preferred method in userprefs->language & font.
Kinda requested by Kaito, i'm sure he regrets after seeing
my code changes.
This commit includes a patch provided by Jacques Baurain,
which seemed nescessary to handle font sizing properly.
Thank you !
Kent Mein [Wed, 19 Jan 2005 13:01:49 +0000 (13:01 +0000)]
Melchior FRANZ's patch to allow the normal +- to work with border select.
Currently it doesn't conflict with anything and I think it makes sense.
Kent
Kent Mein [Wed, 19 Jan 2005 12:53:47 +0000 (12:53 +0000)]
Jacques patch to get things compiling on windows.
basically it returns NULL for two functions that had their entire body
commented out.
Kent
Ton Roosendaal [Tue, 18 Jan 2005 18:31:18 +0000 (18:31 +0000)]
Using halo (particle) render with OSA and gauss had error.
Removed it in OSA from special thread loop now, making it unthreaded but
render OK. Main reason; subpixel-based adding with gauss doent work
for halos yet.
Unified render does that though, but result is just filter, no real
subpixel.
Ton Roosendaal [Tue, 18 Jan 2005 15:22:42 +0000 (15:22 +0000)]
Render lens flare works again. Didn't work due to wrong value for zbuffer
passed on (zbuffer values changed with previous commit)
Also fixed previewrender for lens flare.
Kent Mein [Tue, 18 Jan 2005 14:17:44 +0000 (14:17 +0000)]
The non scons specific stuff for bug tracker bug #2131
Basically removed #include <iostream.h>
from some files that didn't need it (and I'm assuming it caused problems)
I'll leave the scons stuff for someone else to look at since I don't really
use it.
Kent
Kester Maddock [Mon, 17 Jan 2005 11:02:44 +0000 (11:02 +0000)]
Use the default windows assert for VisualC
Update Scons
Stephen Swaney [Sun, 16 Jan 2005 17:59:23 +0000 (17:59 +0000)]
remove gcc compiler error using -pedantic flag:
comma at end of enumerator list
If this change causes problems, feel free to back it out.
I am trying to get gcc to complain about mixed declarations and
code since that breaks on platforms that only support C89/C90.
Simon Clitherow [Sun, 16 Jan 2005 17:40:59 +0000 (17:40 +0000)]
Fixed #define for snprintf on win32
Simon Clitherow [Sun, 16 Jan 2005 15:42:22 +0000 (15:42 +0000)]
Added new files to VC6 project (KX_PolygonMaterial.cpp | h)
Ton Roosendaal [Sun, 16 Jan 2005 11:29:44 +0000 (11:29 +0000)]
Fix for bug #2152
Using File->Save Image menu didn't work while Stars were drawn... the used
method to save an image (mainqenter F3 key) is a bit awkward anyway, so
replaced with proper BIF_xxx call.
Reason for mainqenter not to work was RE_draw_stars() function calling
a blender_test_break(), swallowing queue events. Very bad and need review.
Small tweak in previewrender; preview type Cube now displays texture
coordinates better (it showed a bit too much)
Kester Maddock [Sun, 16 Jan 2005 06:27:12 +0000 (06:27 +0000)]
Add an Python Material example
Kester Maddock [Sun, 16 Jan 2005 06:02:06 +0000 (06:02 +0000)]
Unified KX_BlenderPolyMaterial & GPC_PolygonMaterial into KX_PolygonMaterial.
Make game engine materials use Zoffs in Materials.
Added Python material hooks.
Kester Maddock [Sun, 16 Jan 2005 05:55:04 +0000 (05:55 +0000)]
Added getDistanceTo Python method (thanks Charlie C)
Kester Maddock [Sun, 16 Jan 2005 04:28:55 +0000 (04:28 +0000)]
Advanced MT_assert macro.
It will attempt to break into the debugger instead of aborting the program. On Windows you have a nice MessageBox function, so you can choose to break, ignore, or permanently ignore the assert.
Rob Haarsma [Fri, 14 Jan 2005 17:35:24 +0000 (17:35 +0000)]
Made Suzanne speechless again... what was i thinking.
Willian Padovani Germano [Thu, 13 Jan 2005 19:19:05 +0000 (19:19 +0000)]
BPython:
- Added Blender.UpdateMenus() + doc: so scripts can automatically update Blender menus when they create (or download or whatever) new scripts to be registered.
- Removed a long deprecated function from the Blender module (release dict).
Matt (broken) mentioned the UpdateMenus function a couple weeks ago. I also updated the Save Current Theme script to use it. This is all related to his ideas to use scripts to save and restore themes and e.g. render presets.
Kent Mein [Thu, 13 Jan 2005 13:58:29 +0000 (13:58 +0000)]
Did some checking to make sure a variable exits before trying to use it.
(Submitted by Vidarino on irc)
I also cleaned up a couple of warnings in the file.
Kent
Stephen Swaney [Thu, 13 Jan 2005 03:42:53 +0000 (03:42 +0000)]
New methods: Curve.isCyclic(), CurNurb.isCyclic() for checking if curve is cyclic ( closed ). Both methods are boolean.
Patch contributed by Toni Alatalo. Thanks.
Willian Padovani Germano [Thu, 13 Jan 2005 03:04:12 +0000 (03:04 +0000)]
BPython:
- patch by Jonathan Merritt: new function Blender.Draw.Image() + its doc;
- patch by Campbell Barton: .users attribute for many types;
- tiny internal change in nmesh.hasVertexUV() method.
Thanks to Jonathan and Campbell for the patches and the patience!
Brecht Van Lommel [Wed, 12 Jan 2005 23:57:33 +0000 (23:57 +0000)]
Softbody commit broke compilation of blenderplayer. There was a dependancy
from blenkernel/ to src/. Moved the offending functions to blenkernel...
Jens Ole Wund [Wed, 12 Jan 2005 22:28:13 +0000 (22:28 +0000)]
big softbody commit
some vertex group , weight painting stuff too
/me crosses fingers it does not break anything
Rob Haarsma [Wed, 12 Jan 2005 12:25:56 +0000 (12:25 +0000)]
Let's keep Blender a monkey app.
Rob Haarsma [Wed, 12 Jan 2005 11:03:25 +0000 (11:03 +0000)]
RGBA Quicktime movies give codec compression crashes on OSX.
Reverting Quicktime export to ARGB for both OSX and Windows to
keep some consistency on Blender's output.
Rob Haarsma [Wed, 12 Jan 2005 10:34:05 +0000 (10:34 +0000)]
Trying to make RGBA Quicktime movies on OSX, instead of ARGB.
Rob Haarsma [Wed, 12 Jan 2005 10:18:47 +0000 (10:18 +0000)]
Reverting Quicktime movie export method for OSX.
Kent Mein [Tue, 11 Jan 2005 15:07:06 +0000 (15:07 +0000)]
make release
Now copies over gameplayer if it was build durring the make.
Kent
Ton Roosendaal [Tue, 11 Jan 2005 13:06:21 +0000 (13:06 +0000)]
bug fix #2118
Rendering wire didnt work;
- for edges that are not in face, with subsurf on
- same for new Edges block, subsurf or not
Ton Roosendaal [Tue, 11 Jan 2005 12:14:45 +0000 (12:14 +0000)]
Bug fix #2061
On exit editing mesh being linked multiple times, and other object-users have
a deform, the displists were not recalculated.
Rob Haarsma [Tue, 11 Jan 2005 10:58:58 +0000 (10:58 +0000)]
Improved functionality for Quicktime movie export.
Exporter now uses less memory and might be a little faster.
Needs tesing on OSX, there might be RGBA endian issues.
Roel Spruit [Mon, 10 Jan 2005 18:17:41 +0000 (18:17 +0000)]
Bug #2119
The Separate option was missing from the toolbox and headermenu for curves,
Added it to both.
First commit in a loooooooooong time, have to start with something small ey ;)
Roel
Kent Mein [Mon, 10 Jan 2005 16:22:40 +0000 (16:22 +0000)]
This is for bug # 2068
I standarized the returns on a failed opening of the output file for
the above image formats.
I also cleaned up a couple of warnings.
Kent
Ton Roosendaal [Mon, 10 Jan 2005 12:34:39 +0000 (12:34 +0000)]
Somehow in 2.3x the file window collum display got cancelled. It even
pretended to be a user-preset, which it isnt yet.
Brought back collum display and wait for severe complaints to have it as
option in user settings. :)
Alejandro Conty Estevez [Sun, 9 Jan 2005 21:53:50 +0000 (21:53 +0000)]
border render support through plugin. Working with current yafray CVS version
Ton Roosendaal [Sun, 9 Jan 2005 14:28:18 +0000 (14:28 +0000)]
Mixup of vectors in VecAngle3 (caused by me switching order of args!)
Resulted in wrong angle display, especially in trias
Ton Roosendaal [Sun, 9 Jan 2005 13:36:14 +0000 (13:36 +0000)]
Different integer overflow test for zbuffering, this due to mist+wire bug
that seems not to be solved on intel platforms.
Previously, a positive signed integer overflow addition was checked by
assuming it to become negative. Now it checks 'safe' with this version:
if(vergz > 0x7FFFFFF0 - dz) vergz= 0x7FFFFFF0;
else vergz+= dz;
Reason why using signed ints is cumbersome... overflows for unsigned are
much easer to find.
Kester Maddock [Sun, 9 Jan 2005 00:06:45 +0000 (00:06 +0000)]
Fix bug #2006:
Floating point imprecision made MT_Quaternion::angle return NaN, since acos(x) is NaN for |x| > 1.
Because of the way NaN's propagate through float math, the view pos would be set to [NaN, NaN, NaN] resulting in a grey screen.
Jiri Hnidek [Sat, 8 Jan 2005 23:31:04 +0000 (23:31 +0000)]
- correct position of "Edge Angles" and "Face Area" in button window
Ton Roosendaal [Sat, 8 Jan 2005 21:16:24 +0000 (21:16 +0000)]
The "teac" (measurement info) patch from Campbell Barton
Cleaned code somewhat (half the size!) and applied some changes:
- made it compatible with selection flags for new mesh editing (edge/face)
- renamed 'face angles' to 'edge angles' and made it display angles for
2 selected edges too
- removed the confusing convention that always drawed the info if one
of the vertices of edge/face/angle was selected. now it only displays on
minimum of 1 full edge or face selected.
- made it react to "zbuf occluded selection" option (for zbuffered text)
- made it also colorize text for white theme color (TH_TEXT)
On larger meshes this info still draws very confusing. The idea of displaying
the info on 1 vertex selected was probably to show values while grabbing,
although that didnt really work for angles. One idea could be, for transform,
that it draws all lenghts/angles/areas that get changed during transform
All in all, still useful addition tho!
Ton Roosendaal [Sat, 8 Jan 2005 14:45:58 +0000 (14:45 +0000)]
Star halos still used old fashioned byte colors, instead of nice floats :)
Reason for them to show wrong.
Ton Roosendaal [Sat, 8 Jan 2005 14:22:27 +0000 (14:22 +0000)]
Fix for commit of yesterday, where wire render + mist was solved.
Had moved normalizing the view vector just a couple of lines to much...
causing OSA vectors to be calculated wrong, and image texture to show
much to filtered (nearly invisible)
Ton Roosendaal [Sat, 8 Jan 2005 13:50:44 +0000 (13:50 +0000)]
Bug fix #2113
A series of hide/reveil in editmode didn't result in identical selection
always, except in face mode. current method works in all modes, including
mixed (face+edge for example)
Ton Roosendaal [Sat, 8 Jan 2005 13:15:43 +0000 (13:15 +0000)]
- Added warning print and return in glaDrawPixelsSafe when zoom level
exceeds window (glScissor) size. Apparently zooming in on one single
pixels larger than a window isn't well supported.
- Moved drawing of editmode objects to 2nd loop in drawview.c, this
makes sure draw-extra wire is always visible correctly
Ton Roosendaal [Fri, 7 Jan 2005 22:17:56 +0000 (22:17 +0000)]
Added push/pop matrix for 3d window + new agl draw pixels
Ton Roosendaal [Fri, 7 Jan 2005 21:48:25 +0000 (21:48 +0000)]
Should have done ages ago!
This commit replaces the glDrawPixels and rectwrite_part with the very
nice (thanks zr!) glaDrawPixelsSafe() call. Result is:
- 3d window background image displays correctly onto the edges when
zoomed in extreme
- same for UV image window and sequence preview
- preview render now doesnt disappear when left part is outside window
(zr also deserves kick in butt for not doing this himself in NaN days!)
Especially from preview drawing quite some old hacks were deleted. It is
even quite some faster.
Please notify me when it doesnt work on your card... this now is just 100%
according opengl guidelines though :)
Also fixes bug #2100
Ton Roosendaal [Fri, 7 Jan 2005 18:29:54 +0000 (18:29 +0000)]
Bugfix #2048
Object "time" ipo was evaluated before it applied offset for field and
motion blur. Should be after! (ancient one)
in buttons_editing.c: removed sound include file
Ton Roosendaal [Fri, 7 Jan 2005 18:07:13 +0000 (18:07 +0000)]
Bug fix #2104
When using Sequencer for Alpha-Over images, it was assuming "Key" alpha by
default, and converting images to "Premul" (= multiplying RGB with alpha).
This isn't very nice, also because alpha generated by MBlur in Blender
always is of type Premul already.
Solution; make this an option. In the Nkey panel for strips you can set
or disable Premul now. As extra also added the "Filter" and "Mul" options,
as already there for Movie strips. Can easily be extended to more options
for various postprocess effects.
Ton Roosendaal [Fri, 7 Jan 2005 15:40:57 +0000 (15:40 +0000)]
Fixed signed/unsigned conversion for zbuffer (note; zbuf is signed int!)
Ton Roosendaal [Fri, 7 Jan 2005 14:51:55 +0000 (14:51 +0000)]
Fix for 2098
The directory where the last file was saved (in .Blog) wasnt added to the
history menu in the FileWindow when using CTRL+O for example. For
convenience, it now alwyas adds this directory to the end of default
history menu, so you can always jump back while browsing in filewindow.
Ton Roosendaal [Fri, 7 Jan 2005 14:37:25 +0000 (14:37 +0000)]
Bug fix 2107: RGB and brightness/contrast for preview render image texture
didnt work (commented out line, current WIP)
Ton Roosendaal [Fri, 7 Jan 2005 14:11:00 +0000 (14:11 +0000)]
Another round of cleanups for render code;
- removed ugly pointerhack from OSA render (negative indices denoted
pointers). this should solve memory errors when using >1.5 gig mem
- cleaned up usage of zbuffer values. These are signed in Blender, and
treated as unsigned all over, giving confusing code
- fixed incorrect gamma-adding for halos (caused in after xmas commit)
And bugfix #2101; wire render didn't give correct rendering for mist.
This caused by fact wires are 2D pixel lines, and not correctly filled
in faces. Retrieving the 3d coordinate while render cannot use a face-
equation then. Solved by retrieving 3D coordinate based on zbuffer value.
Still todo here: calculating correct texture coordinates for wire-edges
that are no faces.
Stephen Swaney [Fri, 7 Jan 2005 01:38:14 +0000 (01:38 +0000)]
bugfix: #2093 Ipo.addCurve() adds curves of undefined type
added some error checking and did a little cleanup.
still more to be done.
Jiri Hnidek [Thu, 6 Jan 2005 21:27:53 +0000 (21:27 +0000)]
- added some items to the MetaBall menu in view3d header
- Snap menu
- Transform menu
- Transform Properties
- correction of some typo in drawview.c
Kent Mein [Wed, 5 Jan 2005 17:32:15 +0000 (17:32 +0000)]
Had to add a circular dependancy fix for debugging version of blenderplayer
on linux:
I added this after the yafray library.
COMLIB += $(OCGDIR)/blender/blenlib/$(DEBUG_DIR)libblenlib.a
Kent
Ton Roosendaal [Wed, 5 Jan 2005 10:31:27 +0000 (10:31 +0000)]
Bugfix #2095
When loading a file with linked external scene, and that external scene
didnt exist anymore, and that scene was active in the file -> crash!
Render code; changed to use local 'puno' flag for threaded render.
Rob Haarsma [Wed, 5 Jan 2005 10:27:48 +0000 (10:27 +0000)]
Bugfix #2094
Modified language code for Polish translation.
Corrected by Piotr Kiec, the polish translator. Thanks!
Jiri Hnidek [Wed, 5 Jan 2005 08:28:32 +0000 (08:28 +0000)]
- small changes of buttons in MetaBall and MetaBall tool panels
Kent Mein [Tue, 4 Jan 2005 14:34:28 +0000 (14:34 +0000)]
Requested by Stephane SOPPERA,
Made NMESH_SUBDIV_MIN 0 instead of 1 so NMesh is like the gui...
Kent
Jiri Hnidek [Mon, 3 Jan 2005 20:49:02 +0000 (20:49 +0000)]
- all snap operations work for MetaElems now
- snap to center creates displist for subsurf mesh
Ton Roosendaal [Mon, 3 Jan 2005 20:02:55 +0000 (20:02 +0000)]
Thread render fix; using ray-transp + mirror didnt work...
the face-normal had to be local too...
Kent Mein [Mon, 3 Jan 2005 19:53:04 +0000 (19:53 +0000)]
This is a pretty lame commit but here it is:
I just fixed indentation (replaced spaces with tabs where needed) and removed
#include config.h stuff from the above files.
Kent
Ton Roosendaal [Mon, 3 Jan 2005 18:30:58 +0000 (18:30 +0000)]
Bug #2083
Rendering in parts, and ESC from render, didn't check for not-rendered
parts yet. (due to recode of parts stuff)
Kent Mein [Mon, 3 Jan 2005 18:05:24 +0000 (18:05 +0000)]
More warning cleanups...
added a casts to:
blender/blenlib/intern/BLI_memarena.c
gameengine/Rasterizer/RAS_TexVert.cpp
Removed unused vars from:
blender/python/api2_2x/vector.c
gameengine/Ketsji/KX_PyMath.cpp gameengine/Ketsji/KX_Scene.cpp
gameengine/Physics/Sumo/Fuzzics/src/SM_Object.cpp
gameengine/Rasterizer/RAS_FramingManager.cpp
gameengine/Rasterizer/RAS_Polygon.cpp
gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_VAOpenGLRasterizer.cpp
Kent
Kent Mein [Mon, 3 Jan 2005 17:57:16 +0000 (17:57 +0000)]
Some of the Makefiles had CPPFLAGS += LEVEL_(X)_C_WARNINGS
I changed them so that they have CPPFLAGS += LEVEL(X)_CPP_WARNINGS
instead.
Kent
Ton Roosendaal [Mon, 3 Jan 2005 15:22:44 +0000 (15:22 +0000)]
Bug fix 2054
Alpha for halos was always added, even when "Add" slider was zero. Fixed.
(also; made BROW define BROW16, to distinguish from int version in
BKE_utildefines.h)
Ton Roosendaal [Mon, 3 Jan 2005 14:45:54 +0000 (14:45 +0000)]
Bug #2053
For normal maps only:
Slider for "nor" mapping in "Map to" panel allowed values for over 1.0 in
preview render (not for render itself, causing confusement).
Ton Roosendaal [Mon, 3 Jan 2005 14:17:33 +0000 (14:17 +0000)]
Bug fix 2047
FileWindow didnt sort the dirs "." and ".." correctly. Now these two are
always first.
Ton Roosendaal [Mon, 3 Jan 2005 13:40:11 +0000 (13:40 +0000)]
Fix proposed by Brecht; on redraw events to renderwindow, it sets back
the active main window, if that was active before.
We need to track down how to solve this more definite... for example, the
"make active" window command can also pop window to front.
Ton Roosendaal [Mon, 3 Jan 2005 13:13:40 +0000 (13:13 +0000)]
Small fixes;
- zbuf; error caused by using unsigned int as counter (while >= 0) in radio
- backbuffer didnt load in initrender (was removed from sky render)
- unitialized variable in envmap.c
Jean-Luc Peurière [Sun, 2 Jan 2005 16:35:48 +0000 (16:35 +0000)]
update to scons for Ton SDL threads
Simon Clitherow [Fri, 31 Dec 2004 10:48:42 +0000 (10:48 +0000)]
Small fix:
- if object mode && G.vd==OB_TEXTURE, drawing mesh objects did not check
object's max drawtype (ie. dt).
Martin Poirier [Thu, 30 Dec 2004 05:48:36 +0000 (05:48 +0000)]
Bug #2073: Red value used instead of Green for World sky (render and preview).
Ton will probably have a good laugh when he'll see what the error was. ;)
Kester Maddock [Thu, 30 Dec 2004 03:08:34 +0000 (03:08 +0000)]
Fix loading of non-packed sounds for Linux.
Alfredo de Greef [Thu, 30 Dec 2004 01:34:42 +0000 (01:34 +0000)]
If YFexport directory is not set, it will now attempt to use the temp directory.
(/tmp or $TEMP for win.)
Probably too early still, but now in plugin mode the floatbuffer will be used too,
including postprocessing.
Martin Poirier [Wed, 29 Dec 2004 20:44:54 +0000 (20:44 +0000)]
Object Constraints weren't relinked correctly when duplicating both the target and the owner.
Bug since 2.35.
Was lost when bug #1307 was fixed in this commit: http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editobject.c.diff?r1=1.121&r2=1.122&cvsroot=bf-blender&diff_format=h
This doesn't seem to bring back the bug (copy full scene didn't update links in constraints).
Simon Clitherow [Wed, 29 Dec 2004 17:04:14 +0000 (17:04 +0000)]
Bug fix #2056:
Material texture channels 9 & 10 could not be deactivated.
Code used a char instead of a short as flag for this.
Kester Maddock [Wed, 29 Dec 2004 01:39:34 +0000 (01:39 +0000)]
PyDoc updates
Kester Maddock [Wed, 29 Dec 2004 01:34:07 +0000 (01:34 +0000)]
Make Python Matrix/Vector conversions more robust
Kester Maddock [Wed, 29 Dec 2004 01:33:15 +0000 (01:33 +0000)]
Python methods for camera actuators (thanks snailrose)
Kester Maddock [Wed, 29 Dec 2004 01:31:17 +0000 (01:31 +0000)]
Set the sound system listener properties.
Kester Maddock [Wed, 29 Dec 2004 01:27:09 +0000 (01:27 +0000)]
Set the listener properties correctly.
Matt Ebb [Tue, 28 Dec 2004 05:38:56 +0000 (05:38 +0000)]
Simple one - update the selected vertex count after doing a vertex
loop select (Alt B)
Reported by Gimble
Ton Roosendaal [Mon, 27 Dec 2004 22:57:19 +0000 (22:57 +0000)]
And a first threading fix; mist render still used a R global for storage.
caused very bad stripes in render.
Martin Poirier [Mon, 27 Dec 2004 21:05:39 +0000 (21:05 +0000)]
MSVC 6.0 Projectfiles changes to fit Ton's commit.
Added new file to BRE_Render and include paths for SDL includes.
Removed deleted files.
Ton Roosendaal [Mon, 27 Dec 2004 20:58:40 +0000 (20:58 +0000)]
Removed include render.h
It *should* be there, but its a bad-level-include. The bad_level_calls.h
makes it compiling nice, but that wasnt the purpose.
Error is in the winstuff.h in render.h most likely
Ton Roosendaal [Mon, 27 Dec 2004 20:02:27 +0000 (20:02 +0000)]
Some weird CVS $id tag line got added on wrong place...?
Ton Roosendaal [Mon, 27 Dec 2004 19:28:52 +0000 (19:28 +0000)]
Biiig commit! Thanks to 2-3 weeks of cvs freeze...
Render:
- New; support for dual CPU render (SDL thread)
Currently only works with alternating scanlines, but gives excellent
performance. For both normal render as unified implemented.
Note the "mutex" locks on z-transp buffer render and imbuf loads.
- This has been made possible by major cleanups in render code, especially
getting rid of globals (example Tin Tr Tg Tb Ta for textures) or struct
OSA or using Materials or Texture data to write to.
- Made normal render fully 4x32 floats too, and removed all old optimizes
with chars or shorts.
- Made normal render and unified render use same code for sky and halo
render, giving equal (and better) results for halo render. Old render
now also uses PostProcess options (brightness, mul, gamma)
- Added option ("FBuf") in F10 Output Panel, this keeps a 4x32 bits buffer
after render. Using PostProcess menu you will note an immediate re-
display of image too (32 bits RGBA)
- Added "Hue" and "Saturation" sliders to PostProcess options
- Render module is still not having a "nice" API, but amount of dependencies
went down a lot. Next todo: remove abusive "previewrender" code.
The last main global in Render (struct Render) now can be re-used for fully
controlling a render, to allow multiple "instances" of render to open.
- Renderwindow now displays a smal bar on top with the stats, and keeps the
stats after render too. Including "spare" page support.
Not only easier visible that way, but also to remove the awkward code that
was drawing stats in the Info header (extreme slow on some ATIs too)
- Cleaned up blendef.h and BKE_utildefines.h, these two had overlapping
defines.
- I might have forgotten stuff... and will write a nice doc on the architecture!
Alejandro Conty Estevez [Wed, 22 Dec 2004 22:38:06 +0000 (22:38 +0000)]
Multi-cpu support in yafray is back. This is a small fix to pass the
number of processors to yafray through plugin too. Will work with current
CVS yafray code. Now at p.b.org. Needs testing with a real multicpu machine.
Ton Roosendaal [Wed, 22 Dec 2004 20:30:13 +0000 (20:30 +0000)]
Another last minute bug... (thanks aphex)
Add text, TAB, CTR+Z, TAB -> crash... :/
Just forgot 1 if()... was there for weeks! So...