Open Neugls opened 12 years ago
Although we have not made any official decisions regarding supporting old versions of the engine, I'm afraid that it's unlikely that this bug will be fixed for Away3D 3.6, now that stable Flash Player 11 has been out for almost a year, and Away3D 4.0 was first published a year ago. All our effort is going towards further developing the total rewrite of the engine that is Away3D 4.x.
Thank you for reply, can you give me any tip for me what can i do to fix this for I have an old project used away3d 3.6, I think I should make it fixed before using the Away3d 4.x
Neugls Work Studio Neugls NeuglsWorkStudio@gmail.com
I think I have found out where caused this problem after a days time reading the source code of Away3d 3.6. This bug may appear when you use the BitmapMaterial, For the render rendering a triangle face, it calls the renderTriangle method of the BitmapMaterial. In BitmapMaterial, it used a dictionary called _faceDictionary to store the uvt data of the face , when the uv data changed in the faces, the _faceDictionary did not changes, so it caused the problem. To sets the invalidated property of the _faceMaterialVO in dictionary _faceDictionary may fix this bug. I extends the BitmapMaterial and add a new method to update this, it works.
Feel free to file a pull request if you fix the issue in the Away3D code.
If you changes the segments of Plane or Cube which I have noticed, the result may have UV mapping error. I have the following code