We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
The text was updated successfully, but these errors were encountered:
myobject.color = 1.0, 1.0, 0.0, 1.0 Not sure Python understand that...I'd try tuple () instead
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: