Jump to content

Text not showing up under semi-transparent object


Go to solution Solved by shoneill,

Recommended Posts

Anyone an expert in the (complex, poorly-documented) 3D picture control?

 

I am using Text to label an axis (see image) inside a semitransparent open cylinder (actually a mesh with texture).  The axis (made of boxes) shows up through the cylinder wall, but the Text does not.  See how 7", 8" and 9" show up, but 10" and higher don't.  

 

I cannot figure out why, or how to fix this.  Any ideas?

 

post-18176-0-51813500-1426072152.png

Link to post
  • Solution

I can't recall the property right now but I think it has to do with with the "blending bin" you place the text objects in.  There's Opaque, Transparent and so on.  Make sure you set the text objects to the correct blending bin and it should work.

Edited by shoneill
  • Like 2
Link to post

Tell me about it.

 

I spent a few weeks last year testing different things on the 3D picture.  I have previously (in college and for no other reason than pure curiosity) read books on 3D graphics (Open GL).  Pretty high-level stuff, no function calls.

 

Reading up on the current state of Open GL (I was in college when Open GL was the only 3D kid on the block!  Yeah, that statement really carbon dates me!) I notice there are many many OpenGL features missing from the current LV implementation (like multipass rendering, full texturing support and so on)

Link to post
  • 1 month later...

I’m afraid I only bang away at things till they work.  I believe I found it worked much better with the text as opaque (and in the opaque bin) inside a transparent object (in transparent bin).

post-18176-0-75900600-1430165008_thumb.p

 

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By gbettega
      Hello,
      searching for a little help about the following topic:
       
      I've built a minimalist GUI using 3D picture control: when the mouse enters the control and moves,
      a text is added close to the mouse position, indicating the coordinates of the point.
      Problem: according to the relative position of the text object and of the solid, the text disappears
      behind the solid, as shown in the pictures.
      How to avoid it?
      Thanks in advance
      Giovanni
       
       
       
       
       
       
       


    • By clara
      I want to create a 3D simulation on the front panel, and i see we can use a 3D picture control or a simulator display control. It seems both of them can be used at the same position. What is the most important difference between 3D Picture control and Simulator Display Control?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.