Hi all,
I'm new to this engine, sorry to bug you guys with this newbie question:
1. where can i read the old forum message? this could be help full for
finding solution for the followings: (might have solved from the old forum)
2. Is there any 3rd person view tutorial or samples on howto do it ?
3. how to or tutorial to do landscape/tertain with this engine?
Thanks for the future help.
old forum, 3rd person & tertain
Hi,
The old forum can be found at http://sourceforge.net/forum/?group_id=74339.
There is no 3rd person or terrain tutorial for the irrlicht engine available as far as I know, but maybe you'll find a more general at the www. If you want to do terrain, you also could load or create your terrain mesh and display it using e.g. the octtrescenenode. Or implement your own terrain renderer. (Like in the CustomSceneNode tutorial.)
The old forum can be found at http://sourceforge.net/forum/?group_id=74339.
There is no 3rd person or terrain tutorial for the irrlicht engine available as far as I know, but maybe you'll find a more general at the www. If you want to do terrain, you also could load or create your terrain mesh and display it using e.g. the octtrescenenode. Or implement your own terrain renderer. (Like in the CustomSceneNode tutorial.)
-
- Posts: 199
- Joined: Sun Aug 24, 2003 5:47 pm
- Location: Germany
to question 3 for terrain:
im still a beginner and trying to find a good looking AND performant way to a nice terrain with irrlicht, the best information in web for building terrain, i found is here:
http://www.vterrain.org/
Maybe someone of the cyberspace-community of this forum or Mr devdesk wants to build a free open irrlichtcode for terrain together ?
im still a beginner and trying to find a good looking AND performant way to a nice terrain with irrlicht, the best information in web for building terrain, i found is here:
http://www.vterrain.org/
Maybe someone of the cyberspace-community of this forum or Mr devdesk wants to build a free open irrlichtcode for terrain together ?
Hi,
Hope that help you ...
Last word :
This engine is really one of the best engine i have found on the net !
cyb
I don't know if this is what you want, but i have found a trick for moving MeshNode "à la" 3rd view, this is the code (not optimized, sorry), i was inspired by the source code of CameraFPS :2. Is there any 3rd person view tutorial or samples on howto do it ?
Code: Select all
case KEY_KEY_W:
case KEY_KEY_S:
{
// node contain the mesh animated scene node.
vector3df v = node->getPosition();
if (event.KeyInput.Key==KEY_KEY_W)
{
vector3df Target(1,0,0);
vector3df nodeRotation = node->getRotation();
matrix4 mat;
mat.setRotationDegrees(nodeRotation);
mat.transformVect(Target);
Target.normalize();
v+=Target;
node->setPosition(v);
}
} break;
Last word :
This engine is really one of the best engine i have found on the net !
cyb
Heres the basics of a third person camera routine I've been playing with that I think is fairly easy to understand:
vector3df fpos = faerieNode->getPosition();
vector3df frot = faerieNode->getRotation();
vector3df opos = fpos;
Camera->setTarget(fpos);
fpos.X -= 50;
fpos.Y += 10;
fpos.rotateXZBy(frot.Y*-1.0f,opos);
Camera->setPosition(fpos);
Assuming that faerieNode is the node that you want to chase, this routine places the camera to the left and slightly above. Hope it helps!
vector3df fpos = faerieNode->getPosition();
vector3df frot = faerieNode->getRotation();
vector3df opos = fpos;
Camera->setTarget(fpos);
fpos.X -= 50;
fpos.Y += 10;
fpos.rotateXZBy(frot.Y*-1.0f,opos);
Camera->setPosition(fpos);
Assuming that faerieNode is the node that you want to chase, this routine places the camera to the left and slightly above. Hope it helps!
-
- Posts: 8
- Joined: Mon Nov 10, 2003 2:34 pm