NOTE: There are many functions in this API. You will probably need
		  only a few of them. You can write a great game using only about 20
		  functions from this API. We suggest that you first look at some
		  sample code and only when you feel comfortable, take a deeper 
		  look at this API.
		  

	
	  
		
	The main idea
	-------------
	With one command you load a three dimensional world model
	into the engine. With one command you create a camera
	for taking pictures from inside the world. 
	Now all you have to do is call this function
	STATE_engine_render(HWND hwnd, DWORD camera)
	and voila !!! you have the picture taken using the camera
	pasted on the given window !!!!
	now if you modify the camera location or direction
	and call the rendering function again you get movement !!!

		
	Naming convention.
	1- All the functions of this API start with STATE_
		example: STATE_camera_create(char *camera_name);

	2- The second word is the name of the group of functions.
		examples:
			STATE_camera_set_location(x,y,x);
			STATE_engine_increase_atmospheric_effect();


	There are several groups off API commands
	1- the engine API
		all function starting with STATE_engine_
		controls things like picture quality, atmospheric effect etc ...

	2- the camera API
		all function starting with STATE_camera_
		controls properties of the camera like
		zoom location direction etc...

	3- The object API
		all function starting with STATE_object_
		In your world you can define objects like an airplane,
		a boy, a runner, a bird etc ...
		this api allows you to control their behavior.

	The Other APIs are:
	The Polygon API, the Point API, the group API,
	the Track API, the Bitmap API, the Math API, the Utilities API,
	the Animation API, the profiler API, the background API and more.
	You can find more information at the beginning of each API.


	

 

 

 

 

 

Go to page 1

 

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com