Game Development Community

Why can't things just work?

by Tony Pitman · in Torque X 3D · 10/31/2009 (2:57 am) · 6 replies

I am sorry if I sound a bit frustrated, but I am.

I am trying to make a 3D game. I have created a grid in XSI and exported it to DTS. I put it in my scene as the ground. I have a couple of buildings that I made as well.

So depending on which way I am looking just by rotating a few degrees horizontally the ground appears and disappears. What would cause that?

I have taken a couple of images. One where the ground shows up and the other were it disappears:

www.shatalmic.com/GroundProblem/GroundProblem1.png

www.shatalmic.com/GroundProblem/GroundProblem2.png

#1
10/31/2009 (4:05 pm)
Make sure your bounds box encompasses the mesh shape in all directions. If the mesh pokes through the bounds box the least bit it will cause that kind of error.
#2
10/31/2009 (4:42 pm)
I check that and it is not it. The mesh is completely inside the bounds. What else could cause this?
#3
10/31/2009 (7:04 pm)
Hey Tony,

I sympathize, its tough getting things to work.

Have you tried taking your terrian out and loading just your models?

#4
10/31/2009 (7:36 pm)
I figure out a fix, but I am not sure why it fixes it.

For the fun of it I decided to recreate the ground mesh. This time instead of a grid I chose to make a cube. I then "smashed" the cube so that it was basically flat.

I then applied the same material in XSI to it, exported to DTS and it all works now.

So I don't know whether it was just the act of redoing it or if there is a problem with using a grid.

At any rate, this problem is fixed, on to the next one.
#5
11/02/2009 (3:00 pm)
Ah glad you sorted it!

#6
11/02/2009 (3:03 pm)
I still wish I knew why it wasn't working. I need to move on, but if someone else has any ideas it might help someone else or maybe me in the future.