Houge
Member
|
[FIXED] after latest update draw3D broken
Hi!
I just updated EE (seems like got updates from feb 25) and now Image.draw3D doesn't work.
You can check it very fast, i tested it in 14 - Game Basics => 09 - Custom Parameters tutorial.
Just replace the following code in Draw() function
Code:
REPA(Items)
{
Item &item =Items[i]; // get i-th Items
Vec2 screen=PosToScreen(item.pos()); // convert world position to screen position
D.text(screen, item.name); // draw item's name
}
with the following one:
Code:
REPA(Items)
{
Item &item =Items[i]; // get i-th Items
SetMatrix(item.matrix());
Images(UID(1194910096, 1331950171, 278997914, 2918364784))->draw3D(WHITE, 2, 0, NULL);
}
P.S. UID is for Moon image in Tutorials.
UPD: DX9 has a bug, DX10+ works fine.
(This post was last modified: 02-28-2015 11:45 PM by Houge.)
|
|
02-28-2015 11:02 AM |
|
Esenthel
Administrator
|
RE: [BUG] after latest update draw3D broken
Thank you, I'm checking this now.
|
|
02-28-2015 10:52 PM |
|
Esenthel
Administrator
|
RE: [BUG] after latest update draw3D broken
Thank you for reporting the issue!
The fix is now available in the source, and I'm uploading Windows Binaries right now.
|
|
02-28-2015 11:01 PM |
|
Houge
Member
|
RE: [BUG] after latest update draw3D broken
Thank you for your fast response!
I'll wait for the binaries
UPD:
That works now!
Thank you for your awesome support!
(This post was last modified: 02-28-2015 11:46 PM by Houge.)
|
|
02-28-2015 11:07 PM |
|