[Bf-python] Render

Joseph Gilbert models at paposo.com
Sat Mar 6 17:10:49 CET 2004


Just a note. The render module is pretty easy to build, however, I just
realized that a lot of items that are associated with rendering are
currently in the scene module. Things like getting/setting the aspect ratio
for the render for instance. Anyway, this isn't a big deal. For the things
that are part of the scene module that related to rendering, Scene will call
the functions from the render module and return. That way there is no API
breaking.

I was playing with the idea of making render a submodule of scene because
the scene struct contains a renderdata struct but most all of the render
options are applied globally. Also there are some items that apply to the
RE_render struct only (relating to the render window) which is not part of
the scene struct. So Im going with the idea of not making render a submodule
to scene and simply calling render functions from the scene module where
appropriate. This means the prototypes for render are non static.

Joseph




More information about the Bf-python mailing list