Parallel Lines using a Sine Node

Started by cyphyr, September 08, 2019, 12:50:00 pm

Previous topic - Next topic


I would suggest that an add scalar after the last internal node with a value that matches the amplitude should do the trick :)

Ryzen 9 3900X @3.79Ghz, 64Gb (TG4 benchmark 6:20)
Ryzen 9 5950X @3.4Ghz, 16Gb (TG4 benchmark 4:28)


It's a bit of a hack on two displaced red planes, one to show the top and the other the underside. With a 10 meter grey plane at 0,0,0.

You can add what ever you like inside the node called 'Cosine Generator'. As Richard says by adding two at the end of the cosine calculation, that will indeed raise the red line above the X axis. You could just plug a PF in to the Main Input at the bottom to see how its colour displaces the red plane too.


Quote from: N-drju on December 09, 2019, 04:29:46 am
Quote from: Hetzen on December 08, 2019, 02:33:02 pmYou can also use the scene I used to generate a cosine curve in the explained series. Attached below.


Right click on the internal network of the Cosine Generator node and you can use that as a test bed to try out some translations.

Now, the thing is that the waves cut through the "x" axis. Is it possible to elevate the entire equation so that it never takes on a negative "y" value?

For example, what would you say (and how would you build) the following function (or any simmilar) that essentially does exactly what is mentioned above?


Wouldn't that just be an equation that doesn't enter the negative realm?