Tutorials

From Newton Wiki
Jump to: navigation, search

Newton Tutorials

Newton 2.0

The Tutorials for Newton 2.0 are built on a common tutorial framework written in C++ provided with the SDK. The framework utilizes OpenGL (which is not required to use newton) and all samples are configured for compilation with Microsoft Visual Studio 6 and Microsoft Visual Studio .NET. A basic understanding of C++, 3D Graphics, and Newtonian Physics are assumed.

Note: you need to download the latest verion of Newton and set an enviromnet variable name NEWTON_HOME to point to where the newton engine SDK is in you disk.
A typical enviroment varaibel looks like this:
NEWTON_HOME=C:\Newton_200\NewtonSDK\sdk

http://www.newtondynamics.com/downloads/NewtonTutorials.rar

The more relevants of these tutorials with some variations to conform to objective C, are also available on iPhone/iPod Touch

http://www.newtondynamics.com/downloads/iPhoneTutorials.zip

  • This iPhone tutorial is built with old version (2.x) of SDK. Simulator library contains some unused functions but this blocks execution on Simulator. So running in Simulator will fire some error related thread functions. Because there are a lot of changes after the tutorial made, you can't run tutorial even with recent build of Newton. Anyway, you can run the tutorial on Device without any problem. I confirmed this compiled and worked with iOS SDK 4.3 / Xcode4 for Device. Of course, you need iOS developer license to run on Device.

Use this tutorial for only proving execution on iOS and studying how-to guide. Related discussion thread: http://newtondynamics.com/forum/viewtopic.php?f=12&t=6327&p=46755#p46755


Series 100 Beginners package for Newton 2

1. Getting Started - title=Tutorial 101: - Getting Started  
2. Adding Rigid Bodies - title=Tutorial 102: - Adding Rigid Bodies  
3. Adding Joints - title=Tutorial 103: - Adding Joints  
4. Ray Cast And Convex Cast - title=Tutorial 104: - Ray Cast And Convex Cast  
5. Basic Materials - title=Tutorial 105: - Basic Materials  
6. Mesh Collision - title=Tutorial 106: - Mesh Collision  
7. Height Field Collision - title=Tutorial 107: - Height Field Collision  

Serie 200 Intermediate package

1. Advanced Custom Material System - title=Tutorial 201: - Advanced Custom Material System  
2. Player Controller - title=Unknown  
3. Ray Cast and Convex Cast vehicle controller - title=Tutorial 203: - Ray Cast and Convex Cast vehicle controller  

Newton 1.53

The official tutorials for Newton 1.53 are built on a common tutorial framework written in C++ provided with the SDK. The framework utilizes OpenGL and all samples are configured for compilation with Microsoft Visual Studio 6 and Microsoft Visual Studio .NET. A basic understanding of C++, 3D Graphics, and Newtonian Physics are assumed.

1. Getting Started - title=Tutorial - Getting Started  
2. Callbacks - title=Tutorial - Callbacks  
3. Collision Trees - title=Tutorial - Collision Trees  
4. Materials - title=Tutorial - Materials  
5. Joints - title=Tutorial - Joints  
6. Utility Functions - title=Tutorial - Utility Functions  
7. Character Controllers - title=Tutorial - Character Controllers  

Unofficial Tutorials

General

1. Callbacks - title=Tutorial - Callbacks (2)  
2. Making a raycast car - title=Making a raycast car  
3. Oppose a force using a custom joint constraint - title=Oppose a force using a custom joint constraint  
4. Fast User-mesh collision - title=Fast User-mesh collision  
5. Custom joints
6. Getting started with Newton - title=Getting started with Newton  
7. Super simple quick-start with 48 lines of C example - title=Super simple quick-start with 48 lines of C example  

Engine Specific Tutorials

  1. Creating game with Irrlicht, Newton and Lua
  2. Tutorial - Ogre and Newton with OgreNewt beginners guide
  3. Tutorial_-_Irrlicht_and_Newton_start
  4. Tutorial - Irrlicht Engine with Newton (triangle meshes tutorial)
  5. Tutorial_-_Newton Callbacks tutorial with Irrlicht
  6. Tutorial_-_GLScene and Newton in Delphi (without oxNewton)
  7. Tutorial - SoftPixel Engine with Newton
  8. Tutorial - Irrlicht 1.7.2 & Newton 1.5.3 Tutorial #1
  9. Tutorial - BatteryTech 1.1 && Newton core_200 Tutorial
  10. Add some please!!