Welcome!
I'm not aware of an out-of-the-box solution for this (I don't know of any
general visualisation tools built on pyglet), though you might be able to
adapt https://github.com/fogleman/Minecraft for your purposes?
On Wed, 14 Aug 2019 at 21:10, Bruno Barroqueiro
wrote:
> Hello.
>
> I'm
Hello.
I'm completely new to pyglet...
I need to visualize voxel meshes (3d array with true or false). Currently.
i'm using matplotlib
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
def voxel_show(voxel):
fig = plt.figure()
ax = fig.gca(projection='3d')