Myst machinima: Best practice for smooth camera?

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.

Myst machinima: Best practice for smooth camera?

Postby Locutus » Wed Mar 13, 2013 11:22 am

Hey!

See subject. I think I mentioned it already: we're doing a Myst machinima. Are there any hints you could give us to achieve smooth camera movements?

Obviously controlling it with the mouse in Drive Mode results in rather jerky pans. Using normal 3rd-person mode has smooth movements but some other disadvantages. Is there any way to use scripted camera tracking shots, like in the scene when the Bahro enter the volcano after you finished Yeesha's quest?
Locutus
 
Posts: 29
Joined: Sat Mar 09, 2013 9:41 am

Re: Myst machinima: Best practice for smooth camera?

Postby Tsar Hoikas » Wed Mar 13, 2013 12:40 pm

I can't think of any way to do this, aside from exporting whole new game cameras and making animated transitions. If you guys are willing to write a bit more code, you could probably expose more ptCamera functionality to python and write your transitions there :?
Image
Tsar Hoikas
Councilor of Technical Direction
 
Posts: 2180
Joined: Fri Nov 16, 2007 9:45 pm
Location: South Georgia

Re: Myst machinima: Best practice for smooth camera?

Postby Christopher » Wed Mar 13, 2013 1:59 pm

Some time ago I had the same problem. I solved it by exporting a new camera following a predefined path and change the avatar view to it. Worked pretty well for me...

Christopher
User avatar
Christopher
 
Posts: 276
Joined: Mon Jul 19, 2010 3:25 am

Re: Myst machinima: Best practice for smooth camera?

Postby Locutus » Thu Mar 14, 2013 7:06 am

Christopher, would you be willing to give me a quick pointer how to create a "camera", have it follow a path and "exporting" it, and how to make it known to the game, and have the avatar view it? I use PlasmaShop if that helps.
Locutus
 
Posts: 29
Joined: Sat Mar 09, 2013 9:41 am

Re: Myst machinima: Best practice for smooth camera?

Postby Mystler » Thu Mar 14, 2013 9:19 am

You'll need 3dsMax, the CWE-Max-Plugin as well as some modeling and python program knowledge for that.
I don't know if/how you can use Blender too.

Basically you have to create a new camera, animate it to follow a path, give it to the PythonFileMod, set the avatar's camera object to your new camera and run the camera animation with Python.
User avatar
Mystler
 
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany

Re: Myst machinima: Best practice for smooth camera?

Postby Locutus » Thu Mar 14, 2013 12:48 pm

@Mystler: While I have general coding experience (not with Python - but that should pose no problem), being scientific staff in computer science, I have zero experience with 3d modeling software. :) I'm a quick study though.

It's a matter of required effort for a given aim. Would you say that the process you suggested is doable with a justifiable effort, for someone without 3DS experience?
Locutus
 
Posts: 29
Joined: Sat Mar 09, 2013 9:41 am

Re: Myst machinima: Best practice for smooth camera?

Postby Mystler » Thu Mar 14, 2013 1:14 pm

To be honest, I never did that myself as I'm trying not to do much stuff with modeling software. Setting up the page (which would be a simple addition to an age) and adding the Python File Mod should be quite simple but I cannot say anything about the camera. Maybe Christopher still has his files somewhere?
User avatar
Mystler
 
Posts: 116
Joined: Sun Mar 22, 2009 4:55 am
Location: Germany

Re: Myst machinima: Best practice for smooth camera?

Postby Christopher » Fri Mar 15, 2013 1:57 pm

Could be that i still habe These files somewhere... I am currently Not at Home, but i will take a look ASAP.
Christopher
User avatar
Christopher
 
Posts: 276
Joined: Mon Jul 19, 2010 3:25 am

Re: Myst machinima: Best practice for smooth camera?

Postby Christopher » Tue Mar 19, 2013 9:01 am

Christopher wrote:Could be that i still habe These files somewhere... I am currently Not at Home, but i will take a look ASAP.
Christopher


So, I am back home and I found an early version of the file I meant. It has only the path and some objects from teledahn. Not the camera or anything else you need :(

Christopher
User avatar
Christopher
 
Posts: 276
Joined: Mon Jul 19, 2010 3:25 am


Return to Scripting

Who is online

Users browsing this forum: No registered users and 5 guests