04-21-2015 04:33 PM
There's a way to create a shadow (or atleast one workaround) using the 3D picture?
05-02-2015 11:20 AM
Nobody? I'm able to apply the shadow map with C/LUA using the stencil buffer, but seems the required property isn't exposed by LabVIEW
05-02-2015 12:33 PM
I, for one, have no idea what you are trying to do. Can you provide two pictures, a "starting Picture without Shadow Map" and a second picture after the Shadow Map has been applied? It might also be helpful to have some idea of the code you are using to produce the initial (non-shadowed) picture.
Bob Schor
05-02-2015 05:04 PM
Oh sorry, take this as an example:
[1] - Light Source
[2] - Diffuse and Specular Material Components
[3] - Shadow Projection on the plane (a.k.a Shadow Mapping)
I want achieve this effect on my simple solar system using LabVIEW. As you can see, the moon isn't covered by the earth shadow.
05-02-2015 10:04 PM
If you search the Web for LabVIEW Ray Tracing, you can find an IEEE paper discussing this topic. I don't currently have access to this paper, so I don't know if it would be helpful ...
Bob Schor
05-03-2015 04:44 AM
No this is not possible. A LOT of 3D functionality is not exposed int he picture control including multiple texturing, bump mapping and so.
There's a bunch of files somewhere which provided a full OpenGl interface but I don't recall where I saw it.
Maybe searching for full openGL LabVIEW might help.
05-04-2015 06:25 AM
@Intaris
I've searched for something like this, but without success. Anyway, i hope NI someday improve the 3D picture exposing more OpenGL functionality (i'm not asking for *very advanced* things like tesselation, but, at least, the basic things like shadow, reflection and multexturing) or porting some widely used scenegraph library like OSG.