07f294cf4aFix ATI texture performance under Linux. glGenTexturesEXT(1, &bind); // produces bind == 0 while: glGenTextures(1, &bind); // produces bind correctly. (Ported from tuhopuu2)
Kester Maddock
2004-07-16 00:05:20 +00:00
f7a4b6f1d7Shadow buffer render wasn't corrected yet for OSA reconstruction of long ago... samples where offsetted half a pixel, causing banding in render.
Ton Roosendaal
2004-07-15 20:03:35 +00:00
ce51ed822dMake sure that the hex value is checked as a hexvalue. On some systems this was apparently a problem.
Nathan Letwory
2004-07-15 17:47:43 +00:00
700d9c5559This adds two modes to the 'around' drop down in 3d header
Johnny Matthews
2004-07-15 17:42:04 +00:00
665a2f8fddOops. Forgot to restore setlinestyle(0); after drawing the dotted grid.
Alexander Ewering
2004-07-15 16:40:01 +00:00
8483a1951dThis should have been fixed long ago ... create important directories using 'mkdir -p' to avoid errors with fresh builds.
Chris Want
2004-07-15 15:06:54 +00:00
f25b0df751Commit for the 4 aforementioned "features":
Alexander Ewering
2004-07-15 13:31:18 +00:00
3dbd149de2* on OS X the 'blender$PROGSUFFIX' caused problems due to SCons expanding it too late. This is now fixed by manually setting target to 'blender'
Nathan Letwory
2004-07-15 08:26:17 +00:00
8fb5fc0594work on mcvc6 projects add unwrapper.c to BL_src in opennl create project/workspace to build modify blender. to link to blender_ONL.lib add ",..\..\..\lib\windows\opennl" to libpath add ",..\..\..\lib\windows\opennl\debug" to libpath for debug add opennl project to intern workspace .. adjusting dependancies
Jens Ole Wund
2004-07-14 20:57:38 +00:00
738c7e8b29workspace and project to make opennl
Jens Ole Wund
2004-07-14 20:55:20 +00:00
04408c3d76* the clean target was doing some strange dependency stuff, so I changed that. As a bonus, it doens't read the SConscripts anymore, but just deletes the directories with object files. I leave the signature databases, since deleting them tended to give warning messages on subsequent runs.
Nathan Letwory
2004-07-14 20:55:17 +00:00
beba40c16fworkspace with opennl included
Jens Ole Wund
2004-07-14 20:52:41 +00:00
9905d1c68dRewound changes done in alpha calculus for texturemapping. This worked OK for alpha coming from antialising (rendered) but failed to do in other situations (alpha as blending, painted in gimp)
Ton Roosendaal
2004-07-14 18:18:21 +00:00
09cda2e74b* use sys.exit() instead of exit() * scons clean -> does a quick(er) clean. No need to think, just scons clean (it removes all content of root_build_dir)
Nathan Letwory
2004-07-14 18:14:49 +00:00
ef8254d05f* Tell compilers they really need Python 2.3 when trying to SCons it all.
Nathan Letwory
2004-07-14 17:26:04 +00:00
512fc1d594The blenderbuttons file with EFFECT icon
Ton Roosendaal
2004-07-14 15:37:49 +00:00
a2f9523780* the installer script so you can do 'scons wininst' (on win32 only, of course)
Nathan Letwory
2004-07-14 14:13:20 +00:00
80dc492a5e* rewrote part of the targets code * added 'scons wininst'. This will create a NSIS installer for blender. This will need the NSIS tool in your path (makensis.exe). The needed scriptfile will be committed seperately, so remember to 'cvs update -d'
Nathan Letwory
2004-07-14 14:10:39 +00:00
9510c97833cache_size yafray parameter calculation changed to sync with current yafray cvs code. Now given in screen coords (-1,+1)x(-1,+1)
Alejandro Conty Estevez
2004-07-14 10:20:56 +00:00
7a04f91f32* the default 'scons' process now just builds Blender, but does no packaging, zipping or tarballing * 'release' must be explicitely given as target to get all nicely wrapped up
Nathan Letwory
2004-07-14 06:09:29 +00:00
21520c6c14- updated VC6 project files for SOLID - blender now links with the static solid lib.
Simon Clitherow
2004-07-13 21:52:23 +00:00
13d4c0a5fbLSCM: Fixed a bug where the projection axis for the initial solution was wrong, causing the solution to collapse into one point. Made packing denser (by reducing the padding between face groups).
Brecht Van Lommel
2004-07-13 20:53:51 +00:00
419e5a6a0bRemoved VECADD and VECSUB, are in utildefine.h now
Ton Roosendaal
2004-07-13 20:39:32 +00:00
b64afb526aRemoved some testcode from yafray_Render.cpp Added the missing anti-aliasing pixel filter size and threshold parameters for manual AA control (disable 'Auto AA' button). Added support for yafray raytraced depth-of-field. Added extra panel for Camera in edit window to edit dof paramaters. The actual focus point will be drawn as a cross when camera 'ShowLimits' is enabled, similar to the aqsis code in tuhopuu.
Alfredo de Greef
2004-07-13 19:22:41 +00:00
bf8c3e2020* colon after def printadd() added to have correct and running python again :) (sorry, must've been subconsious spasm) * made the build not depend on blenderplayer, so that it continues even when you have not the blenderplayer enabled
Nathan Letwory
2004-07-13 19:10:34 +00:00
c0ead4a6d9* UNWRAPPER define in blenkernel for * updates to have blender link with opennl
Nathan Letwory
2004-07-13 18:27:40 +00:00
d906c3c34b* add opennl and superlu to intern project
Nathan Letwory
2004-07-13 18:25:44 +00:00
9f8eea7882* Added a release target to SConstruct -> 'scons release': - after building blender and blenderplayer an archive is created in bin/ containing all necessary files - you'll need now python2.3 or newer for SConstruct to go through correctly. This is not a problem, since Blender requires python2.3 now anyway. - the release target has been done for linux, win32 and os x, other platforms get a warning message after blender has been built, just no package. See warning message for instructions - for linux, osx and win32 the blenderplayer target has been enabled for default - the build is logged to build.log for all platforms except win32. If you want it, you'll need tee.exe from http://unxutils.sf.net in your path (I put it in C:\\windows) and change the first if check in the SConstruct accordingly
Nathan Letwory
2004-07-13 17:01:58 +00:00
4a13a5720dAck! Fixed something without testing... this broke updates for numbuts in picker.
Ton Roosendaal
2004-07-12 21:40:41 +00:00
ab200e3f92This commit add the clock wipe effect to the sweep menu in the sequence editor
Johnny Matthews
2004-07-12 17:59:42 +00:00
f32b8e6b7fadded support for ortho camera (needs yafray from cvs) When using xml export, yafray will now render the alpha channel as well when 'RGBA' button in blender is enabled (Plugin does this automatically). In plugin code, fixed smooth shading bug for non-mesh objects. Relative paths for textures are now recognized (plugin & xml). Fixed problem with duplicate objects (plugin & xml). Really old bug, sun position is now correct (plugin & xml). World background now can also be a regular image texture (jpeg & tga), but for now always assumes spheremapping, which is not the same as Blender either. In yafray the texture is assumed to be a full 360 (panorama type) map. convertBlenderScene.c cleanup, the identity transform 'hack' is removed. THIS AFFECTS ALL EXTERNAL RENDERERS (Aqsis and others) WHICH RELY ON THE RENDERDATA OUTPUT, VERTICES AND LAMPCOORDINATES/VECTORS NOW NEED TO BE TRANSFORMED BACK TO WORLD COORDINATES. See yafray plugin/export code.
Alfredo de Greef
2004-07-12 03:20:31 +00:00
84b399364c* Fixed action conflict (win32): When also enabling the blenderplayer there would be a action conflict for the resource building.
Nathan Letwory
2004-07-11 20:14:54 +00:00
612eb7c193- Simple optimizing for deflected (collision) particles. It now caches transformation (from vertex -> world space), used defines for vecadd and vecsub, and intersects quads more efficient. Result is about 2 times faster.
Ton Roosendaal
2004-07-11 13:17:03 +00:00
6b092cf8adTiny cleanup in call for glBitmap. Don't see any error in using it for drawing vertices... on OSX this works 100%, also in zbuffer mode and with transparent faces. Code is simple enough for a linuxer to further test!
Ton Roosendaal
2004-07-11 08:46:26 +00:00
44a99d2596Some tiny dialog message cleaning for easier scan-reading.
Matt Ebb
2004-07-11 04:44:50 +00:00
107e0c5036Forgot to include glutil.h
Ton Roosendaal
2004-07-10 21:44:45 +00:00
eac4e86539Long on the todolist: a patch to have pointsize working on systems that don't have them larger than 1, since vertices are drawn with it.
Ton Roosendaal
2004-07-10 21:35:17 +00:00
d5272c665fAdded B_NOP to events buttons on wipe type effects panel.
Johnny Matthews
2004-07-10 20:19:53 +00:00
2a2a800da4Small improvement in detecting which previews need update in Blender. Now you can have multiple buttons windows open, for example one showing only a larger material preview, and have it updated correctly. Nice for setups where you can keep preview shown while scrolling buttons.
Ton Roosendaal
2004-07-10 19:56:27 +00:00
4e9ddbdc4cAdded colorpicker in Panel for:
Ton Roosendaal
2004-07-10 17:40:40 +00:00
448d89ef76Added edges in Mesh undo. Note; whether or not edges are created is derived from original Mesh, the one still residing in obedit->data while modeling.
Ton Roosendaal
2004-07-10 13:11:22 +00:00
73d4500517Changed weird line in add_primitiveMesh() that caused cursor to flip back to normal mousepointer while in editmode. Was in code since 2.25...
Ton Roosendaal
2004-07-10 12:04:03 +00:00
ce4c291f42Made effector strenght as big in the negative as in the positive.
Martin Poirier
2004-07-10 10:33:02 +00:00
2a8abfc143Compressed the two particles effectors loop into one. It was rather stupid of me to do it as two at first, but it was the first thing that came to mind. Fixed now, so it will calculate much faster.
Martin Poirier
2004-07-10 09:17:25 +00:00
6c15a98e76Fix metaball update bug when mirroring in object mode
Martin Poirier
2004-07-09 15:23:49 +00:00
c2a5da5cf7Fixed for forcefield. It needed to add half of the acceleration as speed on each frame it affected. Cleaned the GUI for effectors: Widen the panel and the buttons. Made the button text more conformed. Added vortex field for particles. Particles swirl around z-axis of the object. Little hackish, could be made better.
Martin Poirier
2004-07-09 14:39:06 +00:00
7ba95846caTyping values in color picker got a mixup in but->func() usage... caused weird values to be set after entering a value. Nicely solved now.
Ton Roosendaal
2004-07-09 09:21:37 +00:00
ec64e0d743Two little fixes in administrating new Mesh edges. Solves crash when joining newly created (Added) Mesh with others...
Ton Roosendaal
2004-07-09 08:15:57 +00:00
f77bc7eb7dQuite a large one this time... but now we have:
Ton Roosendaal
2004-07-08 20:38:27 +00:00
6757a8159b* fixed bug in rainbow color for material and world ipoview * removed 32 channel limit (can now have 50, or of you know what number to change, 999 ;) * added new IPOs: mirror fresnel and fac, transparency fresnel and fac, and glow factor transparent materials (add)
Nathan Letwory
2004-07-07 08:49:33 +00:00
2388cada01Fix compile error: the 'log' function takes only one parameter: changed log(xo, 2) to log(xo)/log(2).
Brecht Van Lommel
2004-07-06 22:25:14 +00:00
9c94728d89This is the initial commit of a revamp of the sweep effects that goofster committed that was originally a sequence plugin from sirdude.
Johnny Matthews
2004-07-06 19:07:13 +00:00
5b09bb1eb1- Removed new outline drawing from vpaint/faceselect and other paint modes - fixed tooltip drawing in color picker
Ton Roosendaal
2004-07-06 16:32:44 +00:00
181b970bf4Fixes in colorpicker;
Ton Roosendaal
2004-07-06 12:49:57 +00:00
4321a8889eColorpicker variant 2; One large field for S and V, and slider for H, like Gimp has for example.
Ton Roosendaal
2004-07-05 22:15:27 +00:00
20dbb446edPicker made slightly larger, and removed confusing "copy to" and "paste from" buttons.
Ton Roosendaal
2004-07-05 20:45:41 +00:00
ba2081b21dFixed NUM button code that it doesn't return halfway, but nicely proceeds to end of the function to handle the exit requirements. (returns where added for patch that makes NUM buttons into textbut on a click in center)
Ton Roosendaal
2004-07-05 17:48:47 +00:00
fa86302aa3Cleaned up pop-up menus for F10; edge settings and framing menu.
Ton Roosendaal
2004-07-05 10:56:13 +00:00
e804cf366a- oh, the protype for XORcircle...
Ton Roosendaal
2004-07-05 10:22:41 +00:00
a910ff343e- clipped selection circle in colorpicker to prevent it drawing outside the color plane - removed warnings from glutil.c, made circleXOR call become float instead of short - fixed error in drawing text of buttons in pop-up menus, when zoomed small
Ton Roosendaal
2004-07-05 10:22:00 +00:00
3cade4dad6Changed redraw of picker not to include the background, prevents flashing.
Ton Roosendaal
2004-07-05 09:21:22 +00:00
0576268c22* Added IPO for displacement, translucency and raymirror * Cleaned out IPO #defines
Nathan Letwory
2004-07-05 09:15:02 +00:00
cd47cfd3d1New: color picker!
Ton Roosendaal
2004-07-05 08:48:17 +00:00
c1ce82bd67Directly edit number fields with a click instead of having to use Shift-Click.
Matt Ebb
2004-07-05 07:52:32 +00:00
34ae24e37a- py docs update - getMatrix(), properties for object class, some examples
Joseph Gilbert
2004-07-04 19:57:41 +00:00
b2d7f47b81Made static particles working with a deformed Mesh, both for Lattice as for Armature. Note: only works for subsurfed Mesh now!
Ton Roosendaal
2004-07-03 18:39:19 +00:00
cbe7471905Interface: - added submenu "Scripts" in both View3D->Object and Mesh menus. Put them on top (it's better to follow some guideline, so users don't have to search for "Scripts" submenu in a different position in each menu), feel free to change. - added button 'previous win' to SpaceScript, makes accessing buttons win, for example, much faster. Maybe all spaces could have this button.
Willian Padovani Germano
2004-07-03 17:28:15 +00:00
5c543698c9Three in one:
Ton Roosendaal
2004-07-03 14:18:21 +00:00
9282827720New scripts: - hotkeys, obdatacopier and renameobjectbyblock, all from Jean-Michel Soler (jms); - bevel_center by Loic Berthe, suggested for inclusion by jms; - doc_browser, by Daniel Dunbar (Zr)
Willian Padovani Germano
2004-07-03 05:17:04 +00:00
90d4f7a3c1Added new operators for "MapTo" panel as suggested & partially coded by Kent Mein. So next to the mix, mult, add, sub we have now:
Ton Roosendaal
2004-07-02 22:29:06 +00:00
326f3c3d6aFixed rendering of image textures with alpha... it gave ugly dark outlines. Please note the following:
Ton Roosendaal
2004-07-02 20:49:08 +00:00
265450dcb5Added new exported render calls in stubs... so player compiles again!
Ton Roosendaal
2004-07-02 13:51:33 +00:00
ef9fa4bf50Bug #1411
Ton Roosendaal
2004-07-02 12:44:32 +00:00
ea7e5c9f41Forgot to add code for copying/paste functionality Materials. With new ColorBand data added in Material that needs to be tackled corectly.
Ton Roosendaal
2004-07-01 18:06:27 +00:00
30251dbc13Report #1401
Ton Roosendaal
2004-07-01 16:15:22 +00:00
7fc5114408Corrected a misleading confirmation message when deleting a bone ("Erase selected bone", not "Erase selected armature")
Matt Ebb
2004-07-01 09:31:12 +00:00
d4755e8c5cFixed draw error in panels, the header was overdrawn with panel background. Only visible when panels are not transparent.
Ton Roosendaal
2004-06-30 21:59:12 +00:00
a8ef804146NEW: Ramp shades for diffuse and specular
Ton Roosendaal
2004-06-30 18:54:09 +00:00
c9b4585618Switch to using floats instead of shorts for normal data - they're supposed to be faster. Also use shorts instead of ints for the index data, since index arrays are limited anyhow.
Kester Maddock
2004-06-30 13:41:19 +00:00
09d3007b71Two stupid fixes for warnings:
Kent Mein
2004-06-29 20:34:10 +00:00
7000bebc4b- added octal tree node optimalization of MetaBall polygonisation polygonization of 512 MetaBalls: - version 2.33a: 76 s - current cvs version 8 s
Jiri Hnidek
2004-06-29 17:10:13 +00:00
b460748777Metaball normals were flipped again... thanks jiri for pointing me to it...
Ton Roosendaal
2004-06-28 11:14:58 +00:00
7febd4547dFinally, fixed the evil dll problem. It works now on my win32 box with my tests without crashing. But be aware! There may be more of them watching us, waiting for a moment of distraction, nobody is safe.
Alejandro Conty Estevez
2004-06-27 20:10:20 +00:00
b8f73db964added fflush(stdout) for printf updates while calculating particles
Ton Roosendaal
2004-06-27 14:05:08 +00:00
e750478ce3The revised patch from Leon for new particle effects.
Ton Roosendaal
2004-06-26 18:18:11 +00:00
263d0823d3Changes in code to allow double sided energy, but it's not possible to activate it. Added comment in code how to enable it for those who like to play (search for translu)
Ton Roosendaal
2004-06-26 18:03:57 +00:00
2a6c8a2797- added support for getting worlspace and localspace matrices from objects through python. Add cvars matrixWorld/matrixLocal. - credits to Campbell Barton
Joseph Gilbert
2004-06-26 14:38:56 +00:00
4c53f38756Minor Fixes: Better use of booleans for python #include fixes for Windows Python Doc fixes Use the farthest vertex as the face position when z sorting faces. (Camera is on -z axis!)
Kester Maddock
2004-06-26 09:15:41 +00:00
f69cc652e2minor changes to sync with yafray cvs interface, getting closer to the clean msvc build.
Alejandro Conty Estevez
2004-06-24 21:17:52 +00:00
855c6861efThe other fix for drawing XOR lines, now for dragging window edges too. Main 'improvement' is it not using the gl_util function, but drawing it all itself, and thus minimizing the amount of flush calls (factor 4).
Ton Roosendaal
2004-06-24 15:12:45 +00:00
d5b4fb5736Scripts: - Added KlopUtils by Carlos Lopez and Batch Object Name Edit by Campbell Barton (thanks both!)
Willian Padovani Germano
2004-06-24 15:03:08 +00:00
e306beec04Screen edge split routine now uses 4 times less glFlush calls. Is a testing commit... might be removed or further worked out.
Ton Roosendaal
2004-06-24 14:53:00 +00:00
61efb63b0cBPython: - Added function Blender.Save(filename) to save .blend files. - Added scriptlink-related methods (get, clear, add) to Scene and Materials. Will still add method remove and add these methods to World, Object, Camera and Lamp. - Updates and small fixes in docs.
Willian Padovani Germano
2004-06-24 09:43:13 +00:00
5b57d007a4* missing include paths added for debug configuration
Nathan Letwory
2004-06-24 07:29:15 +00:00
36feed26c2* updated the msvc 7 projectfile of yafray for the plugin support
Nathan Letwory
2004-06-24 07:02:55 +00:00