[cgkit-commits] SF.net SVN: cgkit:[266] cgkit/trunk
Brought to you by:
mbaas
From: <mb...@us...> - 2009-01-07 21:58:42
|
Revision: 266 http://cgkit.svn.sourceforge.net/cgkit/?rev=266&view=rev Author: mbaas Date: 2009-01-07 21:32:31 +0000 (Wed, 07 Jan 2009) Log Message: ----------- The frame block now uses the frame number from the timer object (instead of 0). Modified Paths: -------------- cgkit/trunk/cgkit/ribexport.py cgkit/trunk/changelog.txt Modified: cgkit/trunk/cgkit/ribexport.py =================================================================== --- cgkit/trunk/cgkit/ribexport.py 2009-01-07 21:31:12 UTC (rev 265) +++ cgkit/trunk/cgkit/ribexport.py 2009-01-07 21:32:31 UTC (rev 266) @@ -109,6 +109,7 @@ scene = getScene() self.timestep = scene.timer().timestep + frameNr = int(round(scene.timer().frame)) self.bake = bake # A list with all light sources in the scene @@ -266,7 +267,7 @@ if isinstance(rpass, TexPass): # nr+=1 # print "\015Pass %d..."%nr, - rpass.doPass(0) + rpass.doPass(frameNr) rpass._done = True # Other passes... @@ -275,7 +276,7 @@ continue # nr+=1 # print "\015Pass %d..."%nr, - rpass.doPass(0) + rpass.doPass(frameNr) rpass._done = True RiEnd() @@ -1531,7 +1532,7 @@ } } - """ +""" def shaderParams(self, passes): """Return a dictionary with shader parameters and their values.""" @@ -1589,7 +1590,7 @@ Cl = att*intensity*color "rgb" (1,1,1); } } - """ +""" def shaderParams(self, passes): """Return a dictionary with shader parameters and their values.""" @@ -1664,7 +1665,7 @@ } } - """ +""" def shaderParams(self, passes): """Return a dictionary with shader parameters and their values.""" @@ -1716,7 +1717,7 @@ Cl = intensity * color "rgb" (1,1,1); } } - """ +""" def shaderParams(self, passes): """Return a dictionary with shader parameters and their values.""" @@ -1877,7 +1878,7 @@ } BAKE_END } - """ +""" def surfaceShaderParams(self, passes): """Return a dictionary with shader parameters and their values.""" Modified: cgkit/trunk/changelog.txt =================================================================== --- cgkit/trunk/changelog.txt 2009-01-07 21:31:12 UTC (rev 265) +++ cgkit/trunk/changelog.txt 2009-01-07 21:32:31 UTC (rev 266) @@ -24,6 +24,8 @@ the module. An error is only triggered when one of the functions gets called. - rply: The sources can now also be compiled using a C++ compiler. Thanks to Chris Foster for the patch! +- ribexport: The Frame block now uses the frame number from the timer object + (instead of always using 0). - ribexport: Added RenderMan support for the torus geometry. - ri/cri: Passing unicode strings in a parameter list has caused an exception. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |