Overlay camera view

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
AndyP
Posts: 615
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Overlay camera view

Post by AndyP » Sat Nov 23, 2013 6:59 pm

I'm working on a personal project where I need to use the camera to move the view to compare the alignment of a set of points to background stars.

I'm stumped! As far as I can see at the moment in LiveCode one can only use the mobilePickPhoto command to bring up the default camera app.

What I need to be able to do is to overlay a set of points on a transparent background over the camera view.

Any ideas or is this at the moment outside LiveCode's reach?
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Overlay camera view

Post by Mark » Wed Nov 27, 2013 11:55 am

Andy,

What about "displaying" the camera view in a hidden or off-screen stack and exporting a snapshot to an image file covered by a transparent image? It won't look as good as the real-time camera view, but it will work.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

AndyP
Posts: 615
Joined: Wed Aug 27, 2008 12:57 pm
Location: Seeheim, Germany (ex UK)
Contact:

Re: Overlay camera view

Post by AndyP » Wed Nov 27, 2013 3:04 pm

Hi Mark,

Thanks. Yes I tried that as a work around but as you pointed out it's not good with real-time movement of the camera, slow and juddery.
I've seen the effect done in other apps so I guess it's a waiting game for LiveCode to catch up.

Posted as a request.
Andy Piddock
https://livecode1001.blogspot.com Built with LiveCode
https://github.com/AndyPiddock/TinyIDE Mini IDE alternative
https://github.com/AndyPiddock/Seth Editor color theming
http://livecodeshare.runrev.com/stack/897/ LiveCode-Multi-Search

strongbow
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 135
Joined: Mon Jul 31, 2006 1:39 am
Location: New Zealand, Australia, Germany, Japan
Contact:

Re: Overlay camera view

Post by strongbow » Tue Jul 12, 2016 2:38 pm

Would also be very interested in this if someone has found a solution. Thought I remember reading something about the new cameracontrol being able to do something like this? Ideas anyone?
cheers!

rblackmore245
Posts: 67
Joined: Fri Jun 12, 2015 9:42 am

Re: Overlay camera view

Post by rblackmore245 » Mon Jul 18, 2016 10:18 am

A post a while back said you can do this, by opening the camera offscreen, ( http://forums.livecode.com/viewtopic.ph ... 54#p138254 ) but its only available in the commercial version of LiveCode

Post Reply

Return to “Android Deployment”