3D Polygon Engine #5 - Multiple Sine Wave Motion

Subscribers:
808
Published on ● Video Link: https://www.youtube.com/watch?v=jOgZa89PYvQ



Duration: 3:58
152 views
5


2022-12-06. Still showcasing the default lighting style of XNA / MonoGame's BasicEffect with PreferPerPixelLighting for Phong shading that differ per pixel, not per vertex (interpolated through pixels).

The motion is multiple sine functions, with various degrees of timing/speed and magnitude. With a single function, it merely reaches the edges of the -1..+1 range of the Sine function, forming a cube. But adding two layers of various Sine functions, it produces a closer result to what I wanted -- basically seemingly random curves.

I'd like to try more with this, such as changing the Sine "functions" parameters as it animates, to make the curves themselves move. Right now, all objects are following the exact same curve pattern, while infinite in length, it never changes. Each object follows the same.

The Platonic solids are:
- Tetrahedron - 4 faces - triangles
- Cube - 6 faces - squares
- Octahedron - 8 faces - triangles
- Dodecahedron - 12 faces - pentagons
- Icosahedron - 20 faces - triangles

I am using the two most complex, Dodecahedron and Icosahedron, in this demo.



Playlists:
--------------------
- Polygon 3D: https://youtube.com/watch?v=0Qq_euAMP48&list=PLjnbT4UISq0YyjqBGG8Q34Kng5gqDmYrT
- Voxel Software 3D: https://youtube.com/watch?v=uadGU-stF-w&list=PLjnbT4UISq0bQF1g85tE9jTrKfEtdRYlY
- Ray Casting 3D: https://youtube.com/watch?v=SkaPYZOKPQg&list=PLjnbT4UISq0YcFtRFjFQqK0g6ONNCtrvY
- Graph-All Calculator 2D: https://youtube.com/watch?v=kLSc7bZW2Bs&list=PLjnbT4UISq0YLgynFSpLzml4BMC6TDZL2
- Parallax Side-Scroll Shooter 2D: https://youtube.com/watch?v=l9bIYkZepPo&list=PLjnbT4UISq0Y_7IAN_zUzxgZnfhXxo_0Q
- Road Pseudo 3D: https://youtube.com/watch?v=rA4g4VX7ys8&list=PLjnbT4UISq0bnfd1RC3M4PgTgkmhlkikV
- Arena Shooter 2D: https://youtube.com/watch?v=VKjiuq437t0&list=PLjnbT4UISq0adw__Y9B2eXA0LL35TyORU

Websites:
---------------------
- GitHub: https://github.com/JDoucette
- Indie Game Studio: http://xona.com
- Blog: http://thefirstpixel.com







Tags:
gamedev
monogame
indie
development
graphics
engine
xona
firstpixel
pixel
pixelart
retro
coding
wolf3d
raycast
raycasting
software
custom
shader