Page 2 of 2

Re: Cutscenes in Oolite

Posted: Fri Sep 07, 2012 10:03 am
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 +.

Re: Cutscenes in Oolite

Posted: Fri Sep 07, 2012 10:07 am
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*

Re: Cutscenes in Oolite

Posted: Fri Sep 07, 2012 12:17 pm
by commanderxairon
the process seems complicated o.o and i use Blender for other animation purposes... XDD

Re: Cutscenes in Oolite

Posted: Fri Sep 07, 2012 3:42 pm
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

Re: Cutscenes in Oolite

Posted: Fri Sep 07, 2012 5:14 pm
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.

Re: Cutscenes in Oolite

Posted: Mon Sep 10, 2012 4:43 pm
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...

Re: Cutscenes in Oolite

Posted: Tue Dec 07, 2021 1:18 pm
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...

Re: Cutscenes in Oolite

Posted: Wed Dec 08, 2021 3:34 am
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)

Re: Cutscenes in Oolite

Posted: Wed Dec 08, 2021 9:06 am
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...

Re: Cutscenes in Oolite

Posted: Wed Dec 08, 2021 3:11 pm
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)

Re: Cutscenes in Oolite

Posted: Sat Dec 24, 2022 6:58 pm
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

Re: Cutscenes in Oolite

Posted: Sat Dec 24, 2022 8:22 pm
by Cody
Short answer: yes!

Re: Cutscenes in Oolite

Posted: Sat Dec 24, 2022 8:58 pm
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!