The DirectX 7 API does not support wide lines or point sizes.  From
the Java 3D README for DirectX:

 Unsupported Features
  --------------------
  The following features are currently unsupported in the Direct3D
  implementation of Java 3D:
    Line width
    Line antialiasing
    Point size
    Point antialiasing
    PolygonAttributes backFaceNormalFlip
    RenderingAttributes ROP_XOR
    3D Texture
    Texture color table

  Limited Support
  FullScreen antialiasing is supported only if the device returns
  D3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT in its raster capabilities
  list.  (OpenGL supports fullscreen antialiasing if an accumulation
  buffer exists.)

  TransparencyAttributes.TransparencyMode values FASTEST, NICEST and
  SCREEN_DOOR are the same as BLENDED under D3D.

  Texture coordinates outside the range [0,1] when boundaryModeS
  and boundaryModeT are set to CLAMP will not use the Texture Boundary'
  color unless BASE_LEVEL_LINEAR filtering is turned on.

  Only negative polygon offsets are supported.  The limit of this offset


Even in OpenGL, which does have API for these features, some graphics cards
just ignore the setting because they cannot display wide lines/points.

Dan Petersen
Java 3D Team
Sun Microsystems

> Delivered-To: [EMAIL PROTECTED]
> Mime-Version: 1.0
> X-Sender: [EMAIL PROTECTED] (Unverified)
> Date: Thu, 21 Jun 2001 21:55:15 -0700
> From: Thomas <[EMAIL PROTECTED]>
> Subject: [JAVA3D] Display bug ?
> To: [EMAIL PROTECTED]
>
> Hi,
>
> I've been encountering some weird display behavior regarding the
> width of lines (LineArray) and the size of points (PointArray)
>
> I developped a program where you can draw or leave points on 3D
> surfaces (imported VRML models).
>
>
> I've been testing my program on Windows 98, Windows ME and Windows 2000.
>
> On Win98, lines and points appear the way I assigned them to appear:
> Lines are 3 pixel thick and points are 6x6 pixels square.
>
> On Win2000, lines appear 1 pixel thick (so very difficult to see) and
> points appear 1 pixel wide (almost invisble!)
>
> On WinME, lines appear normally (3 pixel thick) but points are only 1
> pix wide !!
>
>
> I can't figure out if it's an OS problem or a Java3D installation
> problem... Or a implementation problem...
>
> Can you help me out on that one ?
> I'm pretty new in Java3D and in programming in general !!
>
> Thanks....
>
>
>
>
> Here are some elements that might be important:
>
> I can't remember which version of Java3D (OpenGl or ActiveX) I
> installed on Win98 and Win2000, but on WinME I installed the OpenGl
> one.
>
>
> And here is the portion of code that is concerned:
>
> [...]
>
> Shape3D commentPin = new Shape3D();
> PointArray pin = new PointArray(1, PointArray.COORDINATES |
> PointArray.COLOR_3);
> Appearance pinApp = new Appearance();
> PointAttributes pinAtt = new PointAttributes();
> pinApp.setPointAttributes(pinAtt);
> pinAtt.setPointSize(6.0f);
> commentPin.setAppearance(pinApp);
>
> [...]
>
> Shape3D segment = new Shape3D();
> LineArray oneLine = new LineArray(4, LineArray.COORDINATES |
> LineArray.COLOR_3 | LineArray.NORMALS);
> Appearance lineApp = new Appearance();
> LineAttributes bold = new LineAttributes();
> lineApp.setLineAttributes(bold);
> bold.setLineSize(3.0f);
> segment.setAppearance(lineApp);
>
> [...]
>
> Thomas
>
> _______________________________________
> Thomas Jung
> Architect, Research Scientist
> Design Machine Group
> University of Washington
> Department of Architecture
> Box 355720
> Seattle, WA 98195-5720
>
> [EMAIL PROTECTED]
> _______________________________________
>
>
> --
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to