Remember me

Lost Password?

Register now!
Main Menu
Who's Online
39 user(s) are online (28 user(s) are browsing Gallery)

Members: 0
Guests: 39

Top Posters


Album list :: Last uploads :: Last comments :: Most viewed :: Top rated :: Search

Return to the thumbnail page Display/hide picture information Slideshow PICTURE 6/20 e-cards are disabled See next picture See previous picture
Click to view full size image
Field of dice
Been playing a bit with Kim's dice.
Started wondering how many (physical) alignments (limited to right angles) a die can have.
From an RL view it's simple. There are six sides that can be up, and for each of these there are four sides that can be on front. So, 24 combinations.
From a VR viewpoint, though, there are three axes that can have four rotations. So, 64 combinations.
Obviously the second set (seen above) contains some visual duplicates. Shouldn't take too long to find them. The question is what to do with them.

Technical stuff: The scene was compiled with ISL from a source file generated by a Basic program. After adjusting the camera position I added a standard lightball and decided not to bother with a floor.
If you wonder about the positioning, ground zero is in the middle of the field, and each cube's X and Y rotation is proportional to its distance from the base line. The Z rotation determines which quadrant each die is in.
It's probably easier to just show you the program code. This is inside three nested loops. (x = 0 to 3 and so on)

if z>1 then ym=-1
if z=0 or z=2 then xm=-1


Probably some more elegant way to do the if Z bits, but it worked...

(For the record, die is singular, dice is plural. Dices is a whole lot of'em.

Picture information
Album name:Miscellaneous
Submitted by:Won-Tolla  
Keywords:dice test isl lightball
File Size:85 KB
Dimensions:1024 x 768 pixels
Displayed:408 times
Sent as ecard:0 times
The comments are owned by the poster. We aren't responsible for their content.

[ xcGallery 1RC1 powerd by myXoopsForge ]

Powered by XOOPS © 2001-2009 The XOOPS Project