Hi guys,
I’m trying to put pixel fonts in a pv3d material (as a part of movieclip, which is applied as a material to a plane), but the fonts are coming up very blurry. I found a great article here and a few sources on nabble like this and this, but nothing is working for me.
Here you can see what I tried – link. The one on the left is the movieclip which I dragged on to the stage in flash (that is why the text is so sharp and crispy) and the one on the right is added as a pv3d plane. The code I wrote for this can be seen here – pastie. Any help will be really appreciated. 
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
this article may help as it deals with text in 3D, its from the book I mentioned in this post
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
just noticed you’ve got smoothing turned on, not sure for which side but switch it off as that will “blur” the text…
well, that might work if I’m creating an application from scratch because I have the freedom to use the techniques mentioned in there. But what if I want to use an existing application (for example a text scroller) and map it onto a 3d plane without blurring the fonts?
just noticed you’ve got smoothing turned on, not sure for which side but switch it off as that will “blur” the text…
I put that for the back side of the plane. It has a larger font. The plane with the pixel font has smoothing turned off.
I am guessing you are doing something with text. You can try five3D its much better IMO with 3D text then PVD and will save you around 30-40 kb
- Envato Staff
- Reviewer
- Sold between 100 000 and 250 000 dollars
- Author had a Free File of the Month
- Featured in a Magazine
- Author was Featured
- Item was Featured
- Bought between 10 and 49 items
The x and y position of that plane in 2D coordinate may be not a round number:
screenPosX = 3dobj.screen.x + viewport.viewportWidth / 2; screenPosY = 3dobj.screen.y + viewport.viewportHeight / 2
hence the blurry pixel font
I am guessing you are doing something with text. You can try five3D its much better IMO with 3D text then PVD and will save you around 30-40 kb
Well, it is just a static text field. What can I do with it? I’ll try five 3d. Was going through a few tutorials today and looks much simpler than pv3d. But I’ve seen well displayed pixel fonts in pv3d too. Just wanted to see if someone here knows about it.
- Attended a Community Meetup
- Community Moderator
- Has been a member for 5-6 years
- United Kingdom
- Contributed a Tutorial to a Tuts+ Site
- Won a Competition
- Contributed a Blog Post
- Beta Tester
- Bought between 50 and 99 items
I am guessing you are doing something with text. You can try five3D its much better IMO with 3D text then PVD and will save you around 30-40 kbWell, it is just a static text field. What can I do with it? I’ll try five 3d. Was going through a few tutorials today and looks much simpler than pv3d. But I’ve seen well displayed pixel fonts in pv3d too. Just wanted to see if someone here knows about it.
you can make sure that both the field and the plane are on exact integers…
The x and y position of that plane in 2D coordinate may be not a round number:screenPosX = 3dobj.screen.x + viewport.viewportWidth / 2; screenPosY = 3dobj.screen.y + viewport.viewportHeight / 2hence the blurry pixel font
checked it….screenPosX of plane is 330 and screenPosY is 200
