Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 10 Jul 2011
Offline Last Active Jul 21 2014 12:24 PM

Posts I've Made

In Topic: Drawing not working?

20 April 2014 - 05:40 AM

I had a few too many beers when i posted so ill try to elaborate more. I have two classes, cube and chunk. The draw methods for eeach class are practically the same. The cube class draws fine, but the chunk does not. Im on my phone so i cant post code right now unfortunately 

In Topic: Max buffer size

09 April 2014 - 07:22 PM

No I'm using XNA. I tried changing CHUNKSIZE to 16 to cut the vertices and indices in half, and still nothing is drawn.



Forgot to explain. CHUNKSIZE is an int that stores a voxel struct in a 32x32x32 array. Now that CHUNKSIZE is 16, I assumed this would cut the data stored in the buffers in half.

In Topic: Max buffer size

09 April 2014 - 11:34 AM

Would that explain why my buffer isn't drawing then? I dont get an out of memory error

In Topic: Merging meshes

21 March 2014 - 12:32 PM


The cubes he draws only use two triangles when they use the same texture/color. All mine will be the same color so that's not an issue

In Topic: debugging for beginners

18 March 2014 - 11:14 AM

I had posted a thread a while back about an error I was having within a view frustum class. It turns out that I had two lines switched; I was trying to use an object before it was initialized. Even with using breakpoints and checking the local variables it still took forever to figure out where I messed up