[Milkymist-devel] Is there any bugs in TMU2?

FangJacky shangin at msn.com
Tue Feb 23 22:55:07 PST 2010


Hi all,

 

Does anyone meets with the texture mapping problem when define a sets of vertexs for TMU2 rendering? 

 

in rpipe.c,

assume that the HMESHLAST is 2 and the VMESHLAST is 2 too,

then I will generate a 2x2 tessellated  meshes and they arrange as bellow.

 

v00      v01     v02

 

v10      v11     v12

 

v20      v21     v22

 

and then move v10  right in SPAM_W/4 in pixels, and move v12  left in SPAM_W/4 pixels,  the vertexs arrange as bellow.

 

v00      v01     v02

 

    v10  v11  v12

 

v20      v21     v22

 

I found this will cause texture mapping error by TMU2.

 

Anyone can tell me why? And how to solve the problem? Thanks a lot.

 

Jacky

 

 
 		 	   		  
_________________________________________________________________
MSN十年回馈,每位用户可免费获得价值25元的卡巴斯基反病毒软件2010激活码,快来领取!
http://kaba.msn.com.cn/?k=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.milkymist.org/pipermail/devel-milkymist.org/attachments/20100224/b306a6db/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rpipe.c
URL: <http://lists.milkymist.org/pipermail/devel-milkymist.org/attachments/20100224/b306a6db/attachment.asc>


More information about the Devel mailing list