[Bf-committers] Render Plugin Development

Chris Want cwant at ualberta.ca
Wed Aug 15 19:19:54 CEST 2007

Aaron Moore wrote:
> Hi,
> I've written a tutorial which explains the basics of how to write a
> plugin (as best I can for the moment):
> http://wiki.blender.org/index.php/Render_API_Plugin_Tutorial
> Again, let me know if you have troubles with it.
> Aaron

I have problems. What is the purpose of the 'Render API' button?
In particular, I can select 'aqsis' as a renderer and either
render with that button pressed, or not -- what is supposed to
be the difference?

When I render with 'Render API' selected, the render has lines on it,
but sometimes crashes with:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47874266048672 (LWP 23424)]
0x000000000086d660 in do_merge_tile (rr=0x16f02c0, rrpart=0x7fff171daf10,
     target=0x2aaaad6d84b0, tile=0x2aaaad504cf0, pixsize=4)
     at source/blender/render/render_api/source/RND_pass.c:143
143                     memcpy(target, tile, copylen);

When I compile the aqsis plugin, aqsis shows up in the renderer
list. If I render the default scene with aqsis selected I get a
segfault, in particular:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1083631936 (LWP 23276)]
0x0000000000826dd8 in lamp_get_shadow (lar=0x169d170, shi=0x409680c8,
     inp=0.398955554, shadfac=0x40967dd0, do_real=0)
     at source/blender/render/intern/source/shadeoutput.c:1022
1022            if(do_real || lss->samplenr!=shi->samplenr) {

If I render with aqsis selected and 'Render API' pressed, blender
sometimes crashes, but othertimes just creates a black picture.
Blender often crashes on exit if I have rendered, regardless of
what I do, in particular:

0x00000000007dd849 in plugin_shutdown ()
     at source/blender/blenpluginapi/intern/pluginapi.c:1881
1881                    for( d = desc_lists[i].first; d; d = d->next )


More information about the Bf-committers mailing list