Trailer

Trailer

Postby Totoplus62 » 24 Mar 2013, 17:32

Hi everyone :)

During the next bigs holidays (if there is no problems), i'm planning to do a Stk trailer (I've a very precise idea of what i want, and want it to look like a commercial game trailer) but i need some informations. I hope i will not meet bigs problems :

I've some questions:
(1) For you what is the best game/laptop record software for linux. I have Fraps on Win7 but this is slow with Stk (and i have no problem with other games :shock: ) ?

(2) Is there an (easy) way to record maps with a "free" camera (you can go everywhere in the map) with the same game render ?

(3) Is there a way to change the position of kart's camera ? I was just able to make the camera be far or near the kart, but i wasn't able to record the side of the kart for example

(4) Is there a way to record a ghost ? And can we have differents ghosts at the same time ?

(5) Where do i have to go to change karts animation: to have (for example) a winnig animation during the race instead of no animations ? Kart .xml ? How ?

Thanks ;)
"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: Trailer

Postby Arthur » 24 Mar 2013, 18:43

Totoplus62 {l Wrote}:(1) For you what is the best game/laptop record software for linux. I have Fraps on Win7 but this is slow with Stk (and i have no problem with other games :shock: ) ?

(2) Is there an (easy) way to record maps with a "free" camera (you can go everywhere in the map) with the same game render ?

(3) Is there a way to change the position of kart's camera ? I was just able to make the camera be far or near the kart, but i wasn't able to record the side of the kart for example

(4) Is there a way to record a ghost ? And can we have differents ghosts at the same time ?

(5) Where do i have to go to change karts animation: to have (for example) a winnig animation during the race instead of no animations ? Kart .xml ? How ?


1. ffmpeg

2. No, but you can hide the kart and UI and use flying to achieve something similar: http://supertuxkart.sourceforge.net/Artist_Debug_Mode

3. No, except for the debug camera which shows the kart top down.

4. Yes and no.

5. Not sure how this is best achieved.
Hey pal, I took an oath for justice! "In happy days or tightest tights..." or something like that.
User avatar
Arthur
 
Posts: 1073
Joined: 06 Dec 2009, 00:49

Re: Trailer

Postby hiker » 25 Mar 2013, 02:35

Totoplus62 {l Wrote}:During the next bigs holidays (if there is no problems), i'm planning to do a Stk trailer (I've a very precise idea of what i want, and want it to look like a commercial game trailer) but i need some informations. I hope i will not meet bigs problems :

That sounds like a good idea. I would love to have more promotional videos of STK.
...
(2) Is there an (easy) way to record maps with a "free" camera (you can go everywhere in the map) with the same game render ?

Not really. What you can do is define end-cameras (see http://supertuxkart.sourceforge.net/Tra ... End_Camera), but they are quite limited. Ideally I would love to be able to define a camera path in blender, which gets exported and then used as a intro sequence (of course skip-able) for each track. But it will be some time before this is coded :( It's not that hard, the important bits (e.g. exporting IPO animation data is already implemented) are done, but would need some extensions (e.g. to allow for zooming).

(3) Is there a way to change the position of kart's camera ? I was just able to make the camera be far or near the kart, but i wasn't able to record the side of the kart for example

No, as you might have seen the support for this we have is rather limited. You can use the end cameras to show a kart from the side.

(4) Is there a way to record a ghost ? And can we have differents ghosts at the same time ?

Yes, see highscore thread (viewtopic.php?f=17&t=3911&start=100#p43345). The format should actually be able to replay more than one kart, but you would have to drive in split screen I guess (and that's never tested tbh). Combining several ghost files into one is not trivial (since ghost records contain time stamps, which will vary from one race to another).

(5) Where do i have to go to change karts animation: to have (for example) a winnig animation during the race instead of no animations ? Kart .xml ? How ?

See kart.xml:
{l Code}: {l Select All Code}
  <animations left = "0"
              straight = "20"
              right = "40"
              start-winning = "80"
              end-winning = "308"
              start-losing = "386"
              start-losing-loop = "414"
              end-losing = "516"/>

This specifies which frames to use for which animation.

Sorry, I'd guess it needs some fair amount of work before you can do what you want to do :( Best would be to open a ticket with the requirements, perhaps we can get some new contributions.

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Trailer

Postby Totoplus62 » 27 Mar 2013, 17:13

hiker {l Wrote}:Sorry, I'd guess it needs some fair amount of work before you can do what you want to do :(

Ok I did not know the artist debug mode :shock: this is amazing for this (i tested it) i just need one thing: when i do ctrl +f8 to hide everything, i want to hide just my kart and the hud but not the other karts (AI in fact), this is the only thing i will need i think.
"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: Trailer

Postby hiker » 28 Mar 2013, 11:52

Totoplus62 {l Wrote}:Ok I did not know the artist debug mode :shock: this is amazing for this (i tested it) i just need one thing: when i do ctrl +f8 to hide everything, i want to hide just my kart and the hud but not the other karts (AI in fact), this is the only thing i will need i think.

Good suggestion. I've just added this in r123588 - only player-controlled karts will be hidden. Can you compile your own binary (or use a nightly build)?

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Trailer

Postby Totoplus62 » 28 Mar 2013, 20:32

Ok thank you :D i will test later i don't have enough time.I will use nightly builds: now i just need holidays for this ^^
"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: Trailer

Postby ChemBroTron » 30 Mar 2013, 20:34

And? Did you do some test recordings?
ChemBroTron
 
Posts: 49
Joined: 03 Nov 2010, 10:05

Re: Trailer

Postby Totoplus62 » 31 Mar 2013, 15:36

Don't have currently the time at all but that will be done
"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: Trailer

Postby Totoplus62 » 21 Jul 2013, 16:21

I made some recording tests but i have a problem.

My screen resolution is 1366x768 (16/9) and this resolution works fine when playing Stk on Windows.

But on Ubuntu with the latest version compiled (And i have to record on Ubuntu):
800x600 1024x768 1360x768 1366x768 1024x640 resolutions are available but 1360x768 and 1366x768 (the most interesting resolution) doesn't work -> When i test this biggest resolution: the game always put 1024x768 (4/3).

How can i solve this problem?
Edit: Problem solved hurray !
"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: Trailer

Postby Totoplus62 » 07 Oct 2013, 16:28

Here is my very latest problem and i need hiker to answer :)

-In r123588 - only player-controlled karts and GUI are hidden --> that's what i wanted :)
But i also need to disable ONLY the gui (You can see your kart and opponent's kart)

Please don't change this in a new revision (this is not necessary), just tell me what should i change in "input_manager.cpp"
"input_manager.cpp" is currently like this:

227 {
228 if(World::getWorld()->getKart(n)->getController()->isPlayerController())
229 World::getWorld()->getKart(n)->getNode()
230 ->setVisible(gui->m_enabled);
231 }


Then i can compile by myself two binary with -> "only player-controlled karts and GUI will be hidden" and "You can see your kart and opponent's kart without GUI"
Thanks
"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: Trailer

Postby hiker » 07 Oct 2013, 22:02

Hi,

here the patch:
{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

I.e. just comment out the three lines (if statement, and setVisible call).

Cheers,
Joerg
hiker
 
Posts: 1435
Joined: 07 Dec 2009, 12:15
Location: Melbourne, Australia

Re: Trailer

Postby Totoplus62 » 08 Oct 2013, 20:38

It works :)
Thanks
"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: Trailer

Postby Totoplus62 » 14 Oct 2013, 21:07

Who is the creator of the Stk logo :think: ? -> http://stkaddons.net/tpl/default/images/logo.png
I have a 512*512 logo but if someone has a bigger one, it would be better.
"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: Trailer

Postby sj04736 » 15 Oct 2013, 22:59

There is another copy of this logo in STK's media repository which is slightly bigger. As far as I'm aware the logo is licensed CC-BY-SA 3.0+ by 'rastapax'. I can't remember where I actually found that information, but it's what I have written in my STKAddons Viewer android app.
Stephen
Role: STK-Addons Developer

Image
User avatar
sj04736
 
Posts: 146
Joined: 07 Dec 2009, 02:56
Location: Western Canada

Re: Trailer

Postby samuncle » 21 Oct 2013, 11:16

@totoplus

J'ai fait un logo pour le début :)
Image
Image
User avatar
samuncle
STK Moderator
 
Posts: 754
Joined: 16 Mar 2010, 21:28

Re: Trailer

Postby asciimonster » 21 Oct 2013, 13:32

Hehehe! That looks like a real film trailer (and the cheapest way to fill 30 seconds).

I can see it now:
- Logo STK appears
* SFX kart engine is heard *
- Text "Development Team" appears
* SFX other kart engine *
- Text "presents" appears
* SFX launch bowling ball & explosion*
- New black screen: Text "An open source production"
* SFX bubble gum*
- A Text below that appears "...that will race your socks off"
* SFX skidding *
- Screen now fades to a group of karts coming at the camera an zooming past.
asciimonster
 
Posts: 375
Joined: 03 Dec 2009, 18:24

Re: Trailer

Postby Totoplus62 » 21 Oct 2013, 14:40

@samuncle: merci

@asciimonster. Haha :D i see what you mean, you will see how it will be in the reality
You know in stk, taking videos of the AI is like playing a die and retry game: it was often frustrating ^^.
As far as i know the best tool to take video in a video game is Trackmania's Mediatracker (that is really awesome) .
"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

Who is online

Users browsing this forum: No registered users and 1 guest