kwg / InfiniteArtGallery

Infinite Art Gallery is a game that uses established methods of evolving art with Compositional Pattern Producing Networks (CPPNs) to allow users to explore a world of art tailored to their preferences.
https://people.southwestern.edu/~schrum2/SCOPE/iag.php
3 stars 0 forks source link

Change sculpture generation to a single mesh #92

Closed kwg closed 4 years ago

kwg commented 5 years ago

remove composite object generation and switch to a single mesh

kwg commented 4 years ago

2019-12-03

Proof of concept. Mesh generation like a Minecraft chunk. Randomly assigning colors to each voxel (can be mapped to the color output from the CPPN later). Voxel count is 16x16x128. No performance hit.

schrum2 commented 4 years ago

Can we see 32 by 32 by 32? Something less skinny? Also looking forward to using the CPPN to color.

kwg commented 4 years ago

2019-12-03 (1)

Resolution is arbitrary at this point.

kwg commented 4 years ago

... although, I could multi-chunk a sculpture is for some reason we wanted it larger

kwg commented 4 years ago

2019-12-12 (1)

kwg commented 4 years ago

2019-12-12 (2)

kwg commented 4 years ago

2019-12-12 (3)

kwg commented 4 years ago

Closing this issue as "completed as spec'd." In the future, sculptures can be made from multiple meshes to extend the resolution beyond the 65536 vertices limit per mesh. This can be done in a generic way and sorted out automatically.

Assuming:

Theoretical limit is currently 12x12x24 is the maximum under the worse conditions. 16x16x32 seems to work out the majority of the time. If using transparency the resolution would drop to 9x9x18, but transparency is not currently working.