Aman5692 / min3d

Automatically exported from code.google.com/p/min3d
0 stars 0 forks source link

Load colors from .obj 3d model #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Export a 3dmode with colors from blender to the .obj format
2. load it with mind3d
3. results: colors of the model are not loaded

What is the expected output? What do you see instead?

No colours,.. i expect the colors to work

Original issue reported on code.google.com by tje...@gmail.com on 27 Oct 2010 at 8:50

GoogleCodeExporter commented 9 years ago
This has been fixed. Don't forget to set the colorMaterialEnabled property:

cube.colorMaterialEnabled(true);

Original comment by ippeldv@gmail.com on 1 Nov 2010 at 4:08

GoogleCodeExporter commented 9 years ago
I also created some code wich loads the color for the .mtl file. However i 
couldt get lightning and colors to work simultaneously.

Original comment by tje...@gmail.com on 1 Nov 2010 at 4:09

GoogleCodeExporter commented 9 years ago
I also could not, no color with lighning.

Original comment by tom...@wh2.fiberbit.net on 13 Apr 2011 at 4:02

GoogleCodeExporter commented 9 years ago
where i will find this function color.MaterialEnabled(true);??

Original comment by asadmak...@gmail.com on 1 Oct 2011 at 5:26