realbasic-games
[Top] [All Lists]

Help with new Text3D Class

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Help with new Text3D Class
From: Lo Saeteurn <realbasic at miensoftware dot com>
Date: Fri, 31 Mar 2006 00:01:16 -0800
Delivered-to: realbasic-games at lists dot realsoftware dot com
I have been working on this text3D class for the past couple of hours and ran into a problem. I'm using the Trimesh class to create text in RB3D. I cannot figure out why the texture is not displaying properly.

The UV coords looks correct. In fact, when I set the texture to just a single character rather than the entire set (and update the UV to use the entire texture), it shows up perfectly. What this tells me is that everything is setup properly except the problem has to come from either the texture or the UV.

So then I thought maybe the UV coords is just messed up, but when I convert the UV coords to pixels on the original image map and save that area to an image file, it comes out correctly (capturing a single character).

I have no idea what is wrong with my code, so could you guys look at it and help me find what is wrong with it? I am recreating the classes from scratch.

Download:
http://www.miensoftware.com/files/rb/text3dclasstest.zip
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>