jPCT-AE - a 3d engine for Android > Bugs

Overlay.setSourceCoordinates() has no effect

<< < (2/3) > >>

EgonOlsen:
Ok, here you go: http://jpct.de/download/beta/jpct_ae.jar and http://jpct.de/download/beta/jpct.jar

Lobby:
Thanks, great stuff

Lobby:
May I suggest to add a method to set the four uv coords manually or at least to set a rotated source rectangle? I want to rotate a background that is an overlay but to rotate the whole overlay is a bad solution I think (therefore the overlay would have to be bigger than the screen).

I hope it doesn't matter that I recycle this thread.

EgonOlsen:
You could get the Object3D from the Overlay and assign a texture matrix to it that does the rotation...if that's what you meant.

Lobby:
Thank you, that's a working work around. However, now I have to do some confusing calculations for the matrix and I'm not sure whether an extended setSourceCoordinates() method would be easier to implement.

Something other, why SimpleVector has no SimpleVector calcScalarMul(float scalar) method?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version