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 <[email protected]> wrote:

> On Thu, Dec 9, 2010 at 12:41 AM, Doug Hammond
> <[email protected]> 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 as
> material.preview_render_type. I think if you're going down the route
> of making a custom material preview scene for a specific renderer you
> probably want to use your own geometry, not what gets exported from
> Blender's preview scene - eg. using a proper sphere or subd primitives
> rather than meshes, or your own specific objects for the different
> types of geometry that the renderer may support.
>
> cheers
>
> Matt
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers
>
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to