[Bf-committers] Patch: Render API preview function

2010-12-07 Thread Matt Ebb
( Re-posted from the patch tracker, since it'll be down soon ) A while ago, Brecht added the do_preview flag for the render API, to allow external renderers to generate preview renders for the property editors (eg. materials). This was a good start, but it's not really enough - it just exposes ble

Re: [Bf-committers] Patch: Render API preview function

2010-12-08 Thread Doug Hammond
Hi Matt, That sounds like a sensible idea, I think you might also need to pass the pointer to the preview object as well so that the external renderer can handle the different preview types. Cheers, Doug. On 8 December 2010 05:46, Matt Ebb wrote: > ( Re-posted from the patch tracker, since it

Re: [Bf-committers] Patch: Render API preview function

2010-12-08 Thread Matt Ebb
On Thu, Dec 9, 2010 at 12:41 AM, Doug Hammond wrote: > Hi Matt, > > That sounds like a sensible idea, I think you might also need to pass the > pointer to the preview object as well so that the external renderer can > handle the different preview types. The preview types enum is already available

Re: [Bf-committers] Patch: Render API preview function

2010-12-08 Thread Doug Hammond
Hi Matt, That's mostly what I'm doing at the minute. However, with the suzanne type having a handle to the object data is much easier than trying to create a new temporary suzanne for preview export. Cheers, Doug. On 8 December 2010 23:51, Matt Ebb wrote: > On Thu, Dec 9, 2010 at 12:41 AM, Do