Check out Alice Chess, our featured variant for June, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Single Comment

Jocly. An html-based web platform for playing 2-player abstract stategy games.[All Comments] [Add Comment or Rating]
H. G. Muller wrote on Thu, Dec 21, 2023 08:45 PM UTC:

I had some success in creating cylindrically symmetric pieces. How about this:

Now I don't see any disturbance on the diffusemap, which was evenly colored. While the normalmap had color #8080ff, which should code for flat surfaces. (But I put in enough resolution that even without reflection trickery the construct looks reasonably smooth, 16 points around the circumference, and 23 levels.) The shadow is purely due to the rendering algorithm paying attention to the lighting.

A next step would be to let the program also generate the normalmap, in such a way that it creates the illusion of roundness; then 8 points around the circumference would probably be enough.

The uvs the program generates are such that the entire 512x512 area of the maps is mapped onto the surface: one coordinate is the height, the other the distance around the circumference. This is probably not the smartest thing to do: it would be better to measure the distance on the surface along a 'meridian', to paint nearly horizontal surfaces with sufficient resolution.