Hi,

On Monday 31 May 2010 00:28:28 you wrote:
> after fixing a bug in PFPU, i get the following mesh dumped in apipe.c.
> 
> (1287 1551) (2165 1548) (3045 1543)
> (1328 2473) (2202 2468) (3077 2461)
> (1374 3393) (2245 3386) (3117 3378)
> 
> (1293 1553) (2170 1550) (3050 1546)
> (1332 2475) (2206 2470) (3082 2464)
> (1377 3395) (2249 3389) (3121 3381)
> 
> Are these realistic values?

Hmm, they might be OK. The values dumped are the fixed point texture 
coordinates with 6 bits of fractional part; to get the "actual" value, you 
should therefore divide them by 64.

For the first ones, this gives:
(20.10 24.23) (33.83 24.18)
(20.75 38.64) (34.40 38.56)

Since the "normal" (with no transform) rectangle size is 16x16 pixels, this 
corresponds (more or less) to zooming.

I suggest you begin with a super simple preset, that keeps all the default 
values for the parameters that alter the texture coordinates. For example, you 
can get such a preset by entering "irender" and then simply "nWaveMode=3".
The TMU should therefore not distort the picture, and the fixed point texture 
coordinates should become (1024=16*64):
(0 0) (1024 0) (2048 0) ...
(0 1024) (1024 1024)...
...

Then it should be merely a matter of the wave drawing code working or not...

Regards,
Sébastien
PS. You can check out the MilkDrop preset authoring guide at
http://www.nullsoft.com/free/milkdrop/milkdrop_preset_authoring.html
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkym...@freenode
Webchat: www.milkymist.org/irc.html
Wiki: www.milkymist.org/wiki

Reply via email to