WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Font 3D rendering problem (https://forum.worldviz.com/showthread.php?t=2991)

Renato Lima 09-29-2010 04:04 PM

Font 3D rendering problem
 
I have been trying to use font3d with billboard effect for a while now, but I am having the following problem: after walking around my 3d world for a while, the fonts start to render in a very strange manner. Attached you will find an example of the problem I am having.

http://dl.dropbox.com/u/7393/problem.jpg


This is the code I am using:
A = viz.add(viz.TEXT3D, iso, B)
A.alignment(viz.TEXT_CENTER_CENTER)
A.translate(0, H/2.0 + 0.25, 0)
A.color(0, 0, 0)
A.scale(0.15, 0.15, 0.15)
A.billboard(viz.BILLBOARD_YAXIS)
ideas?? Thanks

Renato Lima 10-02-2010 04:37 PM

The problem starts when the camera gets far away from the object.
It happens even when resolution of the 3dtext is max.

farshizzo 10-07-2010 12:06 PM

This looks like a draw ordering issue between the text and the object behind it. Does the object behind the text object contain transparency? If not, then try forcing that object to a lower draw order than the text object:
Code:

object.drawOrder(0)
Let me know if this helps.

Renato Lima 10-07-2010 04:30 PM

Yes, it has solved the problem. Thanks!


All times are GMT -7. The time now is 03:46 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC