Schipor / min3d

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

Lighting effects don't work on textured 3d models #71

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Take the example of ExampleMultipleLights.java from the SampleProject1
2. Instead of creating sphere from the min3D framework, create the sphere from 
obj file and load it from ObjParser. Apply texture on it from any jpg or png 
file
3. Keep the rest code of lighting as it is

What is the expected output? What do you see instead?
The diffusion lighting effect should work as it was working on the normal 
sphere. Instead, No lighting effect is working on the textured object

What version of the product are you using? On what operating system?
Code is taken from the trunk. Operation system is unix and testing environment 
is android 2.3.5

Please provide any additional information below.

Original issue reported on code.google.com by sn.anu...@gmail.com on 8 Jan 2012 at 6:56