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 <bruno.barroque...@gmail.com> wrote: > 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') > ax.voxels(voxel, edgecolor='k') > plt.show() > > but it only works for small meshes (source: > https://matplotlib.org/3.1.1/gallery/mplot3d/voxels.html). > > Can anyone give advice or some examples of how could i implement this > using pyglet? > > Regards > BB > > -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pyglet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/pyglet-users/ec6b86db-1f50-4c95-8419-ed308ce37e7f%40googlegroups.com > <https://groups.google.com/d/msgid/pyglet-users/ec6b86db-1f50-4c95-8419-ed308ce37e7f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyglet-users/CAHrZfZCzKV7uH%3D4dGNQzZQv6b0y19wT2%2B6TNxV5vjKwH6mD31g%40mail.gmail.com.