Physics Engine Havok Tutorial (i) Building the development environment

Source: Internet
Author: User

Physics Engine Havok Tutorial (i)
Build the development environment

Online about Havok's tutorial is not much, and Havok learning up or have a certain difficulty, so here wrote a series of tutorials, hope can help readers. This is the first issue.

First, Havok physics engine Simple Introduction
the Havok engine, called the Havok Game Dynamics SDK, is generally called Havok and is a game engine for the physical system, designed for video games, Focus on real-world simulations in the game. The Havok engine, which uses the collision function, allows many other real-world situations to be reflected in the game with the greatest fidelity.
The developer Havok was founded in 1998, and now the Havok physics engine is used by more than 200 games, and many movies have also applied the company's software technology.
Havok was acquired by Intel in September 2007, and in order to compete with Nvidia's PhysX, Intel opened the Havok physics and animation components free of charge last year (08) with Havok SDK libraries, examples, Technical documentation and format conversion tools that support the modeling software such as Maya, 3ds Max, and avid xsi.
in accordance with Havok's authorized documentation, even if it is used to develop business games, there is no need to pay for it, which should be good news for domestic enthusiasts.
Compared with PhysX, the individual thinks, havok whether in the stability or the function, all must notch above. Nvidia's PhysX is taking the lead on hardware acceleration, but as AMD grows to Havok hardware-accelerated development, future Havok will certainly be more powerful.

Second, the construction of Havok development environment
1. Installing the SDK
First, to Havok's official website to download the SDK,http://software.intel.com/sites/havok/, fill in their name and email, after the register can be downloaded.

content Tools is an export tool that includes some 3D modeling software. The Behavior tool is a role editor for game artists or designers, with WYSIWYG functionality. The most important thing for a program ape is the SDK, which I downloaded is the 6.0.0 version number. Since Intel has only opened two components of physics and animation, the SDK below contains only these two components, others such as fabric (cloth) and destruction (destruction) or the need to pay for the ability to use.
The Havok SDK uses the C + + language, the development environment is visual Studio, and the version number I use is 2005.


Demo folder Here is the SDK example program and source code, Docs is a document that contains CHM and PDF two formats. Lib is a library of links, which is divided into debug and release and dynamic and static links. SOURCE The following is the SDK's include file. Tools below is a tool that includes visual debugger, the visual debugger.


2. Set up visual Studio

Here's an example of the visual Studio 2005 I'm using.
The header file includes the settings for the folder. Open Visual Studio 2005, select Tools-Options-project and Solution-VC + + folder

Select Include file, add a new line, and path to the source folder of the Havok SDK installation folder. It is recommended to create an environment variable called Havok_home, which avoids the use of absolute paths.
The library folder cannot be set here, but you should set different libraries including folders for the debug and release version numbers. Because both debug and release, their library names are the same. You can open Demo/demos project below to see how it is set to different version numbers to set the links to include folders.

Third, the first Havok procedure

Here is an example of a console demo program that comes with the SDK, using visual debugger to see the detailed effects of Havok. First execute the Visual debugger program under the Tools/visualdebugger folder and use it to observe the actual performance of the Havok, save the rendering steps, and be able to record the scene for later viewing. Demo program under the Demo/standalonedemos/consoleexamplemt folder, this program simulates a high-speed, moving rigid body that impacts the wall's effect. Execute it and then you can see the actual effect in the Visualdebugger.

Okay, so that's the first tutorial. The next issue will be exposed to detailed coding issues. If you have any questions, welcome to communicate with me, my email [email protected], blog Blog.csdn.net/shangguanwaner, next time goodbye.

Physics Engine Havok Tutorial (i) Building the development environment

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.