General Is there possibility to add a water fountain animation onto the track?

AccAkut

2000RPM
Premium
Mar 21, 2015
2,277
1,959
Helpful.

Anyway, there's no known way to use animation, as in keyframe animation from Blender or any other modeller, on a track. All you can do is fake movement with the flow shader
 
  • Like
Reactions: Racingcenter

Mitja Bonca

1000RPM
Premium
Sep 8, 2008
1,796
2,747
Very :)
Anyway, as you said, animations from blender or other similar apps do not work in ac, or cannot be recognized by kseditor.
 
  • Like
Reactions: Racingcenter

Ben O'Bro

Sevener
Premium
Aug 3, 2016
1,206
2,641
34
i asked ilja about rotating objects for tracks
if possible, it would add a bunch of possibilities

in the meantime, there is animated shader for water
you could trick some moving textures on a fountain shape... but meh
 
  • Like
Reactions: Racingcenter

AccAkut

2000RPM
Premium
Mar 21, 2015
2,277
1,959
Long beach has an animated fountain.
it probably works by moving a texture with alpha over a stationary mesh.

Stereo made a second special shader that could rotate objects, like ferris wheels, but iirc it was never really released as it did not work with CSP
 
  • Like
Reactions: Racingcenter

Stereo

3000RPM
Premium
Dec 22, 2009
3,357
3,277
it probably works by moving a texture with alpha over a stationary mesh.

Stereo made a second special shader that could rotate objects, like ferris wheels, but iirc it was never really released as it did not work with CSP
More cause it couldn't affect shadows so it only made sense on stuff animated in ways that the shadow won't change (like Riverside for some reason has spinning balls)

I have figured out the correct way to do it (for ferris wheels and such) just a matter of the person who writes CSP making time to implement it
 
Jul 4, 2019
8
0
31
Thank you all for your valuable inputs.

let me share what I have done

I created an animation, generated a texture with all the frames of the animation side-by-side (an input given by MGMetroDave) and converted to dds and nm_dds( using GIMP Editor) then used the stflow to animate them.

And what I see is just scrolling of all the images over a cone(lower region) and blinking of the upper region but no animation.

I played around with few properties of stPerPixelNM_UVflow but still, I can't find a good setting.
 

Attachments

Jul 4, 2019
8
0
31
it probably works by moving a texture with alpha over a stationary mesh.

Stereo made a second special shader that could rotate objects, like ferris wheels, but iirc it was never really released as it did not work with CSP
If I am not wrong that is what I tried to do. Moving the texture on a cone mesh.

Can you tell me what is with the alpha channel, where and how can I add to the mesh?
 

Stereo

3000RPM
Premium
Dec 22, 2009
3,357
3,277
I thought I had a spreadsheet of how the variation function works but I don't see it so this is the code it uses
Code:
  float v = ksGameTime * 0.001;
  if (pauseTiming.x > 0) {
    float modval = v%(1+pauseTiming.x+pauseTiming.y);
    float decrate = 0;
    if (pauseTiming.y > -1) {
      decrate = pauseTiming.x/(1+pauseTiming.y);
    }
    v -= min(modval,pauseTiming.x) - decrate *  max(0, modval - pauseTiming.x);
  }
pauseTiming.x and y are just the 2 values you input to that field. I think y=-1, x = frame time is when it does slideshows?
 
Last edited:
  • Like
Reactions: Ben O'Bro