Re: Voxel mesh

2019-08-19 Thread Bruno Barroqueiro
Hello.

At least i'll try... thanks for the suggestion.

Regards

quinta-feira, 15 de Agosto de 2019 às 01:43:44 UTC+1, Richard Jones 
escreveu:
>
> 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 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...@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
>>  
>> 
>> .
>>
>

-- 
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/39811318-529d-4a64-82e4-87cc33ecf11f%40googlegroups.com.


Re: Voxel mesh

2019-08-14 Thread Richard Jones
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 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
> 
> .
>

-- 
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.