Anyone able to direct me to some reading that would help me understand? This is my first time programming 3D and even working with floats but I think I've got the floats down.
Exactly what I'm not getting is here:
Code: Select all
scene::ITerrainSceneNode* terrain2 = smgr->addTerrainSceneNode(
"terrain-heightmap.bmp",
0, // parent node
-1, // node id
vector3df(0.f, 100.f, 250.f), // position
vector3df(0.f, 0.f, 0.f), // rotation
vector3df(1.f, 1.f, 1.f), // scale
SColor ( 255, 255, 255, 255 ), // vertexColor
5, // maxLOD
ETPS_17, // patchSize
5 // smoothFactor
);
Code: Select all
scene::ICameraSceneNode* camera =
smgr->addCameraSceneNode(0,
vector3df(200.f,200.f,200.f),
vector3df(10.f,0.f,0.f),
-1,
true);
I don't need the code, just an explanation or a good link. Thanks a lot.