Page 1 of 1

Options to Show/Control 3D in Livecode

Posted: Wed Feb 01, 2017 9:31 pm
by Brahmanathaswami
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?

Re: Options to Show/Control 3D in Livecode

Posted: Thu Feb 02, 2017 8:10 pm
by richmond62
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.

Re: Options to Show/Control 3D in Livecode

Posted: Thu Feb 02, 2017 9:02 pm
by richmond62
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

Re: Options to Show/Control 3D in Livecode

Posted: Fri Feb 03, 2017 7:40 pm
by jacque
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? ;)

Re: Options to Show/Control 3D in Livecode

Posted: Fri Feb 03, 2017 8:22 pm
by richmond62
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!

Re: Options to Show/Control 3D in Livecode

Posted: Fri Feb 03, 2017 9:05 pm
by Brahmanathaswami
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...

Re: Options to Show/Control 3D in Livecode

Posted: Fri Feb 03, 2017 9:31 pm
by richmond62
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.

Re: Options to Show/Control 3D in Livecode

Posted: Tue Mar 14, 2017 3:16 pm
by MaxV