Skip to content

Simple material colors lost #59

@dhabbyc

Description

@dhabbyc

Hello,

First thank you for your work.

I have a simple model on blender. Mostly extruded polygons. I have setted color for the objects in blender, like so (using python API):

mat = bpy.data.materials.new(name=name+"_mat")
mat.use_object_color = True
myobject.data.materials.append(mat)
myobject.color = 1.0, 1.0, 0.0, 1.0

When I export the model using the blender GUI, on osgviewer everything looks on shades of gray.

Am I missing something?

Blender 2.79b, OSG 3.6.3, win10 OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions