Hi Fabrice,

    Thanks really for taking time to reply.

1. I had thought initially that the "ghost" effect might have
something to do with the lighting. However, the same model gets
rendered properly in 3.5 (with just the light-rotation issue
remaining) but not in 3.4.2/awaylite. I strongly doubt if it has to do
anything with light parameters. BTW, I have kept the parameters from
one of your examples which were similar to what you have given above.
I have also tried changing them and see the effect.You can notice this
in the examples given in previous message. I am also posting here the
demos of clothes as one more reference. I have uploaded the .as files
for both version 3.5 and awaylite tests.
Filename - clothes-both.zip

Regular Away3D FP10 version 3.5:
http://www.dnyandeep.com/demos/3d/away-test/clothes-512/Clothes.html

Awaylite test:
http://www.dnyandeep.com//demos/3d/away-test/clothes-512-awaylite/Clothes.html

However, I noticed that the quality of the material gets reduced as I
reduce the normal map size. I wonder how it will affect with real
cloth-fabric textures in the real app. Need to decide on final size of
normal map for this reason. Also, I was willing to implement my final
solution using Awaylite as DOT3BitmapMaterial is also available there
and we have no problem targetting Flash Player 10. We can ignore FP9
for our application. However, the artifacts I am looking into Awaylite
demo above are so horrible. I can understand that it uses basic Z
sorter. However, if you can guide how I can use the CORRECT_Z_SORT/
INTERSECTING_OBJECTS method that is available in regular Away3D, it
would be truly helpful.

Secondly, I saw a link while studying on this:
http://www.brighthub.com/hubfolio/matthew-casperson/articles/66613.aspx

He suggest something like using "layer" property. Do you think it is
the solution here for me? In fact, information about how we can use
the CORRECT Z sorting will be the best thing anyway. We really want
the performance Awaylite offers with DOT3Material. Only thing lacks is
the sorting. May be this has already queried to you by many genius
persons out there, or you might had the solution already :). Please
advice.

2. "also your code must hold quite expensive tasks in your demo
cloths, even with player 10.1 rc7 in Safari 5.0
I get 1 fps for 550 polys rendered...  so either you have super
expensive stuffs running next to Away or
you use monstrous map sizes... "

-- Yes, I was using maps of 2048 X 2048. I have deployed demo with 512
X 512.It runs much faster. However, my code does really nothing apart
from this.

"Thats strange, I mean, of course Im kiddin about max soft being
amateuristic, the app is in state of burning
perfect normalmaps in either tangent or objectspace taste. However,
they might add influence to calcs such as light
information. Make sure you do use only objectspace, with zero options.
"

-- I did not get what you mean by "zero options" here. However, Prefab
does the job well (though a bit slower as it processes everything with
actionscript and it is very  understandable). So this is not much an
area of tension for me right now, at least it gives me a solution than
nothing compared to big software like Max. Only thing is that light is
rotating with the model, really need help there.


3."also keep in mind that as underlined yesterday, the directional
light do not "lookat" your model as a spotlight would do.
read "positioning directional light in V 3.5""

-- Yeah, I have been reading through like a mad man for last so many
days the material wherever I find a word "normal map"  :). I
understand why behaviour implemented in Away3D of Directional lights
is like how it is. Especially, I got it from David Lenaert's comments
in it. Me too had that confusion earlier. May be I have been expecting
something like MultipassPBMaterial demo of "Lanterns" from David.
While we talk about this, do you think that the way I am implementing
this (using DOT3Material) now is the perfect way for this kind of
project. Or should I be using other materials like
"MultipassPBMaterial" or anything else?

Finally, I would again humbly request you to look at my 3DS files and
advice on where I  could be going wrong with the lighting of the
models. As said earlier, I can send you both high-poly and low-poly
versions and whatever else I have. Also, I will be blessed if you can
provide some of your time on GTalk (I will communicate only with your
prior appointment), I can also provide you all information about what
I am doing before meeting or as you go on asking on chat. It will help
me solve this problem lot faster (need to prepare the demo to be given
to client :)). In case this is possible, I will stay available in
whatever time-schedule that suits you (even for just 15-20 mins). I
understand that this is only possible though, if your busy schedule
permits it, so I understand even if you are unavailable on GTalk. It
is just that I could solve the only problem pending for last 2-3
weeks.

Please advice, Sir!


--
Sushant Yalgudkar

Reply via email to