Forum

Animating Line

Hola a todos,
how can “animate” a line like the video attached?
I’m making a new installation with a lot of element around a map and I need to connect the name to a point.
Usually I use a quad mask in order to make a transition effect, but in this case I think is impossible, too much element

thx

Aelf

animating_line.zip (131.8 kB)

Hi, use Rope DX11 and animate (translate transform) the UV coordinates.

sorry, i’m not understand.
can you send me an example patch.

thx

aelf

Here you go, sample patch in the attachment.
There is lot of room for improvement (to make it with 4 triagles only, but with constant width and uv’s not deformed)

LineAnimSample.zip (12.6 kB)

Thx…
another stupid question…is possible make this in DX9???

thx

aelf

it should be possible, the core of the solution generates list of vertices and uv coordinates for geometry buffer.
but why would you do that? :) let dx9 rest in peace. even with a card that does support only shadermodel 4.0, you can still use many of the dx11 benefits.

Hello,
is possible make an alpha line and when it is animate create color?
thanks

Aelf