White boxed text on Mac

Previous topic - Next topic

Scott_AW

When using 3d, with a text overlay.  Everything is fine on PC, but on a G5 w/ OSX the text is displayed by solid white rectangles equal to the character length.

Pretty much how it is
clearscreen

X_make3d
  draw 3d stuff

X_make2d
  draw fps, position stuff

showscreen
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

Marmor

u use settransparency ?

Scott_AW

Thats a good question, I believe I'm calling it at the beginning of the program, setting black as transparent.  But I don't have the code in front of me ATM.  However is there a seperate transparent set for fonts?  If so I know I'm not using that.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

Moru

Before you set transparency, the font is set to black and all other grafic usage is set to pink.

Mabe you should try to set the alphamode too?

MrTAToad

Make sure a font is loaded.  Also, sprites could also overwrite font locations, so its always best to use GENSPRITE and GENFONT, so sprites and fonts wont occupy the same ID number.

Scott_AW

The problem also occurs then attempting to display a sprite, but its black with some garbage pixels in it.

I have the font to index 999, to keep it out of the way.  I don't actually use any sprites, but was making a capture at one point of the 3d and scaling it up, this resulted in all black, with white boxes for the text.  With 3d drawing normal, it worked fine, except white boxes where font should be.  I'm not use alphamode either, so I don't think that's the problem.  I could just be because its an older G5 and the OS and drivers might be out of date.  Anyone have an OSX system?
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

Marmor

10.6.2 here   MM 2.26