But if I call the video 3d drawing functions will it use the camera scene node? I'm really confused. I've tryed this:
int main()
{
video::E_DRIVER_TYPE driverType=video::EDT_OPENGL;
IrrlichtDevice *device = createDevice(driverType,
core::dimension2d<u32>(512, 384));
if (device == 0) return 1 ...
Search found 7 matches
- Fri Sep 03, 2010 11:40 pm
- Forum: Beginners Help
- Topic: What are the World / View / Projection / Texture transforms?
- Replies: 4
- Views: 536
- Fri Sep 03, 2010 10:25 pm
- Forum: Beginners Help
- Topic: Questions about how Irrlicht drawing is done.
- Replies: 3
- Views: 436
- Fri Sep 03, 2010 9:31 pm
- Forum: Beginners Help
- Topic: Questions about how Irrlicht drawing is done.
- Replies: 3
- Views: 436
Questions about how Irrlicht drawing is done.
1. First you add nodes to the Scene Manager. Each node contains one or more meshes. Then you add a CameraSceneNode to the scene manager and configure it. Then you call the function drawAll() of your scenemanager objects and everything is drawn to the video buffer based on that CameraSceneNode. Is ...
- Fri Sep 03, 2010 9:24 pm
- Forum: Beginners Help
- Topic: What are the World / View / Projection / Texture transforms?
- Replies: 4
- Views: 536
What are the World / View / Projection / Texture transforms?
I've spent hours trying to do a simple program that draws a 3d cube (1,1,0,2,2,1) from a camera at pos (0,0,0) facing towards (1,0,0) in a LH coordinate system where Z faces upwards, without using the scene manager, but I can't figure out how to do it. My last attempt:
core::matrix4 mat = core ...
core::matrix4 mat = core ...
- Thu Sep 02, 2010 5:52 pm
- Forum: Beginners Help
- Topic: How to create a mesh giving it's vertexes?
- Replies: 6
- Views: 921
- Thu Sep 02, 2010 12:47 am
- Forum: Beginners Help
- Topic: How to create a mesh giving it's vertexes?
- Replies: 6
- Views: 921
- Wed Sep 01, 2010 10:51 pm
- Forum: Beginners Help
- Topic: How to create a mesh giving it's vertexes?
- Replies: 6
- Views: 921
How to create a mesh giving it's vertexes?
For instance:
IMesh * createMesh(v3d(0,0,0),v3d(1,0,0),v3d(0,1,0),v3d(1,0,0));
To create a simple pyramid. What's the right code for it?
Thanks in advance.
IMesh * createMesh(v3d(0,0,0),v3d(1,0,0),v3d(0,1,0),v3d(1,0,0));
To create a simple pyramid. What's the right code for it?
Thanks in advance.