Commit Graph

240 Commits

Author SHA1 Message Date
Nathan Letwory
9076b80db6 * [SCons] enable BUILD_DATE for win32. Basically SCons creates an extra file in source/creator, which is included by buildinfo.c whenever BUILD_DATE is on and building on Windows. SCons automatically takes care of this dependency. 2004-03-05 15:20:52 +00:00
Nathan Letwory
af2c3a4c10 Added OpenBSD3.x to the SCons build system. 2004-03-02 08:40:19 +00:00
Michel Selten
70a4ead0ae SCons updates
* Blender static now links. By default this option is disabled on all
  platforms. Simply set the option in config.opts to 'true'.
* Added the following flags to config.opts:
  - HOST_CC.    This is the C compiler for the host platform. This value is the
                same as TARGET_CC when not cross compiling.
  - HOST_CXX.   This is the C++ compiler for the host platform. This value is
                the same as TARGET_CXX when not cross compiling.
  - TARGET_CC.  This is the C compiler for the target platform.
  - TARGET_CXX. This is the C++ compiler for the target platform.
  - TARGET_AR.  This is the linker command for linking libraries.
  - PATH        This is the standard search path
  All SConscript files have been updated to reflect these changes. Now it's
  possible to change only the root SConstruct file, and all compiler specific
  variables are passed automatically to all SConscript files. Of course, this
  does not apply to makesdna because there the host and target platform is
  different from all other libraries.
  To pass a variable that applies to all platforms, all we now have to do is
  set the correct value in library_env


Note: as usual, to get the latest options in the config.opts file, first
      remove your version.
2004-02-29 21:40:48 +00:00
Michel Selten
8023fb4282 SCons updates
* Added the options to build (configurable via config.opts):
  - blender dynamic (default enabled),
  - blender static (default disabled). Not working because of a linking order
    problem. The /usr/lib/libGL.a and /usr/lib/libGLU.a flags need to be
    appended at the end of the link command, not directly after the linker.
    Mailed the SCons mail list for a possible solution.
  - blender player (default disabled). Not implemented yet anyway.
  - blender plugin (default disabled). Not implemented yet anyway.
* Added the following variables to the config.opts:
  - OPENGL_STATIC. This flag is only needed when building blender static.
  - USE_BUILDINFO (true/false). Display build information in the splash
    screen. When enabled, it will always rebuild source/creator/buildinfo.c,
    so for compilation speed reasons, it is not adviced to enable this all the
    time.

I had to make some adjustments specifically for the windows build
(winblender.res) file. This file is only compiled when building the dynamic
blender. I hope this is correct.
2004-02-24 20:03:27 +00:00
Willian Padovani Germano
0d9d16e6e9 Scripts 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.

Scripts need a small update (registering info, basically a header) to be used.
Scripts dir (user pref file paths: Python) must be set.
2004-01-14 21:36:10 +00:00
Wouter van Heyst
57a7dfe5a5 - Revert to NaN makefiles 2004-01-05 00:06:11 +00:00
Alejandro Conty Estevez
eff07b8329 Basic initial yafray integration by Eeshlo.
Materials are exported the best we can do by now. It will look almost as in
blender except for the missing procedural textures and some minor issues.
You have to tweak normal modulation amount to get the desired result cause
is not the same in yafray.

We added a panel in render space to adjust some yafray settings (GI and so)

Also we export transparency and reflection using new raytracing settings,
but that will be changed and improved soon.

Remember that you have to set YFexport path in user defaults and yafray must
be on path (version 0.0.6)

We added the "yafray" button to activate all this stuff in the render window.
Panel and settings are only shown when checked.

So now when activated the code calls yafray export instead of the internal
renderer and finally the resulting image is loaded back into render window's
buffer. So animation is also possible and results can be saved using blender
usual scheme.
2004-01-04 22:10:36 +00:00
Kent Mein
e9a6c2d996 Dan Sinclair's patch to add --version or -v to blender's command line options.
Kent
2003-12-24 16:44:24 +00:00
Ton Roosendaal
595e0e51fd - forgot to do this... belongs to commit with text:
bug fix: in background render, the default builtin font was not
  activated for rendering when other fonts were packed too.
2003-11-25 18:14:00 +00:00
Michel Selten
90541541c3 Added all necessary BPY_extern.h include files to the .c files.
Updated the Make environment to point to the correct location. The include
paths were still pointing to source/blender/bpython/include while it should be
source/blender/python.
I did not encounter the build problems because I'm always working with the
autoconf build environment.
2003-11-23 14:28:46 +00:00
Chris Want
e7d3e24a0e Got rid of many #include "BPY_extern.h"
Homework from Michel: do grep BPY source/blender/src/*
and see if there is anything that needs fixing.
2003-11-22 20:21:59 +00:00
Ton Roosendaal
952cd8260e - adapted startsize for osx version to match powerbook (768 high)
- add patch in prevsize routine (editscreen.c) to subtract apple
  top header, this allows 'fullscreen' with windowbar behind topbar.
2003-10-10 13:36:38 +00:00
Ton Roosendaal
6f34249924 - increased default windowsize for OSX a bit, to match better a good
layout. Old size was 800x600, just not too nice
  New size is 900x768. this default small size is for older macs that
  dont allow full size 32 bits opengl windows... silly er! :)
2003-10-09 12:20:14 +00:00
Hans Lambermont
1bbf616b59 Finally add spike's FreeBSD suggestions. Tnxto Chris for forwarding. 2003-10-05 19:37:16 +00:00
Rob Haarsma
99efb0cc3c removed native quicktime init/exit calls from main blender code. 2003-09-18 11:41:50 +00:00
Jacques Guignot
dd2551661a removed an useful #include which caused a compilation error 2003-09-10 19:47:05 +00:00
Rob Haarsma
422f4faa1b moved Quicktime init function from creator.c 2003-09-09 21:26:34 +00:00
Ton Roosendaal
3d691c77cf - Blender in background render mode (blender -b) now reacts to CTRL+C
again. You'll have to do it twice... first CTRL+C will send an internal
  break (exit render loops)
- I prefer this in foreground mode too, but Python uses it as well, to
  escape from loops. We have to fix this once.
2003-07-19 20:14:07 +00:00
Kent Mein
77213f7da6 removed extra tabs in the help function.
It was
function()
{
						blah
}

changed it to just
function()
{
	blah
}

Kent
2003-07-03 13:53:11 +00:00
Chris Want
67e9d00936 Moved the OPENGL_HEADERS to the end of the include paths
-- so that render.h from another package (such as the
Xrender extension on irix) doesn't conflict with the
blender one.
2003-06-29 17:21:38 +00:00
Willian Padovani Germano
8155033930 - Added user defined python dir to Python's sys.path:
Had to add a function call to creator.c, explained in a note there (look
    for pythondir in the file)
2003-06-28 10:35:14 +00:00
Casey Corn
17ca22de62 Rolled back comments. According to new guidelines, no .c files
should contain doxygen comments.
2003-06-18 03:48:55 +00:00
Simon Clitherow
f40d9f57ee Registering .blend files now works for Windows -- hopefully!
You will need to re-register the blend files (blender.exe -R)
for the fix to come into action.
2003-06-04 21:22:57 +00:00
Kent Mein
3c7c20676e This is a fun one ;)
Removes ssl from blender.
makes the following directorys not needed anymore:
blender/intern/keymaker
blender/source/blender/src/pub
blender/source/blender/encrypt
blender/source/blender/decrypt
blender/source/blender/sign
blender/source/blender/verify

It works with The Nan Makefiles and autoconf, could whoever is working
on the other build systems update them so we can nuke those directorys?
They won't do anything but I figured I'd leave them in for a week or so
to make things easyer on people.

Kent
2003-05-30 15:06:54 +00:00
Casey Corn
f882846641 Added docs/formatted existing docs for doxygen. 2003-05-26 19:20:56 +00:00
Casey Corn
0773536829 First documentation commit :) 2003-05-23 00:38:54 +00:00
Stefan Gartner
70dab87ac3 revert to previous version, as starting blender maximized on os x doesn't
seem to be ready for prime time yet
2003-05-13 14:52:51 +00:00
Stefan Gartner
efaeeb6a87 maximize blender window on startup on os x 2003-05-13 12:14:52 +00:00
Rob Haarsma
cf6def23e3 forgot to commit this one for win/fullscreen 2003-05-08 20:53:38 +00:00
Rob Haarsma
9e79a6222f added fullscreen command line switch on Win32 -W
written by Florian Eggenberger.
2003-05-05 10:51:52 +00:00
Stefan Gartner
723b84c79c fun with quicktime:
#include <QuickTime/Movies.h> instead of #include <Movies.h> on OS X to
avoid having to specify the full path to the QT headers in the Makefiles

#undef NDEBUG on OS X to avoid errors about ID being declared twice

enable support for QuickTime in the original Makefiles on OS X
2003-05-02 13:36:56 +00:00
Ton Roosendaal
9174db096b LAST of the c code comment translations... hooray!
Might be possible I mised an .h or so, just notify me in that case.
2003-04-30 13:22:26 +00:00
Rob Haarsma
706ccc0401 Added Quicktime support for OSX and Windows.
This code allows you to load Quicktime images and movies as textures
and render animations to Quicktime movies.
Note that the selected output codec is *not* saved in the blendfile.

To enable Quicktime functionality you need the SDK from Apple:
OSX: ftp://ftp.apple.com/developer/Development_Kits/QT6SDK_Mac.hqx
Win: ftp://ftp.apple.com/developer/Development_Kits/QT6SDK_Win.hqx
Add the \QTDevWin\CIncludes and \QTDevWin\Libraries directories
from this SDK to your build environment.

Enable the WITH_QUICKTIME compile flag in the following directories:
bf\blender\source\blender\imbuf
bf\blender\source\blender\src
bf\blender\source\blender\render
bf\blender\source\creator
2003-04-28 02:15:46 +00:00
Daniel Dunbar
de09cf7609 Remove references to obsolete misc lib 2003-03-24 17:34:43 +00:00
Daniel Dunbar
702880df55 Update things to use blender_test_break() vs MISC_test_break() and
remove use of blendertimer.h
2003-03-24 16:37:08 +00:00
Daniel Dunbar
2aad6b3321 Kill 2 undefined function warnings. 2003-03-24 15:05:51 +00:00
Chris Want
e469083a33 The other part of sgefant's fullscreen by default patch: turning
off fullscreen using the -w flag.
2003-01-29 05:37:24 +00:00
Kent Mein
cd4a60f536 sgefants patch to remove the License Key stuff.
(I noticed its not completely gone yet from the blender/source dir)
But its a big step in the right direction if it doesn't enable
all of the functionatlity already...

(Using cscope for LICENSE_KEY_VALID still turns up some stuff)

Kent
--
mein@cs.umn.edu
2002-12-06 19:48:37 +00:00
Kent Mein
d0e346d544 updated .c files to include:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Just need to finish cpp files now :)

Kent
--
mein@cs.umn.edu
2002-11-25 12:02:15 +00:00
Hans Lambermont
12315f4d0e Initial revision 2002-10-12 11:37:38 +00:00