Create scenario and track-challenge: Create a new unit test for the track

Source: Internet
Author: User

This chapter has dealt with a lot of complicated problems and you may find it difficult. So this time I have assigned a simple task. Enter the trackline class and add a new unit test for a simple track. You just need to add some vertices and test them until the track looks good enough.

Figure 12-22 shows an example of a custom track. Please note that I reversed this book to look better. You can also use an inverted post-screen shader as shown in chapter 8th.


Figure 12-22

If you have more energy, try importing tracks from 3D Studio MAX using the trackimporter class and then testing them in the track or landscape class. In short, enjoy the scene and track RenderingCode. Hopefully it will also be useful for other game projects.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.