STK 0.8.1 trailer...

STK 0.8.1 trailer...

Postby Danfun64 » 27 Nov 2013, 23:30

How was it made? How were the camera effects done? Can we (the players) replicate/recreate the trailer or make similar videos yet?
Danfun64
 
Posts: 32
Joined: 29 Aug 2012, 21:57

Re: STK 0.8.1 trailer...

Postby Auria » 28 Nov 2013, 00:13

I will let Totoplus answer, but several of the shots can be done using Artist Debug Mode : http://supertuxkart.sourceforge.net/Artist_Debug_Mode
Image
User avatar
Auria
STK Moderator
 
Posts: 2976
Joined: 07 Dec 2009, 03:52

Re: STK 0.8.1 trailer...

Postby samuncle » 28 Nov 2013, 03:34

Unfortunately some sequences were filmed with a custom modification in the engine. However with the artist mode you will be able to make great videos :).
Image
User avatar
samuncle
STK Moderator
 
Posts: 754
Joined: 16 Mar 2010, 21:28

Re: STK 0.8.1 trailer...

Postby SuperMat » 28 Nov 2013, 15:54

samuncle {l Wrote}:custom modification in the engine

Maybe it's possible to share these modifications, STK is open source ;)
OS: Arch Linux/OS X Yosemite (10.10)
IRC: mt/mteufel @ freenode
SuperMat
 
Posts: 51
Joined: 20 Jan 2012, 19:19
Location: /home/mteufel

Re: STK 0.8.1 trailer...

Postby Tuxfan » 28 Nov 2013, 21:16

By the way - the trailer seems to be a great success. It is used in many publications about the current release.
Tuxfan
 
Posts: 92
Joined: 09 Mar 2010, 21:16

Re: STK 0.8.1 trailer...

Postby Totoplus62 » 28 Nov 2013, 22:16

I will make explanations very very soon, but i have lot's of work tonight.
"Imagination is more important than knowledge." Features under CC-BY 3.0, CC-BY-SA 3.0 or equivalent GNU license
Image SuperTuxKart Popularity
User avatar
Totoplus62
 
Posts: 584
Joined: 10 Nov 2012, 13:33
Location: France - Pas-de-Calais

Re: STK 0.8.1 trailer...

Postby Totoplus62 » 30 Nov 2013, 01:24

To record the game, i use Recordmydesktop (I'm using Ubuntu)
You need to download game files and be able to compile your own binary
In the terminal :
{l Code}: {l Select All Code}
svn checkout svn://svn.code.sf.net/p/supertuxkart/code/main/trunk stk


Then when you want to compile:
{l Code}: {l Select All Code}
cd stk
mkdir cmake_build
cd cmake_build
cmake ..
make -j2

You have to use artist debug mode to fly http://supertuxkart.sourceforge.net/Artist_Debug_Mode
If you want to make some shots where you can see your kart and opponent's kart without the Gui: you need to edit "input_manager.cpp" (stk/src/input/input_manager.cpp) and compile the game again.
{l Code}: {l Select All Code}
input_manager.cpp
===================================================================
--- input_manager.cpp   (revision 14186)
+++ input_manager.cpp   (working copy)
@@ -233,9 +233,9 @@
                     const int count = World::getWorld()->getNumKarts();
                     for (int n=0; n<count; n++)
                     {
-                        if(World::getWorld()->getKart(n)->getController()->isPlayerController())
-                            World::getWorld()->getKart(n)->getNode()
-                                ->setVisible(gui->m_enabled);
+                        //if(World::getWorld()->getKart(n)->getController()->isPlayerController())
+                        //    World::getWorld()->getKart(n)->getNode()
+                        //        ->setVisible(gui->m_enabled);
                     }
                 }
                 else

Comment out the three lines (if statement, and setVisible call).


The most difficult is to make the AI do what you want; taking control of the kart in artist debug mode is also difficult : don't forget to brake if you want to stabilize the flying kart (physic is a bit weird while flying but with patience you can do lot's of things).
Then if you want to change the camera just edit stk_config.xml the way you want (with Pluma for example).
{l Code}: {l Select All Code}
<!-- Camera: Distance between kart and camera.
         forward-up-angle: Angle between camera and plane of kart (pitch)
                 when the camera is pointing forward
         backward-up-angke: Angle between camera and plane of kart (pitch)
                 when the camera is pointing backwards. This is usually
                 larger than the forward-up-angle, since the kart itself
                 otherwise obstricts too much of the view.  -->
    <camera distance="1.5" forward-up-angle="15"
            backward-up-angle="30"/>


I used Power Director 11 for video editing but I'll probably move to something more powerful in the future.

If you need more details, feel free to ask me.
"Imagination is more important than knowledge." Features under CC-BY 3.0, CC-BY-SA 3.0 or equivalent GNU license
Image SuperTuxKart Popularity
User avatar
Totoplus62
 
Posts: 584
Joined: 10 Nov 2012, 13:33
Location: France - Pas-de-Calais

Re: STK 0.8.1 trailer...

Postby Funto » 30 Nov 2013, 11:26

Totoplus62, you are really patient for making a video that way :D That must have taken a looong time...
Funto
 
Posts: 459
Joined: 09 Dec 2009, 13:47
Location: Bordeaux, France

Who is online

Users browsing this forum: No registered users and 1 guest