blender.git
17 years agoReverting change to decimation to fix compatibility with
Chris Want [Sat, 28 Dec 2002 17:45:46 +0000 (17:45 +0000)]
Reverting change to decimation to fix compatibility with
gcc 3.x (a better solution should be found)

17 years agoadded two accidentally deleted #'s (without them makesdna wouldn't work
Stefan Gartner [Fri, 27 Dec 2002 21:14:32 +0000 (21:14 +0000)]
added two accidentally deleted #'s (without them makesdna wouldn't work
properly)

sgefant

17 years agoRemoved the config.h thing from the .h's in the source dir.
Kent Mein [Fri, 27 Dec 2002 13:11:01 +0000 (13:11 +0000)]
Removed the config.h thing from the .h's in the source dir.
So we should be all set now :)

Kent
--
mein@cs.umn.edu

17 years agoWooHoo me again ;)
Kent Mein [Thu, 26 Dec 2002 18:25:17 +0000 (18:25 +0000)]
WooHoo me again ;)
I took out the following from the includes in the intern dir that still had
it:
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif

Kent
--
mein@cs.umn.edu

17 years agoSorry, Kent the indexing changes to this file turn out to be broken
Chris Want [Wed, 25 Dec 2002 21:42:56 +0000 (21:42 +0000)]
Sorry, Kent the indexing changes to this file turn out to be broken
too -- a user reported crashing while using decimation and rolling back
the modifications between rev 1.2 and rev 1.3 for this file fixed it.

Regards,
Chris

17 years agoSome changes made to the bsp code in early November
Chris Want [Wed, 25 Dec 2002 08:35:08 +0000 (08:35 +0000)]
Some changes made to the bsp code in early November
(to stop gcc compiler warnings) caused segfaults when
performing intersections (and possibly while doing other
boolean operations). I felt it was best to revert these
changes (I also got rid of the DOS line terminators in
the files). Some more info about the matter can be found
in the first 10 or so posts for Novembor on the old
mailing list:

http://www.soze.com/mailman/private/bf-committers/2002-November/date.html

Chris (Merry Christmas!)

17 years agoAdded ode physics to blender and player targets.
Maarten Gribnau [Tue, 24 Dec 2002 12:43:56 +0000 (12:43 +0000)]
Added ode physics to blender and player targets.
ActiveX control still has a linkigng problem.
Maarten

17 years agoUpdated README with directions for Windows.
Maarten Gribnau [Sun, 22 Dec 2002 23:03:15 +0000 (23:03 +0000)]
Updated README with directions for Windows.
Maarten

17 years agoRemoved fixed path for Python excutable.
Maarten Gribnau [Sun, 22 Dec 2002 23:02:21 +0000 (23:02 +0000)]
Removed fixed path for Python excutable.
The README will explain how to set an option in MSVC to make it find
python.
Maarten

17 years agoFixed ode link path.
Maarten Gribnau [Sun, 22 Dec 2002 22:58:54 +0000 (22:58 +0000)]
Fixed ode link path.
Maarten

17 years agoFixed ActiveX control libraries and library paths.
Maarten Gribnau [Sun, 22 Dec 2002 22:42:11 +0000 (22:42 +0000)]
Fixed ActiveX control libraries and library paths.
Removed abundant frozen python files.
Maarten

17 years agoDisabled player's check for Publisher file for input.
Maarten Gribnau [Sun, 22 Dec 2002 22:02:57 +0000 (22:02 +0000)]
Disabled player's check for Publisher file for input.
Maarten

17 years agoFixed binary files stored as text files for plug-ins
Maarten Gribnau [Sun, 22 Dec 2002 22:00:55 +0000 (22:00 +0000)]
Fixed binary files stored as text files for plug-ins
Maarten

17 years agofixed a *really* minor bug where tooltips were not resetting if next
Simon Clitherow [Sun, 22 Dec 2002 13:43:21 +0000 (13:43 +0000)]
fixed a *really* minor bug where tooltips were not resetting if next
call to add_numbut() asks for a NULL tooltip. --aphex

============================================================
RCS file: /cvs01/blender/source/blender/src/toolbox.c,v
retrieving revision 1.4
diff -r1.4 toolbox.c
1356c1356,1360
<  if(tip) strcpy(numbuts[nr].tip, tip);
---
>  if(tip)
>  strcpy(numbuts[nr].tip, tip);
>  else
>  strcpy(numbuts[nr].tip, "");
>

17 years agoRewired python for OSX. The Project Builder project now uses the Python that
Maarten Gribnau [Sat, 21 Dec 2002 22:28:56 +0000 (22:28 +0000)]
Rewired python for OSX. The Project Builder project now uses the Python that
comes with OSX in /usr/local.
Removed some frozen python files that were not generated by the freeze script.
mxTextTools is still disabled because of a link error.
Maarten

17 years agoRewired python for OSX. The Makefiles now use the Python that comes with OSX
Maarten Gribnau [Sat, 21 Dec 2002 22:26:46 +0000 (22:26 +0000)]
Rewired python for OSX. The Makefiles now use the Python that comes with OSX
in /usr/local.
mxTextTools is still disabled because of a link error.
Maarten

17 years agoadded the DELKEY stuff...
Kent Mein [Sat, 21 Dec 2002 10:14:03 +0000 (10:14 +0000)]
added the DELKEY stuff...
                        else if(dev==DELKEY) {
                                if(but->pos>=0 && but->pos<strlen(str)) {
                                        for(x=but->pos; x<=strlen(str); x++)
                                                str[x]= str[x+1];
                                        str[--len]='\0';
                                        dodraw= 1;
                                }
                        }

Kent

17 years agoFix so that rgba targa files view correctly in gimp:
Kent Mein [Sat, 21 Dec 2002 09:52:03 +0000 (09:52 +0000)]
Fix so that rgba targa files view correctly in gimp:
Submitted to bf-committers by Chris Want

Kent

Index: targa.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v
retrieving revision 1.4
diff -u -r1.4 targa.c
--- targa.c     2002/12/20 01:29:14     1.4
+++ targa.c     2002/12/21 09:50:24
@@ -289,6 +289,12 @@

        if (flags & IB_ttob) buf[17] ^= 0x20;

+        /* Don't forget to indicate that your 32 bit
+         * targa uses 8 bits for the alpha channel! */
+        if (ibuf->depth==32) {
+           buf[17] |= 0x08;
+        }
+
        if (write(file, buf, 18) != 18) return (0);
        if (ibuf->cmap){
                for (i = 0 ; i<ibuf->maxcol ; i++){

17 years agoThis is sort of a two parter from the mailling list but really its the
Kent Mein [Fri, 20 Dec 2002 19:37:38 +0000 (19:37 +0000)]
This is sort of a two parter from the mailling list but really its the
same thing:

Added the xpcom include and added a flag to use mozilla vs netscape.
Which basically adds some ifdefs to
_Blender3DPlugin_implementation_.cpp

Basically I modified the nan_definitions.mk in the following way
(You'll need to update yours don't forget) ;)
Also updated the makefiles to use the new vars and flushed them out
so they first include whatever nspr is set to and then look in
NAN_MOZILLA_INC

I wasn't sure what the NAN_MOZILLA_INC and _LIB defaults should be
since were assuming they point to a netscape dir by default (or maybe
old mozilla???)
maybe they should be
   export NAN_MOZILLA_INC ?= $(LCGDIR)/netscape/include
   export NAN_MOZILLA_LIB ?= $(LCGDIR)/netscape/lib/

instead...

Anyone have any opinions on the defaults?

Kent
--
mein@cs.umn.edu

Index: nan_definitions.mk
===================================================================
RCS file: /cvs01/blender/source/nan_definitions.mk,v
retrieving revision 1.8
diff -u -r1.8 nan_definitions.mk
--- nan_definitions.mk  2002/12/19 21:12:58     1.8
+++ nan_definitions.mk  2002/12/20 19:28:51
@@ -75,7 +75,13 @@
     export NAN_TEST_VERBOSITY ?= 1
     export NAN_ZLIB ?= $(LCGDIR)/zlib
     export NAN_BMFONT ?= $(LCGDIR)/bmfont
-    export NAN_MOZILLA ?= $(LCGDIR)/mozilla
+    # Uncomment the following line to use Mozilla inplace of netscape
+    # CPPFLAGS +=-DMOZ_NOT_NET
+    # Location of MOZILLA/Netscape header files...
+    export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include
+    export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/
+    # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB
+    # if this is not set.
     export NAN_NSPR ?= $(LCGDIR)/nspr

17 years agoShrunk the hack so it didn't get used in newer versions of OpenAL which
Kent Mein [Fri, 20 Dec 2002 19:27:39 +0000 (19:27 +0000)]
Shrunk the hack so it didn't get used in newer versions of OpenAL which
seems to be working.

Kent

(diff follows)

Index: SND_OpenALDevice.cpp
===================================================================
RCS file: /cvs01/blender/source/gameengine/SoundSystem/openal/SND_OpenALDevice.cpp,v
retrieving revision 1.4
diff -u -r1.4 SND_OpenALDevice.cpp
--- SND_OpenALDevice.cpp        2002/11/25 15:29:57     1.4
+++ SND_OpenALDevice.cpp        2002/12/20 19:26:04
@@ -59,7 +59,7 @@
 #include <fcntl.h>

 /* untill openal gets unified we need this hack for non-windows systems */
-#ifndef WIN32
+#if !defined(WIN32) && !defined(ALC_MAJOR_VERSION)

17 years agoAdded a link for where to get glut
Kent Mein [Fri, 20 Dec 2002 09:52:45 +0000 (09:52 +0000)]
Added a link for where to get glut

Kent
--
mein@cs.umn.edu

17 years agoFixed up the header comment so it didn't produce a warning about
Kent Mein [Fri, 20 Dec 2002 09:41:25 +0000 (09:41 +0000)]
Fixed up the header comment so it didn't produce a warning about
comment inside of a comment

Also removed the config.h thing since this is a .h

Hopefully I'll get around to the other .h's soon.

Kent
--
mein@cs.umn.edu

17 years agoBack at it ;)
Kent Mein [Fri, 20 Dec 2002 09:39:02 +0000 (09:39 +0000)]
Back at it ;)

Removed an unused var...
Here is the cvs diff.

Kent

Index: bsp/intern/BSP_CSGUserData.cpp
===================================================================
RCS file: /cvs01/blender/intern/bsp/intern/BSP_CSGUserData.cpp,v
retrieving revision 1.4
diff -u -r1.4 BSP_CSGUserData.cpp
--- BSP_CSGUserData.cpp 2002/11/25 09:52:48     1.4
+++ BSP_CSGUserData.cpp 2002/12/20 09:37:58
@@ -79,7 +79,6 @@
        int record_index
 ){
        if (m_width) {
-               int output = Size();
                IncSize();

17 years agoOk last change for the night :)
Kent Mein [Fri, 20 Dec 2002 02:52:58 +0000 (02:52 +0000)]
Ok last change for the night :)
Time to go watch er.

Note this was already done with face_old, img_old was probably just
overlooked.
(If you guys didn't notice I was sick for a couple of days but I'm back now
as you can tell)

Kent
--
mein@cs.umn.edu

Index: editface.c
===================================================================
RCS file: /cvs01/blender/source/blender/src/editface.c,v
retrieving revision 1.3
diff -u -r1.3 editface.c
--- editface.c  2002/11/25 12:02:05     1.3
+++ editface.c  2002/12/20 02:50:55
@@ -1202,7 +1202,7 @@
        TFace *face, *face_old = 0;
        short xy[2], xy_old[2];
        //int a, index;
-       Image *img, *img_old;
+       Image *img, *img_old = 0;

17 years agoIn stubs.c I added a dummy return to functions that were non void types.
Kent Mein [Fri, 20 Dec 2002 02:08:46 +0000 (02:08 +0000)]
In stubs.c I added a dummy return to functions that were non void types.

in readfile.c I renamed some localvars that were named main to mainl in
a couple of functions.

in action.c I initalized a var to 0.  This is probably not needed but
its a little safer incase someone adds more modes...
I've included a diff of this last one below.

Kent

Index: action.c
===================================================================
RCS file: /cvs01/blender/source/blender/blenkernel/intern/action.c,v
retrieving revision 1.6
diff -u -r1.6 action.c
--- action.c    2002/11/25 12:01:52     1.6
+++ action.c    2002/12/20 02:06:27
@@ -153,7 +153,7 @@
 ){
        bConstraint *dcon;
        const bConstraint *scon;
-       float dstweight;
+       float dstweight = 0;

        switch (mode){
        case POSE_BLEND:

17 years agoTwo more variables that were not initalized.
Kent Mein [Fri, 20 Dec 2002 01:29:14 +0000 (01:29 +0000)]
Two more variables that were not initalized.

cvs diff included below.

Kent
--
mein@cs.umn.edu

Index: png_encode.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/png_encode.c,v
retrieving revision 1.3
diff -u -r1.3 png_encode.c
--- png_encode.c        2002/11/25 12:02:00     1.3
+++ png_encode.c        2002/12/20 01:28:18
@@ -91,7 +91,7 @@
        unsigned char *pixels = 0;
        unsigned char *from, *to;
        png_bytepp row_pointers = 0;
-       int i, bytesperpixel, color_type;
+       int i, bytesperpixel, color_type = PNG_COLOR_TYPE_GRAY;
        FILE *fp = 0;

Index: targa.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v
retrieving revision 1.3
diff -u -r1.3 targa.c
--- targa.c     2002/11/25 12:02:00     1.3
+++ targa.c     2002/12/20 01:28:20
@@ -247,7 +247,7 @@
        char buf[20];
        FILE *fildes;
        int i;
-       short ok;
+       short ok = 0;

17 years agoOk since no one cares about this I put a 5 second fix on it and won't
Kent Mein [Fri, 20 Dec 2002 01:14:46 +0000 (01:14 +0000)]
Ok since no one cares about this I put a 5 second fix on it and won't
worry about it anymore :)

(initalized it to 0 and then later return 0 if its still 0 before doing
the work)

Kent
--
mein@cs.umn.edu

17 years agoFixed two uninitalized vars:
Kent Mein [Thu, 19 Dec 2002 22:13:37 +0000 (22:13 +0000)]
Fixed two uninitalized vars:

Kent

 /cvs01/blender/source/blender/imbuf/intern/iris.c,v
retrieving revision 1.3
diff -u -r1.3 iris.c
--- iris.c      2002/11/25 12:02:00     1.3
+++ iris.c      2002/12/19 22:12:53
@@ -212,7 +212,7 @@
 /*  unsigned int *tab; */
 /*  int len; */
 {
-       int r;
+       int r = 0;

        while(len) {
                r = putlong(outf,*tab++);
@@ -548,7 +548,7 @@
 {
        FILE *outf;
        IMAGE *image;
-       int tablen, y, z, pos, len;
+       int tablen, y, z, pos, len = 0;
        int *starttab, *lengthtab;
        unsigned char *rlebuf;

17 years agoAdded the the magic compiler flag that will turn on game-engine integration with...
Maarten Gribnau [Thu, 19 Dec 2002 22:06:32 +0000 (22:06 +0000)]
Added the the magic compiler flag that will turn on game-engine integration with Blender. The line is commented by default as was discussed on the list.
Maarten

17 years agoI initalized mask to 0 in IMB_converttocmap
Kent Mein [Thu, 19 Dec 2002 21:26:34 +0000 (21:26 +0000)]
I initalized mask to 0 in IMB_converttocmap

This may not be correct but at least now its predictable.

Kent

17 years agoUsed NAN_ODE to point to the ode lib location.
Maarten Gribnau [Thu, 19 Dec 2002 21:14:18 +0000 (21:14 +0000)]
Used NAN_ODE to point to the ode lib location.
Maarten

17 years agoOverrided NAN_ODE in OSX to point to the precompiled ode lib in the lib tree.
Maarten Gribnau [Thu, 19 Dec 2002 21:12:58 +0000 (21:12 +0000)]
Overrided NAN_ODE in OSX to point to the precompiled ode lib in the lib tree.
Maarten

17 years ago-static void SleepTillEvent(Display *display, GHOST_TUns64 maxSleep) {
Kent Mein [Thu, 19 Dec 2002 20:08:12 +0000 (20:08 +0000)]
-static void SleepTillEvent(Display *display, GHOST_TUns64 maxSleep) {
+static void SleepTillEvent(Display *display, GHOST_TInt64 maxSleep) {

maxSleep is checked against -1 so it needs to have a sign.
This could even fix some stability problems since -1 is passed in sometimes
in the code.

Kent
--
mein@cs.umn.edu

17 years agoFixed this warning:
Kent Mein [Thu, 19 Dec 2002 20:06:07 +0000 (20:06 +0000)]
Fixed this warning:

IK_QSegment.h: In constructor `IK_QSegment::IK_QSegment(MT_Point3,
   MT_Matrix3x3, double, MT_ExpMap)':
IK_QSegment.h:271: warning: member initializers for `MT_Scalar
   IK_QSegment::m_length'
IK_QSegment.h:270: warning:   and `MT_ExpMap IK_QSegment::m_q'
IK_QSegment.cpp:56: warning:   will be re-ordered to match declaration order
IK_QSegment.h: In constructor `IK_QSegment::IK_QSegment()':
IK_QSegment.h:271: warning: member initializers for `MT_Scalar
   IK_QSegment::m_length'
IK_QSegment.h:270: warning:   and `MT_ExpMap IK_QSegment::m_q'
IK_QSegment.cpp:73: warning:   will be re-ordered to match declaration order

Kind of goofy its just the order of which 2 private vars are defined.

Kent
--
mein@cs.umn.edu

17 years agoUpdated the readme section on building OSX.
Maarten Gribnau [Mon, 16 Dec 2002 22:43:27 +0000 (22:43 +0000)]
Updated the readme section on building OSX.
Not sure whether this should also go in the xml file in the doc directory.
If so, what editor should I use?
Maarten

17 years agoRemoved Ode build from OSX target.
Maarten Gribnau [Mon, 16 Dec 2002 22:31:50 +0000 (22:31 +0000)]
Removed Ode build from OSX target.
This is now replaced by the Ode lib in CVS.
Maarten

17 years agoCreated a Makefile and got it actually to compile :)
Kent Mein [Mon, 16 Dec 2002 12:02:24 +0000 (12:02 +0000)]
Created a Makefile and got it actually to compile :)

Kent
--
mein@cs.umn.edu

17 years agoAdded extra libs for solaris
Kent Mein [Mon, 16 Dec 2002 11:18:31 +0000 (11:18 +0000)]
Added extra libs for solaris
(-l/usr/openwin/lib -lglut etc...)

Kent
--
mein@cs.umn.edu

17 years agoFixed the files so they compile...
Kent Mein [Mon, 16 Dec 2002 10:57:08 +0000 (10:57 +0000)]
Fixed the files so they compile...
Had to add an argument to Create_window... (it was missing the sterio flag)

Also cleaned up some variable overloading warnings...
(i.e. window shadows previous def)

Kent

17 years agoGilles's patch to get rid of the the same identifier warnings
Kent Mein [Sat, 14 Dec 2002 15:38:45 +0000 (15:38 +0000)]
Gilles's patch to get rid of the the same identifier warnings

Kent
--
mein@cs.umn.edu

17 years agoCorrected intern lib names so blendercreator.dsp can find them.
Simon Clitherow [Sat, 14 Dec 2002 12:31:17 +0000 (12:31 +0000)]
Corrected intern lib names so blendercreator.dsp can find them.
Previous commit broke this. --aphex

17 years agoOSX Project Builder project for makes_dna, blender and player targets.
Maarten Gribnau [Fri, 13 Dec 2002 21:34:52 +0000 (21:34 +0000)]
OSX Project Builder project for makes_dna, blender and player targets.
After building intern with the Makefile, this project builds all three targets.
blender and player targets are dependent on makes_dna so that dna.c is generated
automatically (at the moment it is created evry build).
The applications are complete with icons and file type registering.
The only catch is that it might be necessary to symlink the darwin-6.1-powerpc
directory if your kernel is no on 6.1.

Maarten

17 years agoThis might be a slight hack but Iksolver library was complaining about
Kent Mein [Fri, 13 Dec 2002 20:30:07 +0000 (20:30 +0000)]
This might be a slight hack but Iksolver library was complaining about
some linking stuff that was in libmoto.a so I added a libmoto after it
in the link lines.

Hans got a better way to do this? :)

Kent

Here is the diff:
RCS file: /cvs01/blender/source/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile    2002/11/13 16:09:38     1.12
+++ Makefile    2002/12/13 20:28:13
@@ -165,6 +165,7 @@
     COMLIB += $(NAN_PNG)/lib/libpng.a

     BCLIB = $(NAN_IKSOLVER)/lib/libiksolver.a
+    BCLIB += $(NAN_MOTO)/lib/libmoto.a
     BCLIB += $(OCGDIR)/blender/readblenfile/$(DEBUG_DIR)libreadblenfile.a
     BCLIB += $(OCGDIR)/blender/readstreamglue/$(DEBUG_DIR)libreadstreamglue.a
     BCLIB += $(OCGDIR)/blender/writestreamglueSTUB/$(DEBUG_DIR)libwritestreamglueSTUB.a
@@ -174,6 +175,7 @@
     BCLIB += $(OCGDIR)/blender/src/$(DEBUG_DIR)libsrccreator.a

     PULIB = $(NAN_IKSOLVER)/lib/libiksolver.a
+    PULIB += $(NAN_MOTO)/lib/libmoto.a
     PULIB += $(OCGDIR)/blender/readblenfile/$(DEBUG_DIR)libreadblenfile.a
     PULIB += $(OCGDIR)/blender/readstreamglue/$(DEBUG_DIR)libreadstreamglue.a
     PULIB += $(OCGDIR)/blender/writestreamglue/$(DEBUG_DIR)libwritestreamglue.a

17 years agoHad to add a function (BPY_call_importloader) and a variable (bprogname)
Maarten Gribnau [Thu, 12 Dec 2002 22:18:25 +0000 (22:18 +0000)]
Had to add a function (BPY_call_importloader) and a variable (bprogname)
to the stubs to get the player linking with Project Builder under OSX.
Maarten

17 years agoAnd the rest! ;) --aphex
Simon Clitherow [Thu, 12 Dec 2002 21:16:46 +0000 (21:16 +0000)]
And the rest! ;) --aphex

17 years agoModified the intern MSVC project files to make them more
Simon Clitherow [Thu, 12 Dec 2002 21:13:47 +0000 (21:13 +0000)]
Modified the intern MSVC project files to make them more
Win9x/ME-friendly.

This shouldn't break the NT/2000/XP builds, but let me know if it does!

--aphex

17 years agoUpdated the debug target defines. --aphex
Simon Clitherow [Thu, 12 Dec 2002 18:42:00 +0000 (18:42 +0000)]
Updated the debug target defines. --aphex

17 years agocompile and run source/blender/makesdna/intern/makesdna to (re)create
Stefan Gartner [Tue, 10 Dec 2002 23:55:59 +0000 (23:55 +0000)]
compile and run source/blender/makesdna/intern/makesdna to (re)create
source/blender/makesdna/intern/dna.c

This should fix the segfault at startup for non-x86 systems (tested on
linux/ppc and linux/x86). I would be glad if someone could check
if it works on other systems as well.

sgefant

17 years agoCommited Simon Clitherow's mods to BL_src.dsp
Kent Mein [Tue, 10 Dec 2002 04:38:49 +0000 (04:38 +0000)]
Commited Simon Clitherow's mods to BL_src.dsp

Kent
--
mein@cs.umn.edu

17 years agodon't crash when adding a UVsphere (Hos, heli)
Stefan Gartner [Sat, 7 Dec 2002 20:57:50 +0000 (20:57 +0000)]
don't crash when adding a UVsphere (Hos, heli)

sgefant

17 years agosgefants patch to remove the License Key stuff.
Kent Mein [Fri, 6 Dec 2002 19:48:37 +0000 (19:48 +0000)]
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

17 years agoOk this should have probably been three seperate things but I figured
Kent Mein [Tue, 3 Dec 2002 18:31:50 +0000 (18:31 +0000)]
Ok this should have probably been three seperate things but I figured
some people are getting sick of the email and the comments are small.

editmesh.c I added casts in a couple of places to remove a few warnings.

Then I cleaned up configure.ac a bit specifically the checks for
--with-ssl etc... so they work a little nicer.

I also modified source/Makefile.am to add targets for the player
Still needs some work I'm sure but its a start.

Kent
--
mein@cs.umn.edu

17 years agoHad to make the patch for casting a little more complicated.
Kent Mein [Tue, 3 Dec 2002 15:52:47 +0000 (15:52 +0000)]
Had to make the patch for casting a little more complicated.

      m_MotionState->getWorldOrientation((float)worldquat[1],
        (float)worldquat[2],(float)worldquat[3],(float)worldquat[0]);

Is now:

#ifdef dDOUBLE
      m_MotionState->getWorldOrientation((float)worldquat[1],
        (float)worldquat[2],(float)worldquat[3],(float)worldquat[0]);
#else
      m_MotionState->getWorldOrientation(worldquat[1],
        worldquat[2],worldquat[3],worldquat[0]);
#endif

Kent
--
mein@cs.umn.edu

17 years agoGot rid of unused files in intern/iksolver
Kent Mein [Tue, 3 Dec 2002 12:11:07 +0000 (12:11 +0000)]
Got rid of unused files in intern/iksolver
(removed them from cvs and from the Makefile.am)

Kent
--
mein@cs.umn.edu

17 years agoI moved source/darwin/blenderpublisher.app to source/darwin/blender.app
Kent Mein [Tue, 3 Dec 2002 10:02:40 +0000 (10:02 +0000)]
I moved source/darwin/blenderpublisher.app to source/darwin/blender.app
or at least tried.
You will probably want to rm -rf source/darwin/blenderpublisher.app

Kent
--
mein@cs.umn.edu

17 years agoI got this patch from sgefant Mostly its just casting floats as floats.
Kent Mein [Mon, 2 Dec 2002 16:30:13 +0000 (16:30 +0000)]
I got this patch from sgefant  Mostly its just casting floats as floats.
(also adding a couple of include pathes)
changes in Ode*.cpp to get it compile with gcc 2.95.4
to make it compile with ./configure --with-gameengine
                        --enable-gameplayer

Kent
--
mein@cs.umn.edu

17 years agoI added
Kent Mein [Mon, 2 Dec 2002 09:48:10 +0000 (09:48 +0000)]
I added
#include <stdlib.h>
To fix a problem with a machine not being able to find malloc

Kent

17 years agoAdded img lib to the include path of the MSVC project file.
Maarten Gribnau [Sun, 1 Dec 2002 23:03:08 +0000 (23:03 +0000)]
Added img lib to the include path of the MSVC project file.
Maarten

17 years agoUpdated MSVC project file with the new frozen files.
Maarten Gribnau [Sun, 1 Dec 2002 23:00:21 +0000 (23:00 +0000)]
Updated MSVC project file with the new frozen files.
Maarten

17 years agoThese freeze changes give working frozen Python code on Windows.
Maarten Gribnau [Sun, 1 Dec 2002 22:58:29 +0000 (22:58 +0000)]
These freeze changes give working frozen Python code on Windows.
Maarten

17 years agowrapped S_ISREG and S_ISDIR with a define to suppress compiler
Maarten Gribnau [Sun, 1 Dec 2002 22:41:22 +0000 (22:41 +0000)]
wrapped S_ISREG and S_ISDIR with a define to suppress compiler
complaints about redefinitions. These occur now that Python 2.2 is included.

17 years agoRemoved non-existing Tools from the Blender module.
Maarten Gribnau [Sun, 1 Dec 2002 21:24:45 +0000 (21:24 +0000)]
Removed non-existing Tools from the Blender module.
This allowed me to get Python working in Blender.
Maarten

17 years agoChanged "www.blender.nl" to "www.blender.org" for that little display
Frederick Lee [Sun, 1 Dec 2002 10:52:01 +0000 (10:52 +0000)]
Changed "blender.nl" to "www.blender.org" for that little display
thingy in the upper right corner.

-Fred <phaethon>

17 years agoReverting to version 1.3 - michel
Michel Selten [Sat, 30 Nov 2002 15:34:57 +0000 (15:34 +0000)]
Reverting to version 1.3 - michel

17 years agoadded -f option to the rm command. (Clean target) - michel
Michel Selten [Sat, 30 Nov 2002 15:00:47 +0000 (15:00 +0000)]
added -f option to the rm command. (Clean target) - michel

17 years agoAutotools-specific freeze_ac.py and makemakefile_ac.py. Original makemakefile.py...
Frederick Lee [Sat, 30 Nov 2002 05:43:14 +0000 (05:43 +0000)]
Autotools-specific freeze_ac.py and makemakefile_ac.py.  Original makemakefile.py reverted for sake of original build system.  Makefile.am modified accordingly.

17 years agoSomehow the img directory got lost from the list of include paths
Maarten Gribnau [Fri, 29 Nov 2002 20:51:40 +0000 (20:51 +0000)]
Somehow the img directory got lost from the list of include paths
Maarten

17 years agoBunch of small fixes emailed to me from phaethon
Kent Mein [Fri, 29 Nov 2002 17:07:58 +0000 (17:07 +0000)]
Bunch of small fixes emailed to me from phaethon

Kent
--
mein@cs.umn.edu

17 years agoI know this is a bugfix but hey its simple :)
Kent Mein [Wed, 27 Nov 2002 17:09:40 +0000 (17:09 +0000)]
I know this is a bugfix but hey its simple :)
More info on it can be found here:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=176

Kent
--
mein@cs.umn.edu

17 years agoFixed some stuipid bugs in the Makefile.am's and
Kent Mein [Wed, 27 Nov 2002 16:25:54 +0000 (16:25 +0000)]
Fixed some stuipid bugs in the Makefile.am's and
added --with-ode=prefix to configure.ac

Getting closer to building...

Kent
--
mein@cs.umn.edu

17 years agoLast of the config.h mods...
Kent Mein [Mon, 25 Nov 2002 15:29:57 +0000 (15:29 +0000)]
Last of the config.h mods...
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

added to these files.

Kent
--
mein@cs.umn.edu

17 years agoupdated .c files to include:
Kent Mein [Mon, 25 Nov 2002 12:02:15 +0000 (12:02 +0000)]
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

17 years agoDid all of the .h's in source
Kent Mein [Mon, 25 Nov 2002 11:16:17 +0000 (11:16 +0000)]
Did all of the .h's in source
(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac

Kent
--
mein@cs.umn.edu

17 years agoadded the following to configure.ac
Kent Mein [Mon, 25 Nov 2002 10:13:52 +0000 (10:13 +0000)]
added the following to configure.ac
+case "$target" in
+  *sparc* )
+        AC_DEFINE(SUN_OGL_NO_VERTEX_MACROS,1,[Fix for Sun's GL])
+  ;;
+esac
+

Also added the include to the above .c files.
I'm going to add it to everything in source just haven't gotten that far yet.

Kent

17 years agoYes I did it again ;)
Kent Mein [Mon, 25 Nov 2002 09:53:07 +0000 (09:53 +0000)]
Yes I did it again ;)

added the following 3 lines to everything in the intern dir:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

Kent
--
mein@cs.umn.edu

17 years agoRobert Wenzlaff's fix for AVI_JPEGS.
Kent Mein [Fri, 22 Nov 2002 15:59:38 +0000 (15:59 +0000)]
Robert Wenzlaff's fix for  AVI_JPEGS.

Kent
--
mein@cs.umn.edu

17 years agoMoved the stuff on autoconfig to doc/autoconfig.txt and added quite a bit
Kent Mein [Thu, 21 Nov 2002 14:20:42 +0000 (14:20 +0000)]
Moved the stuff on autoconfig to doc/autoconfig.txt and added quite a bit
more on the basics of it.  (as well as put a link to it in the README)

Kent
--
mein@cs.umn.edu

17 years agoremoved our licensing info as requested :)
Kent Mein [Wed, 20 Nov 2002 14:43:09 +0000 (14:43 +0000)]
removed our licensing info as requested  :)

Kent
--
mein@cs.umn.edu

17 years agoOk I added the following options to configure.ac
Kent Mein [Tue, 19 Nov 2002 18:51:52 +0000 (18:51 +0000)]
Ok I added the following options to configure.ac
  --with-ssl=PFX        Path to ssl files
  --with-libjpeg=PFX    Path to libjpeg files
  --with-libpng=PFX     Path to libpng files
  --with-libz=PFX       Path to libz files
  --with-mozilla=PFX    Path to mozilla files
(The mozilla one still needs some work but its a start)

I also cleaned up the blender/intern automake files a little as far as
the python stuff goes, it still isn't doing the correct thing in
intern/python/freeze but its a little closer I think.

Anyone that has ideas on this I'm all ears :)

Kent
--
mein@cs.umn.edu

17 years ago--- IK_JacobianSolver.cpp 2002/10/13 16:07:40 1.2
Kent Mein [Tue, 19 Nov 2002 18:48:07 +0000 (18:48 +0000)]
--- IK_JacobianSolver.cpp       2002/10/13 16:07:40     1.2
+++ IK_JacobianSolver.cpp       2002/11/19 18:47:33
@@ -134,7 +134,7 @@
        m_svd_w = 0;
        m_svd_v = 0;

-       TNT::SVD(m_svd_u,m_svd_w,m_svd_v);
+       TNT::SVD_a(m_svd_u,m_svd_w,m_svd_v);

        // invert the SVD and compute inverse

Fix for why it wasn't building with configure

Kent
--
mein@cs.umn.edu

17 years agoFixed a typo. Had a [ added.
Kent Mein [Tue, 19 Nov 2002 00:09:54 +0000 (00:09 +0000)]
Fixed a typo.  Had a [ added.

Kent
--
mein@cs.umn.edu

17 years agoremoved the comments about libtool not working :)
Kent Mein [Fri, 15 Nov 2002 18:41:50 +0000 (18:41 +0000)]
removed the comments about libtool not working :)

Kent
--
mein@cs.umn.edu

17 years agoOk were getting somewhere here ;)
Kent Mein [Fri, 15 Nov 2002 06:57:59 +0000 (06:57 +0000)]
Ok were getting somewhere here ;)
I'm not an expert at this but I think I'm getting the hang of it quite nicely.
I added autoconf stuff for most of the intern dir.  I move readme.txt to
README and added the following section to it:

*********************************************************************
*********************************************************************
We are in the process of moving things over to automake/autoconf
The old makefiles are still in place and will work.  If you want to
get a working blender skip down to the next section and use this readme as
a guide.

If you want to play with the new autoconf environment you need to do the
following, inside this dir:
./bootstrap
mkdir ../newdir
cd ../newdir
../blender/configure

Take a look at INSTALL for options you can give to configure.
About half of the intern directory is done so you won't get very far.
If you want to work on fixing it you need to edit Makefile.am's and
configure.ac
after editing those files you need to run bootstrap again.

TODO to finish up the intern dir
Square away how ghost works.
(i.e. would be nice if under windows you could choose X11 or normal windows
libs, same with macos.. right now its a cludge and it doesn't do one explicitly
probably involves changing the way configure.ac picks stuff)

Get intern/python figured out.

Add the following to configure.ac
        --with-openssl=dir
        --with-mozilla=dir      (get it so nspr is autodetected here)
        --with-nspr=dir         (incase in different dir)
        --with-jpeg=dir
        --with-png=dir
        --with-zlib=dir

figure out why the heck the libtool that gets created is wrong on my
system (mein@cs.umn.edu) :)

Kent
--
mein@cs.umn.edu

17 years agoSome more clean up in the intern MSVC project files.
Maarten Gribnau [Thu, 14 Nov 2002 22:43:55 +0000 (22:43 +0000)]
Some more clean up in the intern MSVC project files.
Renamed the bmfont project files and updated them.
Maarten

17 years agoAdded more frozen files to the MSVC project.
Maarten Gribnau [Thu, 14 Nov 2002 16:51:01 +0000 (16:51 +0000)]
Added more frozen files to the MSVC project.
Maarten

17 years agoChanged module name utils to util so that freeze will find the quaternions
Maarten Gribnau [Thu, 14 Nov 2002 16:50:24 +0000 (16:50 +0000)]
Changed module name utils to util so that freeze will find the quaternions
etc. there.
Maarten

17 years agoFixed problem with the main intern MSVC project.
Maarten Gribnau [Thu, 14 Nov 2002 08:23:57 +0000 (08:23 +0000)]
Fixed problem with the main intern MSVC project.
Maarten

17 years agoCommitting LarstiQ's patch for NAN_PYTHON_BINARY and NAN_MXTEXTTOOLS
Kent Mein [Wed, 13 Nov 2002 16:09:38 +0000 (16:09 +0000)]
Committing LarstiQ's patch for NAN_PYTHON_BINARY and NAN_MXTEXTTOOLS
It worked on my system and no one else has said anything.

Kent
--
mein@cs.umn.edu

17 years agobug fix in vrml (inventor) import.
Maarten Gribnau [Tue, 12 Nov 2002 20:12:40 +0000 (20:12 +0000)]
bug fix in vrml (inventor) import.
Maarten

17 years agoAdded a link for mozilla downloads.
Kent Mein [Tue, 12 Nov 2002 15:56:33 +0000 (15:56 +0000)]
Added a link for mozilla downloads.

Kent
--
mein@cs.umn.edu

17 years ago- ALenum alc_error = alcGetError(); // openal_2.14+
Kent Mein [Tue, 12 Nov 2002 15:26:05 +0000 (15:26 +0000)]
-               ALenum alc_error = alcGetError();       // openal_2.14+
+               ALenum alc_error = alcGetError(NULL);   // openal_2.14+

Fix to get it to work with latest version of openal.

Kent
--
mein@cs.umn.edu

17 years agoModified the MSVC project files to use the static jpeg library as it used to be.
Maarten Gribnau [Mon, 11 Nov 2002 23:58:52 +0000 (23:58 +0000)]
Modified the MSVC project files to use the static jpeg library as it used to be.
Maarten

17 years agoMade a dependency so that the MSVC intern project file will actually call the
Maarten Gribnau [Mon, 11 Nov 2002 22:48:06 +0000 (22:48 +0000)]
Made a dependency so that the MSVC intern project file will actually call the
batch file that freezes the Blender Python code.
I had to add a dummy.cpp file to the freeze directory to make MSVC
understand it should call the batch file in a post build step. If someone else
has a better idea, feel free to change it!
Maarten

17 years agoFixed the MSVC project files. They now build both the release and debug
Maarten Gribnau [Mon, 11 Nov 2002 21:59:46 +0000 (21:59 +0000)]
Fixed the MSVC project files. They now build both the release and debug
targets of creator publisher and player.
Assuming you have the libraries installed in lib/windows of course...
Maarten

17 years agoChanged -O3 to -O2 under linux
Kent Mein [Mon, 11 Nov 2002 21:33:11 +0000 (21:33 +0000)]
Changed -O3 to -O2 under linux

17 years ago- python $(PYFLAGS) freeze.py -d -x os -x pprint -x Blender -I $(SRCDIR) -o...
Kent Mein [Mon, 11 Nov 2002 21:26:19 +0000 (21:26 +0000)]
-       python $(PYFLAGS) freeze.py -d -x os -x pprint -x Blender -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py
+       python $(PYFLAGS) freeze.py -d -x os -x pprint -I $(SRCDIR) -o $(TARGETDIR) $(SRCDIR)/VRMLmain.py

Freeze the Blender module
(I got this from some other people on #blendersauce and truthfully I have
no idea if this is correct or not so if someone else could look at it
that would be great)

Kent
--
mein@cs.umn.edu

17 years agoConverted icon files to binary files (cvs admin -kb) and restored them.
Maarten Gribnau [Mon, 11 Nov 2002 20:57:09 +0000 (20:57 +0000)]
Converted icon files to binary files (cvs admin -kb) and restored them.
Maarten

17 years agoFixed action.c (brought it back to 1.2)
Kent Mein [Mon, 11 Nov 2002 14:46:27 +0000 (14:46 +0000)]
Fixed action.c (brought it back to 1.2)

Kent
--
mein@cs.umn.edu

17 years agoFirst round of updates to project files. There is a working game player (debug
Maarten Gribnau [Mon, 11 Nov 2002 00:02:52 +0000 (00:02 +0000)]
First round of updates to project files. There is a working game player (debug
target) as long as you have installed the right libraries.
Added project file for Blender Ode.
Maarten

17 years agoAdded another project to freeze Blender Python code from the main intern
Maarten Gribnau [Sun, 10 Nov 2002 23:54:39 +0000 (23:54 +0000)]
Added another project to freeze Blender Python code from the main intern
MSVC workspace. It is not finished completely but it works (through a
batchfile).
Maarten