07-02-2009 03:03 AM
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.
07-02-2009 04:56 AM
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.
07-02-2009 05:23 AM
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.
07-02-2009 06:09 AM - edited 07-02-2009 06:10 AM
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 of parent box - visible
Child box BEHIND parent box - not visible
Shane
07-02-2009 06:21 AM - edited 07-02-2009 06:22 AM
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.
Shane.