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
2010-11-18rename libs internal libs for CMake + SCons (used in MSVC project files)Campbell Barton
for game engine use "ge_" prefix & make names generally more descriptive.
2010-11-12Getting BLF to work with the Blenderplayer.Mitchell Stokes
2010-11-05fix for linking the player, also fixes building without python and bullet.Campbell Barton
2010-10-31Fix cmake building of blender player.Brecht Van Lommel
2010-10-31rename and negate DISABLE_PYTHON --> WITH_PYTHONCampbell Barton
2010-10-26Added function RNA_property_update_check() to check if an update call is needed,Campbell Barton
Simple python benchmark shows this to be about 3x faster in the case where an update isn't needed. This also speeds up rna function argument parsing, since each arg in a function call did 2 string lookups on the context which were never needed.
2010-10-23use explicit file paths for CMake rather then globing, This is recommended ↵Campbell Barton
by cmake devs. globbing vs explicit is discussed here. http://www.cmake.org/pipermail/cmake/2008-December/025694.html Practical implications are: - developers need to keep CMakeLists.txt files up to date. - Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-18Use DEBUG instead of NDEBUGNathan Letwory
2010-10-18remove G.sce, use G.main->name instead.Campbell Barton
Both stored the filename of the blend file, but G.sce stored the last opened file. This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore). Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-17- fixed remaining unused warnings.Campbell Barton
- omit render code from this warning (cmake only), until render branch is merged. - moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
2010-10-16Now sound init param removal revert should be fine (apparently my cmake ↵Nathan Letwory
project files missed rebuild hint for these, fortunately SCons did its job well).
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-09-14blenderplayer fix for "offset" problem when in fullscreen mode (worked ↵Dalai Felinto
together with Nathan Letwory - jesterKing) The FullScreen state was never set. Therefore the window boundary was returning the wrong dimensions (it was assuming that it was not fullscreen). * Note: blender.exe -W has a similar problem. We are working on that ... Tested in Windows only. If someone can test in Linux and OSX please let me know if it's good there as well. To test it: ./blenderplayer -f myfile.blend
2010-09-13blenderplayer parsing code (better) fixDalai Felinto
After last commit I realized that we have a different behavior when running blenderplayer or a runtime. Reason being is that when running blenderplayer the filename is mandatory. While in runtime mode it has no use for it (it can still be passed, but it makes no difference). I also updated the -h (help) message to be multiplataform and to pass the filename argument only when in blenderplayer mode. If someone wants to have fun it would be nice to port the blender new parsing code to the gameplayer. * note: how come "noaudio" is used in the examples but it's not in the options list? *ouch* I'm leaving as it's in case noaudio get implemented ...
2010-09-13blenderplayer commandline argument fixes (for -f and -w)Dalai Felinto
argc always include the filename, therefore all the optional parameters should check for < argc instead of <=argc. E.g. That was causing "blenderplayer -f 800 600 myfile.blend" to play in a wrong Bpp (since it was trying to parse the filename to fullScreenBpp). Bug introduced on rev. 16448 (in 2.49) and merged to 2.5 in rev. 19323
2010-08-30Finally change SConscript tabs to spaces.Nathan Letwory
2010-08-27own rna naming commits r31439 r31472 also renamed BGE vars unintentionallyCampbell Barton
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-11Update address in license block.Guillermo S. Romero
2010-08-03remove commented scons lines from cmake files, fixed use of pointer poll ↵Campbell Barton
function for ID drobdowns (currently unused)
2010-07-20- correct some spelling errors.Campbell Barton
- remove FreeCamera struct (wasnt used) - remove world color alpha values (not used anywhre).
2010-05-30reverting previous commit from Mitchell. His commit went to the trunk ↵Dalai Felinto
instead of the branch :) svn merge -r 29067:29066 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-05-30Reversing the last merge because I botched it.Mitchell Stokes
2010-05-07Merge image related changes from the render branch. This includes the imageBrecht Van Lommel
tile cache code in imbuf, but it is not hooked up to the render engine. Imbuf module: some small refactoring and removing a lot of unused or old code (about 6.5k lines). * Added a ImFileType struct with callbacks to make adding an file format type, or making changes to the API easier. * Move imbuf init/exit code into IMB_init()/IMB_exit() functions. * Increased mipmap levels from 10 to 20, you run into this limit already with a 2k image. * Removed hamx, amiga, anim5 format support. * Removed colormap saving, only simple colormap code now for reading tga. * Removed gen_dynlibtiff.py, editing this is almost as much work as just editing the code directly. * Functions removed that were only used for sequencer plugin API: IMB_anim_nextpic, IMB_clever_double, IMB_antialias, IMB_gamwarp, IMB_scalefieldImBuf, IMB_scalefastfieldImBuf, IMB_onethird, IMB_halflace, IMB_dit0, IMB_dit2, IMB_cspace * Write metadata info into OpenEXR images. Can be viewed with the command line utility 'exrheader' For the image tile cache code, see this page: http://wiki.blender.org/index.php/Dev:2.5/Source/Imaging/ImageTileCache
2010-04-25correct typo'sCampbell Barton
2010-04-24BGE Fix: [#19951] mouse over sensor is broken with letterboxing framingDalai Felinto
Tested with GameLogic.mouse.position and mouse over sensor. It should be working with other mouse sensor as well. If not, please help to test and report a bug. (couldn't test blenderplayer but it should be working there as well). (Benoit, this is the same patch that I sent you. I hope it's OOP enough. Looking forward to hear from you on that) I believe that this was the last "mouse" related bug we had reported. MouseLoook scripts should be working 100% in Blender/BGE 2.50 now \o/
2010-04-20Added F13 - F19 keys for game engine too.Matt Ebb
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-04-17Patch #21789 - BGE Keyboard and Mouse Python types - by Mitchell Stokes(Moguri)Dalai Felinto
The patch exposes mouse and keyboard read-only properties in the GameLogic module Also renames bge.keys to bge.events (* Note: name of bge submodules (logic, render, ...) may change before 2.5 final release [right Campbell?]). """ This patch adds two new types to the BGE: SCA_PythonKeyboard SCA_PythonMouse These two types allow users to make use of the keyboard and mouse without the need for a keyboard or mouse sensor. SCA_PythonKeyboard has an events property that acts just like SCA_KeyboardSensor.events. SCA_PythonMouse also has an events property to check for mouse events. Further more it supports getting and setting normalized cursor position (from 0.0 to 1.0) with SCA_PythonMouse.position. The cursor can be shown/hidden using SCA_PythonMouse.visible. """ Its use is similar with current mouse and keyboard controllers. With the exception of mouse position being normalized and writable as well (replacing Rasterizer.setMousePosition). Code Sample: ###### from bge import logic, events mouse = logic.mouse keyboard = logic.keyboard for key,status in keyboard.events: if status == logic.KX_INPUT_JUST_ACTIVATED: if key == events.WKEY: print(mouse.position) # move_forward() mouse.visible = True # turn cursor visible mouse.position = 0.5,0.5 # centralize mouse - use tuple ###### * Important Note: mouse.position still will not work properly for Letterbox mode. In order to fix letterboxing I may need to move the set x,y mouse function to inside the canvas code (to avoid duplicated code between mouse sensor and bge.logic.mouse). I'll leave this for another commit though. Thanks Mitchell for the work on that.
2010-04-11BGE fix #20456 - 2.5: mouse position problem (offseted by 1 vertically)Dalai Felinto
In Blender 2.49 the win width and height were been calculated including an extra pixel (e.g. a fullscreen editor would be (width + 1) by (height + 1) ) In opposite to that, Blender 2.5 window/editor code were fixed to have the exact width,height size. So although the BGE canvas code was still the same as 2.49 it was producing a wrong result. I'm also adding some commentaries in the setViewport code. BGE is setting the viewports 1 pixel larger. the setViewport command is been used as if one should pass (minx, miny, width, height), while it should be (minx, miny, maxx, maxy). I will take care of that later, if any one has extra comments on that, please let me know.
2010-03-09rename some functions to use easier to understand names.Campbell Barton
'BLI_makestringcode' --> 'BLI_path_rel' 'BLI_convertstringcwd' --> 'BLI_path_cwd' 'BLI_convertstringframe' --> 'BLI_path_frame' 'BLI_convertstringframe_range' --> 'BLI_path_frame_range' 'BLI_make_cwdpath' --> 'BLI_path_cwd'
2010-03-03small png include adjustments (ifndef NOPNG ...).Dalai Felinto
* gameplayer is now probably not going to build without PNG turned ON. To fix that it would be necessary to use #ifndef NOPNG around the GPC_Canvas::MakeScreenShot. Since I don't this function it's working in 2.5 yet it's better to wait for that before doing it.
2010-03-03fix for CMake compile in windows. ($PNG_INC was needed) - partial revert of ↵Dalai Felinto
commit 27251
2010-03-03fix for minor errors/warningsCampbell Barton
2010-03-03BGE 2D Filters: filters run per scene now (fix for [#18152]) - it (slightly) ↵Dalai Felinto
breaks backward compatibility !!! Originally we had 2DFilters (m_filtermanager) stored in RenderTools. That way filters were stored globally and were being called once per each scene. This was producing two big problems: (1) performance and (2) flexibility of use. (1) Performance - To run the filters 2X == 2X slower (2) flexibility of use - Very often we want the filter in the scene but not in the UI for example. For those reasons I believe that 2DFilters with multiple scenes was very useless or unpredictable. I hope they work fine now. To make it work as before (2.4) you can simply recreate the 2dfilter actuators across the scenes. * * * * * Imagine that we have: (a) Main Scene (b) Overlay Scene in Main Scene the Z Buffer and RGB will be from the main scene. in Overlay Scene the Z Buffer will be from the Overlay Scene and the RBG buffer is from both [(a + 2D Filter) + b]. So in pseudo code if we have a,b,c,d,e scenes we have: (2DFilterE(2DFilterD(2DFilterC(2DFilterB(2DFilterA(a) + b) + c) + d) + e)
2010-02-25BGE Dome: BlenderPlayer Console arguments: warpdata working now (only with ↵Dalai Felinto
absolute path) I forgot to say in the last commit that those arguments are only for the BlenderPlayer. we can now set external warpdata files. 2Do: (1) convert relative to absolute paths for warpdata files (2) investigate weird bug on lack of light in blenderplayer with warpmesh ... [old 2Do] (3) documentation (4) preserve scene settings (at least scene->gm.dome) even if you load a new file inside the game (e.g. Yo Frankie loading new levels)
2010-02-25BGE Dome: Console arguments: angle, tilt, mode and warpdata (not working yet)Dalai Felinto
2Do: (1) open external warpdata file (2) documentation (3) preserve scene settings (at least scene->gm.dome) even if you load a new file inside the game (e.g. Yo Frankie loading new levels) otherwise it's a nightmare to update all your files every time you change your projection system. See note. Maybe SYS_WriteCommandLineInt/Float/String can be used for that. Gotta investigate further. * Note: an external warpdata file is a must ! Currently every time you need to calibrate your system you have to update the warp file in all your demo files. This is terrible. I'm glad I *now* have a dome near by to test it ;) * FYI: A recent 'Yo Frankie in a dome' video if you want to see how it works: http://www.vimeo.com/9629626 I'm going to record a better one tomorrow.
2010-02-22game engine support for recording animation back & some other minor changes.Campbell Barton
2010-02-22Fix for the player by nazg-gul.Joerg Mueller
2010-02-12correct fsf addressCampbell Barton
2010-01-11get rid of annoying duplicate python initialization code, added ↵Campbell Barton
setupGamePython() which initializes modules
2009-12-31BGE: (1) stereo tooltip update (2) blenderplayer working with new stereo ↵Dalai Felinto
setting (3) blenderplayer building again (patch by Mitchell Stokes - Moguri) (1) the new text suggest what was the default eye separation before. Now I'm confident that changing the eye separation for the UI is a good move (2) no big deal here. It's not reading the parameter from the command line. But does it ever read it? (3) stubs.c update and glew linking statically. patch by Mitchell Stokes, thanks for that. And now we finish 2009 with a building blenderplayer =D
2009-11-28BPlayer fix (we were still using old scene.r instead of scene.gm here) and ↵Dalai Felinto
more stubs update from Mitchell Stokes (Moguri) (+ a fix in a logic_window.c comment)
2009-11-22MSVC 9 projectfilesAndrea Weikert
* Added GLEW_STATIC where necessary to make Blender compile again * First attempt at compiling blenderplayer again - compiles, but doesn't link yet * removed deprecated SND_ functions from blenderplayer
2009-11-16bpplayer compiling fixes: ([#19890] Getting the Blenderplayer to build again ↵Dalai Felinto
by Mitchel Stokes (moguri) and some changes form mine) 1) SetDisplayArea was created in Blender but we forgot to set it in the player 2) Fix some SCons incs (using lists instead of strings) 3) added more nasty stubs calls (this file is getting big) * typo fix from last commit **) it's raining with bolts here and I have to turn the internet off. I couldnt hard test this commit but it looks like working. sorry if sometihng go wrong
2009-11-02how embarrassing!Campbell Barton
2009-10-19Fix #19669 and other: triple buffer & icon texture drawing could causeBrecht Van Lommel
a system crash and other issues on ATI/Apple, due to a buggy driver (similar issues reported for other OpenGL applications). For now, work around it by not using non-power-of-two textures on this combination.
2009-09-30- rather then passing the python namespace dictionary to the controller ↵Campbell Barton
function get the namespace from the converter. - renamed SetPythonDictionary() to SetPyNamespace() - remove IsLight(), GetGameObjectType() existed before this but wasnt used for lights.
2009-09-30option to build the BGE without python, uses existing python check (cmake ↵Campbell Barton
and scons) when python is disabled videotextures are not built.
2009-09-06white space commit. (2 spaces -> tab).Campbell Barton
Was annoying to use a different editor for cmake only. theeth says this should be ok with gsoc and merges from branches.