## Tagged: algorithm Toggle Comment Threads | Keyboard Shortcuts

• #### frankiezafe 17:49 on 2016-08-30 Permalink | Reply Tags: algorithm, design ( 6 ), graphics ( 18 ), Peel ( 21 )

Puzzle research for peel.

In the process of searching a “why” 1, the idea of a messed up structure to reconstruct arose. As the other concepts in the game, it’s easy to understand visually, a bit more hard to describe programmatically. Indeed, once several segments will be connected, rotations will be constrained, and hierarchy tree (3d objects parenting) has to be rebuild.

In these images, the player starts in the left state, and after rotating and connecting all the parts, he/she ends up in the right state. The images show something looking like a level, but i’m planning to add dynamically the next segments to generate the sensation of an endless puzzle.

The puzzle starts at the bottom.

Axis of liberty: each start joint (in fuschia) has 1 degree of freedom.

Note: cluster (orange wireframe cubes) must be attached to connector or gap (for the 2 first ). Each cluster knows wich joints are presents in it. If a segment moves, the joints move with it, and potentially reach the next cluster.

By building a slightly more complex structure and trying out joint rotation with connected segments, collision issues starts to show up!

First try could be solved by shortenning a bit the segments:

But these issues can not be quickly fixed:

Enabling and disabling liberties is a crucial point in game mechanics, and will not be easy to calculate… At least, i don’t have the solution popping out right now.

• #### frankiezafe 18:58 on 2016-08-05 Permalink | Reply Tags: algorithm, dev ( 52 ), generative ( 10 ), graphics ( 18 )

UV coordinates generation.

End of the week and a bit disapointed: i didn’t finished the joint generation. Manipulation of memory using OGRE_ALLOC_T, MemoryDataStream & DataStreamPtr is tricky. The idea is to generate the texture on the fly, for each new joint. Therefore, i couldn’t achieve the uv calculation… The top faces are ok, the other ones have to be done.

• #### frankiezafe 12:12 on 2016-08-05 Permalink | Reply Tags: algorithm, Inkscape, Python ( 5 )

Algorithmic object creation.

The work started yesterday wit @balt starts to fall into place. All vertices are generated at the right location and in a logical order (see right part of the image), making it possible to construct the faces “easily”. But it’s anyway a hell of +, -, * and % 🙂

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r