LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3d picture control multi-texture?

Is it possible to apply more than one texture to an object in the 3D picture control?

 

I have one texture which I want to apply with vertical repeat and another which I do not (with aplha channel).  Creating a full pixmap for this ourside the picture control and feeding it in takes a lot of CPU time.  Is there some way to apply one texture on top of another or do I need to create multiple objects with one texture each to create something similar?

 

Shane.

0 Kudos
Message 1 of 5
(3,758 Views)

I don't seem to be able to create any kind of translucent objects either.....

 

Alpha channel of all objects seems to make no difference at all.....

 

Shane.

0 Kudos
Message 2 of 5
(3,747 Views)

I found a nice post about transparency in 3D picture control using a simple Mesh instead of a box.....

 

I'll try that out.  The example works fine.

 

Shane.

0 Kudos
Message 3 of 5
(3,742 Views)

Got that working but......

 

When I modify the  "Order of TRansformations" example to make the boxes transparent (or partly transparent) I can see the Parent object through the child object but not the other way around.  While the parent cube seems transparent in itself (I can see front and back sides) I cannot see the child box when it is behind the parent box.

 

Is this by design? Do I need to set different parameters?

 

Child box in front.PNG Child box IN FRONT of parent box - visible

 

Child box behind.PNG Child box BEHIND parent box - not visible

 

Shane

Message Edited by Intaris on 07-02-2009 06:10 AM
0 Kudos
Message 4 of 5
(3,736 Views)

Well I have to say that I'm having a great chat with myself here.....

 

I figured out the importance of the "Blending.Bin" property.  Setting the parent object to "Transparent Bin" solves the problem.

 

Child box behind_2.PNG

 

Shane.

Message Edited by Intaris on 07-02-2009 06:22 AM
0 Kudos
Message 5 of 5
(3,733 Views)