Search found 21 matches
- Tue Oct 18, 2011 12:24 pm
- Forum: Beginners Help
- Topic: cammera bounding box
- Replies: 3
- Views: 352
Re: cammera bounding box
aabbox needs to created that tracks the camera position.
- Mon Oct 17, 2011 6:10 am
- Forum: Beginners Help
- Topic: Generating Mazes
- Replies: 3
- Views: 302
Re: Generating Mazes
Ok so I will use the Cmesh and see how I get on.
- Sun Oct 16, 2011 1:19 pm
- Forum: Beginners Help
- Topic: Generating Mazes
- Replies: 3
- Views: 302
Generating Mazes
Hi, I am attempting to build a program that can generate a maze and then render it and allow me to navigate through it using a camera. I can generate the maze (prims algorithm) and I am now attempting to create the maze as 3d objects and I have got stuck. I am having problems with creating the mesh ...
- Fri Oct 07, 2011 2:34 pm
- Forum: Beginners Help
- Topic: [SOLVED]intersectsWith strange behaviour
- Replies: 2
- Views: 633
Re: intersectsWith strange behaviour
Thank you for replying. Does that mean that the addCameraSceneNodeFPS creates a node without dimension?
[edit] you were absolutely correct and I now have the effect I was after so I gues that the camera node doesn't have any dimension to it.
[edit] you were absolutely correct and I now have the effect I was after so I gues that the camera node doesn't have any dimension to it.
- Fri Oct 07, 2011 1:15 pm
- Forum: Beginners Help
- Topic: [SOLVED]intersectsWith strange behaviour
- Replies: 2
- Views: 633
[SOLVED]intersectsWith strange behaviour
I have the following code:
//detect a collision with the camera
if(camera->getTransformedBoundingBox().intersectsWithBox(
cubeOne->getTransformedBoundingBox()))
{//set cube invisible if intersecting with camera
cubeOne->setVisible(false);
}
but it does not work correctly. As is the cube is ...
//detect a collision with the camera
if(camera->getTransformedBoundingBox().intersectsWithBox(
cubeOne->getTransformedBoundingBox()))
{//set cube invisible if intersecting with camera
cubeOne->setVisible(false);
}
but it does not work correctly. As is the cube is ...
- Fri Oct 07, 2011 12:14 pm
- Forum: Beginners Help
- Topic: [SOLVED]Cube seems to be moving
- Replies: 4
- Views: 460
Re: Cube seems to be moving
Well you seem to have been correct as I now create the cube with no arguments and the movement seems to have gone. I am now altering the position of the node with set position after creation which is what I thought I was doing with the args. 
- Fri Oct 07, 2011 11:30 am
- Forum: Beginners Help
- Topic: [SOLVED]Cube seems to be moving
- Replies: 4
- Views: 460
Re: Cube seems to be moving
Well the cube rotates ok the movement appears to be from the camera perspective. So if I stay still and view the cube it rotates nicely. If I move the camera the cube appears to alter position and even size.
- Fri Oct 07, 2011 10:42 am
- Forum: Beginners Help
- Topic: [SOLVED]Cube seems to be moving
- Replies: 4
- Views: 460
[SOLVED]Cube seems to be moving
I have added a cube to a scene (I am simply using the quake castle scene from tut 2) and I am rotating it. No problem in that but as I move the camera around the cube appears to be changing position. Is it just appearing to do so or has anyone seen this before?
Code I use to add cube
//add cube ...
Code I use to add cube
//add cube ...
- Tue Mar 02, 2010 2:21 pm
- Forum: Code Snippets
- Topic: XML Writer/Reader
- Replies: 3
- Views: 7921
Have you ever tried tinyxml
- Tue Mar 02, 2010 2:15 pm
- Forum: Beginners Help
- Topic: New user Dev-C++ or Code Blocks
- Replies: 14
- Views: 1688
- Sun Feb 15, 2009 10:29 am
- Forum: Beginners Help
- Topic: Race Track Data
- Replies: 4
- Views: 472
- Sun Feb 15, 2009 9:42 am
- Forum: Beginners Help
- Topic: Race Track Data
- Replies: 4
- Views: 472
Race Track Data
Does anyone know where I can get data for some of the more famous racing tracks? I expect it is a pay for thing but I would be interested to find out.
- Thu Feb 05, 2009 12:00 pm
- Forum: Beginners Help
- Topic: Terrain dissapears
- Replies: 5
- Views: 675
- Thu Feb 05, 2009 11:54 am
- Forum: Beginners Help
- Topic: Terrain dissapears
- Replies: 5
- Views: 675