Cutscenes in Oolite

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Cutscenes in Oolite

Post by JensAyton »

Shader error:

Code: Select all

11:52:22.283 [shader.compile.failure]: ***** ERROR: GLSL vertex shader compilation failed for vector_scene_water.vertex:
>>>>> GLSL log:
ERROR: 0:9: '-' does not operate on 'vec3' and 'vec4'
The offending line should be:

Code: Select all

vViewVec = -vec3(gl_ModelViewMatrix*gl_Vertex+(view_position-view_offset));
Note that changing the parentheses also requires the - in the middle to be changed to +.
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Cutscenes in Oolite

Post by Svengali »

Ahruman wrote:
The offending line should be:

Code: Select all

vViewVec = -vec3(gl_ModelViewMatrix*gl_Vertex+(view_position-view_offset));
Note that changing the parentheses also requires the - in the middle to be changed to +.
Muchas gracias, Ahruman.

Fixing... .-)

Edit: Done. Strange enough that I've used swizzles in Rendermonkey, but not in the Demo shader - *sigh*
commanderxairon
Deadly
Deadly
Posts: 163
Joined: Mon Aug 22, 2011 3:16 am

Re: Cutscenes in Oolite

Post by commanderxairon »

the process seems complicated o.o and i use Blender for other animation purposes... XDD
Pirate Commander: I would taken over Anleis and maked the first pirate system on this Ooniverse and become the monarch of all that empire if This stupid boy and his ship would'nt interfeer

Kuroshido(RXS-mariana) : scooby doobi doo?....

MY CREW
User avatar
Shipbuilder
---- E L I T E ----
---- E L I T E ----
Posts: 877
Joined: Thu May 10, 2012 9:41 pm
Location: Derby

Re: Cutscenes in Oolite

Post by Shipbuilder »

Could we be looking at a cut scene for docking featuring the actual ship that you are flying ?

Or perhaps a hyperspace jump
The GalTech Industries Corporation - Building ships to populate the galaxies.

Increase the variety of ships within your Ooniverse by downloading my OXPs

Flying the [wiki]Serpent_Class_Cruiser[/wiki] "Thargoid's Bane"
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: Cutscenes in Oolite

Post by Svengali »

Shipbuilder wrote:
Could we be looking at a cut scene for docking featuring the actual ship that you are flying ?
You can display the current playership on a missionscreen (when docked only), but not as part of a scene, because you can't like_ship datakeys if I get this right. Some trickery with a partly opaque overlay image and a background image is possible though.
User avatar
CommonSenseOTB
---- E L I T E ----
---- E L I T E ----
Posts: 1397
Joined: Wed May 04, 2011 10:42 am
Location: Saskatchewan, Canada

Re: Cutscenes in Oolite

Post by CommonSenseOTB »

Very cool Svengali! :D

I look forward to someone putting up a video as my netbook is NOT shader capable and I wouldn't mind seeing this...
Take an idea from one person and twist or modify it in a different way as a return suggestion so another person can see a part of it that can apply to the oxp they are working on.


CommonSense 'Outside-the-Box' Design Studios Ltd.
WIKI+OXPs
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Cutscenes in Oolite

Post by Cholmondely »

Wiki page now up: Cutscene

Thanks to Cody for explaining to me what this one is about. The original screen shot link is broken.

Svengali was apparently a genius in terms of linking drama with programming. It is probably worth downloading an old version of Oolite just to try out his Vector.oxp ...

You need to download an old version of Oolite and an old version of CCL to run this (links on the new wiki page).

I presume that Svengali could not find enough helpers to produce more cutscenes, and that the entire project was scrapped with the changes in v.1.80

From Xairon's comments, it might not be entirely obvious how one gets Svengali's cutscene to display...
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 675
Joined: Sat Aug 09, 2014 4:16 pm

Re: Cutscenes in Oolite

Post by Commander_X »

I've made available here a video recording of Svengali's OXP with this setup:
- Oolite 1.77.1 (vanilla/Linux x86_64)
- Svengali_Animation_Demo0.95.oxp
- Cabal_Common_Library1.8_r157.oxp

Although you can watch the file in-place (with whatever Google Drive player quality settings will give), if you download it you'll be able to see it at its original capture settings (mkv format with 1600x900/60fps)
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Cutscenes in Oolite

Post by Cholmondely »

Commander_X wrote: Wed Dec 08, 2021 3:34 am
I've made available here a video recording of Svengali's OXP with this setup:
- Oolite 1.77.1 (vanilla/Linux x86_64)
- Svengali_Animation_Demo0.95.oxp
- Cabal_Common_Library1.8_r157.oxp

Although you can watch the file in-place (with whatever Google Drive player quality settings will give), if you download it you'll be able to see it at its original capture settings (mkv format with 1600x900/60fps)
Hero! Thank you!

Edited to add: just watched it... it is phenomenal! Thank you again...
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 675
Joined: Sat Aug 09, 2014 4:16 pm

Re: Cutscenes in Oolite

Post by Commander_X »

Cholmondely wrote: Tue Dec 07, 2021 1:18 pm
[...] it might not be entirely obvious how one gets Svengali's cutscene to display...
It might not be obvious from the video, but the way it's done is:
- start a new game (if you just started Oolite, you'll be asked if you wanted to load a saved game, and just answer n/N)
- don't press Spacebar as the game advertises, and the cutscene will take on

As a side note, I've tried it on "my" current nightly version, and these would be the notes:
- it starts
- the background, soundtrack, text messages, and icons show
- the camera movement is still there, doing its work
- no other objects (ship or scenery) show
- CCL throws an error:

Code: Select all

04:04:52.287 [script.javaScript.exception.unexpectedType]: ***** JavaScript exception (ccl_value_test_ship 1.8): TypeError: against is null
04:04:52.287 [script.javaScript.exception.unexpectedType]:       ~/.Oolite/AddOns/Cabal_Common_Library1.8_r157.oxp/Scripts/ccl_value_test_ship.js, line 41.
This is food for thought for real scripting heroes ... 8)
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Cutscenes in Oolite

Post by Cholmondely »

Question: is Svengali's Animation Demo for Lib.oxp also a "cutscene"? The one with the rodent fleeing the Asp and dropping his cargo...


Reference: https://wiki.alioth.net/index.php/Library_OXP (see under demos)

Image
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Cutscenes in Oolite

Post by Cody »

Short answer: yes!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cholmondely
Archivist
Archivist
Posts: 5365
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Cutscenes in Oolite

Post by Cholmondely »

Cody wrote: Sat Dec 24, 2022 8:22 pm
Short answer: yes!
Thank you!

So if I just add it on to the Cutscene wiki page - I presume that I don't need to talk about differences, etc. Especially since I have no idea what they might be!
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
Post Reply