[Bf-funboard] Plugins Objects Rendering

Robert Wenzlaff rwenzlaff at soylent-green.com
Thu Dec 9 14:22:33 CET 2004


On Thursday 09 December 2004 01:05, J L wrote:
> It would be neat if plugins (python scripts/small programs) could be linked
> to objects and be called during the rendering process to fulfill their
> purpose.
>
> By this, I mean that if a plane can have a grass creating plugin linked to
> it, and store settings for this plugin, then this plugin can create its
> "grass" at the start of rendering as a seperate file, loading the data for
> rendering ( and altering it if needed) and then disposing of it when
> rendering is finished.

How would this be different from an "frame changed" scriptlink? If you only 
want it done once,  a simple 

if frame==1:        #or any other indication that the data is "old"
	Make_Data()
	Write_Data_To_File() 
else:
	Get_Data_From_File()
 
Use_Data();

structure would work. 
-- 
*************************************************
Robert Wenzlaff       rwenzlaff at soylent-green.com



More information about the Bf-funboard mailing list