LDraw.org Discussion Forums
Tourguide or walktrough animation - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: Tourguide or walktrough animation (/thread-23778.html)

Pages: 1 2 3 4 5


Tourguide or walktrough animation - Roland Melkert - 2019-12-06

I liked the idea of an animated model tour from a minifig's perspective a lot (see  https://forums.ldraw.org/thread-23512-post-34790.html#pid34790)

So I made a start on a generic script for it, to be included with LDCad 1.6c

Many things can be improved, but I'm very proud on the fact this was 'doable' without finding any bugs out of the box.

Attached a demo.

Any feedback / ideas on improvements are welcome.

A appropriate (big) model for testing purposes would be appreciated too.

edit:
This animation takes over the camera during playback. You can disable/enable that by clicking the 'CAM' label in the top right session panel in animation mode.


RE: Tourguide or walktrough animation - Jaco van der Molen - 2019-12-06

(2019-12-06, 1:59)Roland Melkert Wrote: I liked the idea of an animated model tour from a minifig's perspective a lot (see  https://forums.ldraw.org/thread-23512-post-34790.html#pid34790)

So I made a start on a generic script for it, to be included with LDCad 1.6c

Many things can be improved, but I'm very proud on the fact this was 'doable' without finding any bugs out of the box.

Attached a demo.

Any feedback / ideas on improvements are welcome.

A appropriate (big) model for testing purposes would be appreciated too.

edit:
This animation takes over the camera during playback. You can disable/enable that by clicking the 'CAM' label in the top right session panel in animation mode.

Nice! I can send you a big (16.000 bricks) model of a building.


RE: Tourguide or walktrough animation - Philippe Hurbain - 2019-12-06

Now that's fun!


RE: Tourguide or walktrough animation - Roland Melkert - 2019-12-06

(2019-12-06, 7:52)Jaco van der Molen Wrote: Nice! I can send you a big (16.000 bricks) model of a building.

Thanks for mailing the model, very nice one.

Too bad it only does 15fps on my system.

You could add door animations to also go inside etc to make it even more interesting. Would probably take ages to render in povray tough Smile


RE: Tourguide or walktrough animation - Roland Melkert - 2019-12-06

(2019-12-06, 10:07)Philippe Hurbain Wrote: Now that's fun!

Love the roller-coaster use.

But the current version is setup for a constant Z so weird scaling occurs, as I was thinking to use different animation code for things like stairs etc.

I'll try to improve the Z handling.


RE: Tourguide or walktrough animation - Gerald Lasser - 2019-12-06

(2019-12-06, 10:07)Philippe Hurbain Wrote: Now that's fun!

Neither one works for me, tells me it takes too long (250ms seems some limit) any clue?


RE: Tourguide or walktrough animation - Roland Melkert - 2019-12-06

(2019-12-06, 21:30)Gerald Lasser Wrote: Neither one works for me, tells me it takes too long (250ms seems some limit) any clue?

Are you on a very old system?

250ms translates into less then 4 frames per second, which is extremely slow for the relative simple tour.mpd model.


RE: Tourguide or walktrough animation - Gerald Lasser - 2019-12-07

(2019-12-06, 22:23)Roland Melkert Wrote: Are you on a very old system?

250ms translates into less then 4 frames per second, which is extremely slow for the relative simple tour.mpd model.
I'll restart my PC, haven't done so in a while. I hope it makes it going again


-> That helped, now it is running smooth....!


RE: Tourguide or walktrough animation - Moreau - 2019-12-07

(2019-12-06, 1:59)Roland Melkert Wrote: I liked the idea of an animated model tour from a minifig's perspective a lot (see  https://forums.ldraw.org/thread-23512-post-34790.html#pid34790)

So I made a start on a generic script for it, to be included with LDCad 1.6c

Many things can be improved, but I'm very proud on the fact this was 'doable' without finding any bugs out of the box.

Attached a demo.

Any feedback / ideas on improvements are welcome.

A appropriate (big) model for testing purposes would be appreciated too.

edit:
This animation takes over the camera during playback. You can disable/enable that by clicking the 'CAM' label in the top right session panel in animation mode.
much appreciated! I'm sure this will give me a jumping-off point for doing other scripting, and i'll let you know what i come up with.
have you started a section to the forum for custom scripts or does that go along with the custom model show-n-tell (MOC's)


RE: Tourguide or walktrough animation - Orion Pobursky - 2019-12-08

(2019-12-07, 17:59)Moreau Wrote: have you started a section to the forum for custom scripts or does that go along with the custom model show-n-tell (MOC's)

Id say that prolly fits best in Rendering Techniques.