So this is were I'm at.
The author gave me a copy of Gile[2] 2.
Export object, diffuse & light mapped object from Giles.
Imported to AppGameKit but cant get the diffuse texture map to show.
If you can help I think I can give you a freeware copy of Giles.
[img][/img]
// set window properties
SetWindowTitle( "Simple 3D Physics" )
//SetWindowSize( 1024, 768, 0 )
// set display properties
SetVirtualResolution( 1024, 768 )
SetOrientationAllowed( 1, 1, 1, 1 )
//SetScissor(0,0,0,0)
Create3DPhysicsWorld()
Set3DPhysicsGravity(0,-1,0)
CreateObjectBox( 1, 10,10,10 )
LoadImage( 3, "Lightmap.jpg" )
LoadObject( 4, "temp_lmap.obj", 30)
SetObjectImage( 4, 3, 0)
SetSunActive( 1 )
Create3DPhysicsStaticBody( 1 )
SetObjectShapeBox(1)
CreateObjectBox( 2, 5,5,5 )
SetObjectPosition( 2, 5.1,30,0 )
Create3DPhysicsDynamicBody( 2 )
SetObjectShapeBox(2)
SetObjectColor( 4, 600, 1, 600,1)
SetObjectColor( 1, 0, 255, 1, 1)
SetObjectColor( 2, 0, 1, 255, 1)
SetSunActive( 1 )
SetSunDirection( 0.5, -0.5,1 )
SetCameraPosition( 1, 0,30,-80 )
SetCameraLookAt( 1, 0,10,0, 0 )
do
Print( ScreenFPS() )
Step3DPhysicsWorld()
Sync()
loop
Asus T100. Win 8.1 CPU Z3775. AppGameKit V2 2.0.16
HD Graphics (Bay Trail)
i5 with GTX 970 16G