Hi Fabrice,
I have been going crazy while testing this. However I found one
thing regarding awaylite. The problems were caused due to scaling of
the model. When I change the scale of model, the lighting on the model
was showing ghost like effect. I had to alter shininess and specular
properties of the material to get proper results and now it is working
fine. I did not expect this at all. Do you think this should happen?
As you suggested I switched to Awaylite and giving here the latest
results.
http://www.dnyandeep.com/demos/3d/away-test/complete-model-awaylite/Model.html
It has started looking great with light effects. However, I still have
few problems:
1. For correct rendering, I have used 'layer' for each sub-mesh, but
it is giving odd results at certain angles with sleeves while the
model is rotating. In front and back view it is fine. Otherwise it is
looking wrong. The 'hands' Mesh of the model is also becoming
invisible at certain angles. It is not issue of 'layer' system, just
that it is not a solution for my problem as I believe. Can you provide
hints how I can correct this? I have heard something related to Canvas
in Awaylite which is yet to be in the trunk I believe. However, I am
not sure how to tackle this. Your advice will be great as always.
2. I wanted to have CORRECT-Z-SORT/INTERSECT methods from Away to
Awaylite. I understand that the performance will be hit certainly.
Still, isn't there any way e.g. copy-pasting/putting the required
methods/classes into required folders so that I can use correct-z-
sorting with Awaylite, as I am not sure how I can solve this issue of
sorting. Here is the demo of default sorting:
http://www.dnyandeep.com/demos/3d/away-test/complete-model-awaylite/improper-z-sorting-Model.html
I await your clever solution to these :).
--
Sushant