WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 09-29-2010, 04:04 PM
Renato Lima Renato Lima is offline
Member
 
Join Date: Sep 2010
Posts: 54
Question 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.




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
Reply With Quote
  #2  
Old 10-02-2010, 04:37 PM
Renato Lima Renato Lima is offline
Member
 
Join Date: Sep 2010
Posts: 54
The problem starts when the camera gets far away from the object.
It happens even when resolution of the 3dtext is max.
Reply With Quote
  #3  
Old 10-07-2010, 12:06 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
  #4  
Old 10-07-2010, 04:30 PM
Renato Lima Renato Lima is offline
Member
 
Join Date: Sep 2010
Posts: 54
Yes, it has solved the problem. Thanks!
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Font rendering 3D CRI Vizard 0 06-29-2010 01:29 PM
Rendering problem in InfiniteTerrain omidbrb Vizard 2 02-24-2009 02:57 AM
Rendering problem Vygreif Vizard 1 05-01-2006 03:26 PM
Problem with rendering tube-wrl-file Johannes Vizard 1 01-23-2006 08:56 PM
Texture map rendering problem JRichizzle Vizard 4 03-04-2004 07:20 AM


All times are GMT -7. The time now is 12:35 PM.


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