[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11630] branches/soc-2007-mosani/source/ blender/render/render_api/plugins: renaming the 'aqsis' plugin to ' rib_export' to make it

Aaron Moore two.a.ron at gmail.com
Fri Aug 17 04:40:34 CEST 2007


Revision: 11630
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11630
Author:   mosani
Date:     2007-08-17 04:40:33 +0200 (Fri, 17 Aug 2007)

Log Message:
-----------
renaming the 'aqsis' plugin to 'rib_export' to make it
 less confusing as to what it actually does.

Modified Paths:
--------------
    branches/soc-2007-mosani/source/blender/render/render_api/plugins/rib_export/SConstruct
    branches/soc-2007-mosani/source/blender/render/render_api/plugins/rib_export/aqsis.c

Added Paths:
-----------
    branches/soc-2007-mosani/source/blender/render/render_api/plugins/rib_export/

Removed Paths:
-------------
    branches/soc-2007-mosani/source/blender/render/render_api/plugins/aqsis/

Copied: branches/soc-2007-mosani/source/blender/render/render_api/plugins/rib_export (from rev 11622, branches/soc-2007-mosani/source/blender/render/render_api/plugins/aqsis)

Modified: branches/soc-2007-mosani/source/blender/render/render_api/plugins/rib_export/SConstruct
===================================================================
--- branches/soc-2007-mosani/source/blender/render/render_api/plugins/aqsis/SConstruct	2007-08-16 07:41:48 UTC (rev 11622)
+++ branches/soc-2007-mosani/source/blender/render/render_api/plugins/rib_export/SConstruct	2007-08-17 02:40:33 UTC (rev 11630)
@@ -3,10 +3,11 @@
 # Compilation variables to modify.
 ###################################
 
-library_name = "aqsis"
+library_name = "aqsis_plugin"
 library_sources = ["aqsis.c"]
 
 include_paths = [".", "../../../../blenpluginapi", "../../include", "../../../../makesdna"]
+include_paths += ["/usr/include/aqsis"]
 compiler_flags = '-g'
 linker_flags = '-g'
 
@@ -29,7 +30,7 @@
 # COMPILE #
 ###########
 
-lib = env.SharedLibrary( library_name, library_sources )
+lib = env.SharedLibrary( library_name, library_sources, LIBS=["aqsis"], LIBPATH=["/usr/lib"] )
 env.Install( '../', lib )
 env.Alias( 'install', '../' )
 

Modified: branches/soc-2007-mosani/source/blender/render/render_api/plugins/rib_export/aqsis.c
===================================================================
--- branches/soc-2007-mosani/source/blender/render/render_api/plugins/aqsis/aqsis.c	2007-08-16 07:41:48 UTC (rev 11622)
+++ branches/soc-2007-mosani/source/blender/render/render_api/plugins/rib_export/aqsis.c	2007-08-17 02:40:33 UTC (rev 11630)
@@ -4,6 +4,7 @@
 #include "PLU_api.h"
 #include "RenderAPI.h"
 #include "aqsis_helpers.h"
+#include "ri.h"
 
 PLU_IMPORT_API(register)
 RND_IMPORT_FULL_API
@@ -31,7 +32,7 @@
 	fprintf( aqsis_rib, "Projection \"%s\" \"fov\" %f\n",
 		RND_is_perspective( scene ) ? "perspective" : "orthagonal",
 		RND_get_lens( scene ) );
-	fprintf( aqsis_rib, "Scale 1 1 -1\n" );
+	fprintf( aqsis_rib, "Scale .2 .2 -.2\n" );
 	fclose( aqsis_rib );
 }
 static void render_frame( RNDScene scene, RNDResult result )





More information about the Bf-blender-cvs mailing list