492 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+4 more
avenue28
says

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. :)

8576 posts Community Moderator
  • Located in United Kingdom
  • Has been part of the Envato Community for over 7 years
  • Helps us moderate the forums
  • Won a competition
+10 more
MSFX
Moderator
says

this article may help as it deals with text in 3D, its from the book I mentioned in this post

8576 posts Community Moderator
  • Located in United Kingdom
  • Has been part of the Envato Community for over 7 years
  • Helps us moderate the forums
  • Won a competition
+10 more
MSFX
Moderator
says

just noticed you’ve got smoothing turned on, not sure for which side but switch it off as that will “blur” the text…

492 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+4 more
avenue28
says

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?

492 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+4 more
avenue28
says
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.

4140 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Located in Brazil
+5 more
tsafi
says

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

1633 posts fueledweb.com
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Became a Top 20 Author of the Month
+8 more
RimmonTrieu
says

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

492 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+4 more
avenue28
says
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.

8576 posts Community Moderator
  • Located in United Kingdom
  • Has been part of the Envato Community for over 7 years
  • Helps us moderate the forums
  • Won a competition
+10 more
MSFX
Moderator
says
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.

you can make sure that both the field and the plane are on exact integers…

492 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
+4 more
avenue28
says
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

checked it….screenPosX of plane is 330 and screenPosY is 200

by
by
by
by
by
by