Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Wed Nov 27, 2013 3:54 am Post subject:
The only feature of the entire program that uses DrawFrameImage with flood = false is the Auto Shadows, which is already deprecated. So, adding or removing the flood won't make much of a difference, except for a minimal speed up that you won't notice.
If you cut the flood from that part of the code, the Auto Shadows will draw the non shadow part at the same place of the shadow and you won't see the shadow.
In short, this change doesn't really make any difference at all and won't fix the problem listed above.
Btw: I reiterate that I hate the OS SHP Builder messcode. QUICK_EDIT
If the source of SHP Builder 3.35 is still available, then you could also check there, because in 3.35 the normal image was correct aligned when viewing the shadow frames.
Only in the later versions it was misaligned.
But it's good to see someone trying to fix this as this is a quite annoying bug. _________________ SHP Artist of Twisted Insurrection: Nod buildings
Are you going to change SHP_Image as well in a revision?
I'm including the modified SHP_Image.
Line 163 is where the modification is, I simply
removed the condition so that it always draws from the origin (0,0).
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Fri Dec 06, 2013 7:30 pm Post subject:
Sorry, but this change has been tested and rejected. If you simply change the way it is displayed, it will make you paint above the place you really wanted to paint. Perhaps this is part of a solution that would need to change the way shadows are painted in FrmSHPImage.
To be really honest with you guys, I'm unable to reproduce this bug. QUICK_EDIT
Steps are simple:
1. Open e1.shp (TS).
2. Set Zoom to any value, but the higher the better so you can see.
3. Set FrameIndex to a shadow frame.
4. Check Shadow in menu.
That's it.
I've worked on this today, and I think I've resolved this. I'm joining a demo build with the modified files, and a file describing what the modifications.
Demo.zip
Description:
Demo build .EXE, with modified files and description of what I did.
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum