Garphics Checkers Problem

Started by scivias, May 16, 2009, 08:42:39 PM

Previous topic - Next topic

scivias

I started making new board for 3DFibs and I've encountered a problem: I keep getting black square around checkers (like on picture in the attachment). What am I doing wrong?

playBunny

#1
I use 3DFibs version 3.0.10. Maybe the board layout has changed since then but I would imagine that it hasn't. It's a very quirky layout indeed as the points aren't spaced the same way in any of the quadrants. There are three or four gaps between points in each table and in different places in each.

This may help you. I did it a long time ago so I don't remember all the details but I found that problem with the checkers and also problems with the positioning of the points, the cube and the bearoff trays!
http://www.gellie.plus.com/Misc/3DFibs

If you click the template image then you can see the positioning of the elements in detail. The yellow is used as contrast. The purple rectangles show where the pieces are on the bar and the bearoff tray.
http://www.gellie.plus.com/Misc/3DFibs/Template/board.jpg

The blue borders show where the pieces go on the points. As you can see there's a consistent gap between the pieces on a given point. The red lines, however, are gaps between the points and no piece will cover those areas. They show how strangely the points are laid out. You'll need to adjust the points on your board if you want your image to be pixel-perfect.

The checker images show that the pieces don't occupy the full area. I can't remember what I discovered back when I explored this and maybe I've forgotten something but if your pieces fit exactly as mine do then I think you should be okay.

An interesting discovery is that you can super-size your board. I use the oversized DailyGammon board and it works well even though the pieces leave a trail behind them as they move (a bit like the Mouse Trails setting in Windows).
http://www.gellie.plus.com/Misc/3DFibs/3DFibs_Oversize.htm

I've come to like that trail. ;) Here's a piccie of it. It looks a bit of a mess but you have to take into account that that's a screenshot of a dynamic feature and it's mostly gone by the time the move animation is finished.
http://www.gellie.plus.com/Misc/3DFibs/playBunny_3DFibs_DG-Style_Board.jpg

If you look at the page for the oversized version you can see that I added two small circles to the blank background. These are in just the right place (on my version) to show the piece colours next to each players name. It's a tremendous boon!
http://www.gellie.plus.com/Misc/3DFibs/Oversize/picTray.gif

Check out the stripe that I added to my checkers. If you add something of that nature to yours I reckon you'll be pleased with the effect.

I hope this is of some use to you. :-)

scivias

Thank you for such a quick and thorough replay.  :cool: You gave me some ideas and I decided to go few steps back and made it. How? I have no idea. I finished the board and I sent it here.

stog

can these boards be converted for gnubg and javafibs? i particularly like webrunner's blue bayou -- very smart

playBunny

Quote from: stog on May 18, 2009, 10:15:05 PM
can these boards be converted for gnubg and javafibs? i particularly like webrunner's blue bayou -- very smart

I'm not sure who you're asking but my DailyGammon board was originally done in GnuBg and the stepped point edges added manually afterwards. I've no idea about whether it'll work in javafibs but you're welcome to take the images from my site and give it a go.

Webrunner's blue bayou?

scivias

#5
Quote from: stog on May 18, 2009, 10:15:05 PM
can these boards be converted for gnubg and javafibs? i particularly like webrunner's blue bayou -- very smart

For javafibs I don't know, but GNUBg's board is rendered 3D board even if it is in 2D mode. Easyest way to do it is do download board.jpg that you like, Open gnubg, go to Settings>>Appearance, on the tab "Design" check some design and alter it in the style that you like, so it looks like the picture you've downloaded, by clicking tabs for board, chequers and such and changing their colours. After you are done, save the design. If you are having trouble try asking the designer if he made that board with a gnubg and if he could send you the design (its a small txt file).