I tried a few experiments:
If I change the far value to 200, I have to place the objects at a minimum distance of 80 pixels (on the Z axis) for the problem to go away.
If I change the far value to 50000, I still need to place the objects at a minimum of 80 pixels (nothing changes).
If, however, I ...
Search found 13 matches
- Fri Oct 29, 2010 12:39 pm
- Forum: Beginners Help
- Topic: Hiding the sphere with "ghost" object...
- Replies: 11
- Views: 1207
- Thu Oct 28, 2010 9:24 pm
- Forum: Beginners Help
- Topic: Hiding the sphere with "ghost" object...
- Replies: 11
- Views: 1207
- Thu Oct 28, 2010 8:35 pm
- Forum: Beginners Help
- Topic: Hiding the sphere with "ghost" object...
- Replies: 11
- Views: 1207
- Mon Oct 11, 2010 9:57 am
- Forum: Beginners Help
- Topic: Orthogonal camera with illusion of depth
- Replies: 2
- Views: 521
Wouldn't scaling the objects change their size? I want the objects to maintain their size regardless of their distance from the camera, just like in an orthogonal projection. I only want them to move slower when moving the camera to give the illusion of depth. Think of a space shooter with multiple ...
- Sat Oct 09, 2010 8:36 pm
- Forum: Beginners Help
- Topic: Orthogonal camera with illusion of depth
- Replies: 2
- Views: 521
Orthogonal camera with illusion of depth
Hello,
I have a rather simple question and I apologize if it has been asked before. I use a camera with an orthogonal projection for a 2D game and I want to give the user the illusion of depth using the scene nodes' Z position.
I will give an example: With an orthogonal projection, the scene nodes ...
I have a rather simple question and I apologize if it has been asked before. I use a camera with an orthogonal projection for a 2D game and I want to give the user the illusion of depth using the scene nodes' Z position.
I will give an example: With an orthogonal projection, the scene nodes ...
- Thu Mar 04, 2010 1:31 pm
- Forum: Everything 2d/3d Graphics
- Topic: Techniques for making a 2D game world.
- Replies: 10
- Views: 3768
- Thu Mar 04, 2010 1:01 pm
- Forum: Beginners Help
- Topic: Moving and zooming using an orthogonal camera [SOLVED]
- Replies: 8
- Views: 1140
Finally, this worked:
I knew it was something extremely simple. Thank you blAaarg and Bear_130278 for your help. 
Code: Select all
camera->setUpVector(vector3df(cos(DEGTORAD * angle), sin(DEGTORAD * angle), 0));- Fri Feb 26, 2010 9:38 am
- Forum: Everything 2d/3d Graphics
- Topic: Techniques for making a 2D game world.
- Replies: 10
- Views: 3768
@pippy3: I know it would be easier to use a 2d engine like PyGame, Allegro, SFML, etc., but I'm willing to take the challenge. :)
@brainsaw: It would be great if you could share that project of yours, even if it runs with an older version of Irrlicht. Although I won't be generating an image for the ...
@brainsaw: It would be great if you could share that project of yours, even if it runs with an older version of Irrlicht. Although I won't be generating an image for the ...
- Thu Feb 25, 2010 10:15 pm
- Forum: Everything 2d/3d Graphics
- Topic: Techniques for making a 2D game world.
- Replies: 10
- Views: 3768
Techniques for making a 2D game world.
Hello. This is my first attempt at making a game and I will appreciate any help you can give me. :)
I want to make a 2D game where you control a tiny ship in a cave of some sort. This cave will be created automatically (random levels) and will look like this:
http://imgur.com/HxEI3.png .
Suppose ...
I want to make a 2D game where you control a tiny ship in a cave of some sort. This cave will be created automatically (random levels) and will look like this:
http://imgur.com/HxEI3.png .
Suppose ...
- Thu Feb 25, 2010 1:41 pm
- Forum: FAQs, Tutorials, Howtos, and external tool lists
- Topic: [DevC++] dll with directx 9.0c support available
- Replies: 130
- Views: 167521
- Wed Feb 24, 2010 5:14 pm
- Forum: Beginners Help
- Topic: Moving and zooming using an orthogonal camera [SOLVED]
- Replies: 8
- Views: 1140
- Wed Feb 24, 2010 11:11 am
- Forum: Beginners Help
- Topic: Moving and zooming using an orthogonal camera [SOLVED]
- Replies: 8
- Views: 1140
- Wed Feb 24, 2010 12:30 am
- Forum: Beginners Help
- Topic: Moving and zooming using an orthogonal camera [SOLVED]
- Replies: 8
- Views: 1140
Moving and zooming using an orthogonal camera [SOLVED]
Hello,
I've created an orthogonal camera using the following code:
ICameraSceneNode * camera = smgr->addCameraSceneNode();
matrix4 ortho;
ortho.buildProjectionMatrixOrthoLH(800, 600, 1, 500);
camera->setProjectionMatrix(ortho, true);
camera->setPosition(vector3df(0, 0, 0));
camera ...
I've created an orthogonal camera using the following code:
ICameraSceneNode * camera = smgr->addCameraSceneNode();
matrix4 ortho;
ortho.buildProjectionMatrixOrthoLH(800, 600, 1, 500);
camera->setProjectionMatrix(ortho, true);
camera->setPosition(vector3df(0, 0, 0));
camera ...