The inventor mentor-Chapter 1 use OpenGL in inventor

Source: Internet
Author: User

Chapter 1 use OpenGL in inventor

 

Objectives of this Chapter

After reading this chapter, we will be able to do the following:

 

L create an inventor callback node and call the OpenGL library function in the callback function.

L understand how inventor uses and affects OpenGL State Variables

L compile a program that uses both inventor and OpenGL, and useSoglrenderactionTo render the scenario.

L use color index mode ).

 

(Advanced content)

This chapter describes how to call both the inventor and OpenGL libraries in the same window. This chapter includes several examples of using both inventor and OpenGL in different ways. From table 17-1 to table 17-9, it shows how the inventor and OpenGL states affect each other. All content in this chapter is relatively advanced.

 

 

Introduction

This chapter is only suitable for developers with OpenGL programming experience, so they will not deliberately introduce OpenGL. Before reading this chapter, we should read at least chapters 1 to 5 and 9th. Before we begin to use OpenGL with inventor, we need to process the inventor database (Chapters 1st to 4), inventor actions (Chapter 9th), and inventor events (Chapter 10th) have a basic understanding.

 

 

For the complete translation of this chapter, please download the following link:

The inventor mentorOriginal English version. Download

The inventor mentorChinese translation. Download

The inventor mentorSample Code. Download

 

 

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.