public:t-gede-15-1:lab3
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:t-gede-15-1:lab3 [2015/01/25 17:42] – [Lab Project] marino | public:t-gede-15-1:lab3 [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Discussion ===== | ===== Discussion ===== | ||
- | Discussion thread for this lab is here: [[https:// | + | Discussion thread for this lab is here: [[https:// |
===== Goal ====== | ===== Goal ====== | ||
Line 53: | Line 53: | ||
} | } | ||
</ | </ | ||
- | - **Instantiate Effect and Update from FrameListener** Now you have to create an instance of your effect, passing the Cube entity into it's constructor, | + | - **Instantiate Effect and Update from FrameListener** Now you have to create an instance of your effect, passing the Cube entity into it's constructor, |
+ | - **Make the cube move in a non linear path**, Now the cube moves linearly upward rotating around Sinbad, make the cube move non linearly, explore the use of cosine function with time on the cubes radius, height or velocity for interesting results. | ||
+ | ===== Bonus points! ===== | ||
<box green 100% | **Bonus Pts!** > | <box green 100% | **Bonus Pts!** > | ||
- **Activate Only when Facing Ogre** To know if an object is in front of the camera, you can apply a simple dot product test. Take the vector between the camera and the object (use vector subtraction) and call that **V**. Now take the dot product between **V** and the facing vector **F** of the camera ('' | - **Activate Only when Facing Ogre** To know if an object is in front of the camera, you can apply a simple dot product test. Take the vector between the camera and the object (use vector subtraction) and call that **V**. Now take the dot product between **V** and the facing vector **F** of the camera ('' |
/var/www/cadia.ru.is/wiki/data/attic/public/t-gede-15-1/lab3.1422207724.txt.gz · Last modified: 2024/04/29 13:32 (external edit)