Options to Show/Control 3D in Livecode

Visuals, audio, animation. Blended, not stirred. If LiveCode is part of your rich media production toolbox, this is the forum for you.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

Post Reply
Brahmanathaswami
Posts: 51
Joined: Mon Jun 24, 2013 4:10 am
Location: Hawaii
Contact:

Options to Show/Control 3D in Livecode

Post by Brahmanathaswami » Wed Feb 01, 2017 9:31 pm

Can we display/control 3D in Livecode?

Imagine you want to take, for example a human form… and be able to turn this person around to look at the front, side and back of the person.

Can we do this in Livecode? If so, what would be the work flow? build it in Blender or Unity ( or anything else that does 3D) save to format **** and the present in Live code using a player or what? What output format is best for us?

I need to get some short 3D animations going in side stacks/mobile… not sure the best way to approach this.. I want to pick a work flow that results in something we can actually use in LiveCode.

Perhaps the final thing is animated GIF with lots of frames? then you can rotate the image but controlling the frames?

What are our options?

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

Re: Options to Show/Control 3D in Livecode

Post by richmond62 » Thu Feb 02, 2017 8:10 pm

Um . . .

Frankly I would export a 3D model as a series of images and then
have them show up as a backGroundPattern in a graphic object.

If you only wanted right and left then this could be manuipulated easily using arrow keys.

Obviously if you wanted a full 3D effect you would have to map pictures onto a sphere and then
use all four arrow keys to have the individual frames show up in the graphic object.

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

Re: Options to Show/Control 3D in Livecode

Post by richmond62 » Thu Feb 02, 2017 9:02 pm

I should apologise twice:

1. For taking so long to get this thing together.

2. For the subject matter: but the images are derived from the only freely available QTVR movie
file I could find.
done.jpg
Download it from my Dropbox here: https://www.dropbox.com/s/9qma875j0hwnj ... e.zip?dl=0

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4987
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Options to Show/Control 3D in Livecode

Post by jacque » Fri Feb 03, 2017 7:40 pm

2. For the subject matter: but the images are derived from the only freely available QTVR movie
file I could find.
Is that a selfie? ;)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

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

Re: Options to Show/Control 3D in Livecode

Post by richmond62 » Fri Feb 03, 2017 8:22 pm

Is that a selfie?
I'll be 55 on Tuesday: not quite at that stage yet; mind you, give me a few years :)

Although, to be honest, that skull has a set of good teeth I can only envy!
Last edited by richmond62 on Fri Feb 03, 2017 9:33 pm, edited 1 time in total.

Brahmanathaswami
Posts: 51
Joined: Mon Jun 24, 2013 4:10 am
Location: Hawaii
Contact:

Re: Options to Show/Control 3D in Livecode

Post by Brahmanathaswami » Fri Feb 03, 2017 9:05 pm

Richmond. that stack using multiple pngs for the 3D effect is "awesome" Thank you . The only other route i'm told by HQ is to use a movie in a player and control the currentframe.... But there are advantages to the simplicity of N number of images + graphic + script -- so transparent and I don't think it's an easy thing to layer hot spots on top of a movie that would work in Mobile...

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

Re: Options to Show/Control 3D in Livecode

Post by richmond62 » Fri Feb 03, 2017 9:31 pm

using multiple pngs for the 3D effect is "awesome"
I'm only a "garage programmer" so I try to do things the simplest way I can manage: that's all.

MaxV
Posts: 1574
Joined: Tue May 28, 2013 2:20 pm
Location: Italy
Contact:

Re: Options to Show/Control 3D in Livecode

Post by MaxV » Tue Mar 14, 2017 3:16 pm

Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Post Reply

Return to “Rich Media”