[Milkymist-devel] Is there any bugs in TMU2?
Sébastien Bourdeauducq
sebastien.bourdeauducq at lekernel.net
Tue Mar 2 00:52:05 PST 2010
---------- Forwarded Message ----------
Subject: Re: [Milkymist-devel] Is there any bugs in TMU2?
Date: Tuesday 02 March 2010
From: FangJacky <shangin at msn.com>
To: milkymist <devel-bounces at lists.milkymist.org>
Hello Sébastien,
> Fix your texture coordinates and it should do it (works for me):
>
> if(wbm_adr_o[2])
> wbm_dat_i = y*480*64;
> else
> wbm_dat_i = x*640*64;
>
> Can you try to simulate your other problem (with the 3x3 mesh)?
Yes, you are right, now I can simulation also. thanks.
In order to make the simulate easier, I let the hmeshlast = vmeshlast =2,
then I try to map the src image into the dst meshes, please see the
question.jpg file.
the src mesh like this:
v00 v10 v20
v01 v11 v21
v02 v12 v22
the dst meshes like this:
v00 v20
v10
v01 v11 v21
v12
v02 v22
After simulation, I found the out.png is far away from the supposed, please
see the out.png and referrence to question.jpg file.
How can I map the src image into the wanted meshes correctly, thanks.
Regards,
_________________________________________________________________
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TL&swm=1
-------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lena.jpg
Type: image/pjpeg
Size: 19576 bytes
Desc: not available
URL: <http://lists.milkymist.org/pipermail/devel-milkymist.org/attachments/20100302/056e00ca/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: out.png
Type: image/png
Size: 21861 bytes
Desc: not available
URL: <http://lists.milkymist.org/pipermail/devel-milkymist.org/attachments/20100302/056e00ca/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tb_tmu2.v
Type: application/octet-stream
Size: 6240 bytes
Desc: not available
URL: <http://lists.milkymist.org/pipermail/devel-milkymist.org/attachments/20100302/056e00ca/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: question.JPG
Type: image/pjpeg
Size: 16479 bytes
Desc: not available
URL: <http://lists.milkymist.org/pipermail/devel-milkymist.org/attachments/20100302/056e00ca/attachment-0001.bin>
More information about the Devel
mailing list