No LinePattern support with the D3D pipeline ?

Hello all,

I have observed that when I use the D3D rendering pipeline (using the -Dj3d.rend=d3d command line option) then all the lines are allways drawn as plain continuous lines, in spite of a dashed line pattern being specified in the LineAttributes.

This behaviour has been observed with Java3D 1.5 on Windows XP, on machines with Intel i945 graphics, ATI 9600, and also with nVidia Quadro FX GPU.

The lines are correctly rendered (I mean, as specified by the LineAttributes) if the ogl or the jogl pipeline is used. However, the rendering performance is then terrible excepted on Quadro FX graphics. The application I am working on is not very graphic heavy (mostly wireframe graphics), and is meant to be run on standard “business desktop” that are generally equiped with Intel chipsets with poor OpenGL support, so that’s why I was using the D3D pipeline.

So is this a bug, or is it a known fact that line patterns are not supported when using the D3D pipeline ?

Thanks in advance!

Hervé

After a bit of research, I have found the answer to my own question, that’s what’s nice with open-source. As it may be of interest for some of you, here is what I found:

The native methods relative to line attributes are not implemented. There is some commented code that shows that some attempts have been made, however the methods are noops.

And from what I have read here and here, it seems that the d3d pipeline is not going to be supported as strongly as the ogl/jogl ones.