Manta Interactive Ray Tracer Development Mailing List

Text archives Help


[MANTA] r919 - trunk/SwigInterface


Chronological Thread 
  • From: bigler@sci.utah.edu
  • To: manta@sci.utah.edu
  • Subject: [MANTA] r919 - trunk/SwigInterface
  • Date: Thu, 9 Feb 2006 17:46:09 -0700 (MST)

Author: bigler
Date: Thu Feb  9 17:46:08 2006
New Revision: 919

Modified:
   trunk/SwigInterface/manta.i
Log:

Added TGAFile reader and ImageTexture<Color>.


Modified: trunk/SwigInterface/manta.i
==============================================================================
--- trunk/SwigInterface/manta.i (original)
+++ trunk/SwigInterface/manta.i Thu Feb  9 17:46:08 2006
@@ -228,16 +228,26 @@
 }
 
 /////////////////////////////////////////////////////
+// Image stuff
+%{
+#include <Image/TGAFile.h>
+%}
+
+%include <Image/TGAFile.h>
+
+/////////////////////////////////////////////////////
 // Textures
 %{
 #include <Interface/Texture.h>
 #include <Model/Textures/Constant.h>
 #include <Model/Textures/CheckerTexture.h>
+#include <Model/Textures/ImageTexture.h>
 %}
 
 %include <Interface/Texture.h>
 %include <Model/Textures/Constant.h>
 %include <Model/Textures/CheckerTexture.h>
+%include <Model/Textures/ImageTexture.h>
 
 namespace Manta {
   // Textures.  If you add a new texture like FunkyTexture<MagicType>,
@@ -250,6 +260,7 @@
   %template(Texture_ColorComponent) Texture<Manta::ColorComponent>;
   %template(CheckerTexture_ColorComponent) 
CheckerTexture<Manta::ColorComponent>;
   %template(Constant_Color) Constant<Color>;
+  %template(ImageTexture_Color) ImageTexture<Manta::Color>;
 }
 
 /////////////////////////////////////////////////////




  • [MANTA] r919 - trunk/SwigInterface, bigler, 02/09/2006

Archive powered by MHonArc 2.6.16.

Top of page