I check your old post, I copy you code into the IDE, save it. I will study the code to see how you do it. I assuming you use shift register to display the cube. Right ?
Correct. However different from the PIC schematic, I wired the 25 led columns to the most significant 25 bit of the 32 bit shift register ( 2 16 bit registers wired in series) rather then the least significant 25 bits of the register, so I shift out a complete 32 bit long variable for each 'level' update. I had did that in case in the future I wanted to take advantage of those extra 7 output bits, perhaps to drive a 5 digit seven segment display.
PS: whatever leds you decide on be sure to use the diffused varity, as the brighter clear leds have a narrower 'field of view' and won't look nearly as good in a cube application. You can sand leds to diffuse them but that's a lot of sandpaper and elbow grease, better to just buy the right ones to begin. E-bay Asian sellers have killer good prices on bulk leds.