distorted graphics when using move or set loc

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

xfratboy
Posts: 90
Joined: Fri Mar 05, 2010 9:09 pm

Re: distorted graphics when using move or set loc

Post by xfratboy » Tue Dec 11, 2018 3:38 pm

I added a comment to an existing bug report I found. Maybe that will help.

https://quality.livecode.com/show_bug.cgi?id=17261

bogs
Posts: 3397
Joined: Sat Feb 25, 2017 10:45 pm

Re: distorted graphics when using move or set loc

Post by bogs » Tue Dec 11, 2018 4:45 pm

Sure looks like the right report to tack it on to :D

Started around 6.6.5, I wonder if you try a earlier version, say 6.5, if the issue goes away? Hmm.
Image

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6640
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: distorted graphics when using move or set loc

Post by FourthWorld » Tue Dec 11, 2018 5:53 pm

Do you see a difference between Win7 and Win10? The issue superficially seems like it may be related to the tiling differences in the Windows compositor between the two version. Not that there's anything you can do about that, it would still require an update to the LC engine for Windows. But may provide useful guidance for the bug report if a difference can be seen between those two Windows versions.
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 6008
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: distorted graphics when using move or set loc

Post by dunbarx » Tue Dec 11, 2018 6:03 pm

Richard wrote:
Do you see a difference between Win7 and Win10?
I am on a Mac. And though I never fully understood if the "flattening", or truncation, was what actually was seen (the demo stack did not show it on Mac), there is distinct jerkiness on the Mac. This, er, renders "animation" poorly overall in LC.

This is one of the few instances where "jerkiness" can be ascribed to Macs.

Craig

xfratboy
Posts: 90
Joined: Fri Mar 05, 2010 9:09 pm

Re: distorted graphics when using move or set loc

Post by xfratboy » Fri Mar 15, 2019 7:03 pm

Its been a few months since I posted this original question. I haven't seen any updates or developments on the bug report so I'm guessing this is not a priority or there's no workable solution? I can't believe I'm the only one in the world that sees this as a major flaw in LC? Is there no way to fix this ? I've scoured the forums looking for any solution to fix this clipping/distortion that is experienced when moving objects, but have been completely unsuccessful.

SparkOut
Posts: 1934
Joined: Sun Sep 23, 2007 4:58 pm

Re: distorted graphics when using move or set loc

Post by SparkOut » Fri Mar 15, 2019 8:05 pm

I might be hallucinating, but I have a strong (if possibly phantom) memory of seeing a suggestion/workaround to make the graphic/image have a transparent space around it (ie the image stays the same visible size, but the pixel dimensions of the overall picture are increased. Thereby any truncation should crop the invisible background, and leave your visual display intact.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3278
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: distorted graphics when using move or set loc

Post by richmond62 » Fri Mar 15, 2019 8:41 pm

I might be hallucinating
I wouldn't like to comment on that, but it is perfectly possible to prepare images with
a graphics program such as GIMP so that each one is surrounded by a "moat" set at,
let's say, 1% transparency:
-
Chess.png
Chess.png (12.35 KiB) Viewed 317 times
-
Last edited by richmond62 on Sat Mar 16, 2019 7:47 am, edited 1 time in total.

SparkOut
Posts: 1934
Joined: Sun Sep 23, 2007 4:58 pm

Re: distorted graphics when using move or set loc

Post by SparkOut » Fri Mar 15, 2019 9:34 pm

Or even 100% transparency. It's just a non-visible area that doesn't matter about being chewed up when the graphic is in motion.

xfratboy
Posts: 90
Joined: Fri Mar 05, 2010 9:09 pm

Re: distorted graphics when using move or set loc

Post by xfratboy » Fri Mar 15, 2019 10:11 pm

Ok, but how would that be accomplished with a graphic object/drawing object vs. an image object? Basically, like on the sample stack, its just a round graphic object.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3278
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: distorted graphics when using move or set loc

Post by richmond62 » Sat Mar 16, 2019 3:58 pm

The advantage of using 1% transparency (possibly I mean 99% transparency and 1% opacity . . . it is
all a bit subjective), is that should one want to use intersect that may prove useful.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 3278
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: distorted graphics when using move or set loc

Post by richmond62 » Sat Mar 16, 2019 3:59 pm

but how would that be accomplished with a graphic object/drawing object vs. an image object
presumably you mean something like an imported SVG image?

I, honestly cannot see why there should be any undue problem there.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”