3D Font

I started with a very basic 3D Font example. The letters have only dephth but no "lid", most things are hardcoded, the normals are just wrong and tex-Coords are missing, however…

import com.jme.math.Vector3f;
import com.jme.renderer.ColorRGBA;
import com.jme.scene.TriMesh;
import com.jme.util.geom.BufferUtils;
import java.awt.Font;
import java.awt.Shape;
import java.awt.font.FontRenderContext;
import java.awt.font.GlyphVector;
import java.awt.geom.AffineTransform;
import java.awt.geom.FlatteningPathIterator;
import java.awt.geom.PathIterator;
import java.awt.geom.Rectangle2D;
import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedList;

 * @author Pirx
public class FontMesh extends TriMesh {

Can you show us some screenshots to get an impression?

Sent you a mail…

Can you post them here so we can all see? :-p


They're already here…  you can only see it if you are cool though.  :wink:

it's that:

if (!darkfrog) {}

flag again isn't it?  :|


cant see it either, seems i'm not cool enough too :frowning:

winkman, you've talked to me too much and have been blacklisted as well. :o


maybe our browser fails to load the screenshot texture :slight_smile:

For anyone reading this and scratching their head, that was a sarcastic wink… :slight_smile:

renanse, would have been funnier if you'd kept it going…it could have turned into this huge conspiracy…all you'd have to do is get more people in here that claim they can see the screenshots and how amazing they look and the revolt would follow soon thereafter. :-p


Well, I can see the screenshot.

Just wanted to let you know.

Thanks anyway Galun. :-p


Ah come on galun, tell us what u see then

I'm the bad apple on the jME forums…I admit it.  :-p

I say a lot but I rarely ask that anyone respond.  :roll:


You aren’t, it was a joke of course and to clarify this for once and ever: we all definately love the frog,

uups and again nobody asked me …

Well, I never said I can see the screenshot in this thread  :smiley:

But before this joke becomes boring here is the top secret picture.

What does this mean:

Exception in thread "3dfont" java.madeup.DarkfrogException

Aw man, not again!



awww man! that's one expensive font. are there only 1230 triangles for that text or are the remaining zeroes hidden offscreen? :stuck_out_tongue: could still be useful for effects.


that exception encapsulates a croak.croak.ThreadInterruptedByDarkfrogException. after a closed look i found out that it was thrown in the  annoyTheMonkeyByCroakingVeryLoud() method after passing a null screenshot texture parameter. :stuck_out_tongue:

it seems to be a bug in the virtual simplemachine :slight_smile:

Sfera, what was the conclusion I drew as well. :-p