Re: [JAVA3D] Lines and Points

2003-08-14 Thread Alan Hudson
Doug Twilleager wrote: Do you have normals on your lines and points? Lighting is disabled without them. Doug. That did the trick, thanks. -- Alan Hudson President: Yumetech, Inc. http://www.yumetech.com/ Web3D Open Source Chairhttp://www.web3d.org/TaskGroups/source/

Re: [JAVA3D] Lines and Points

2003-08-14 Thread Alessandro borges
That's the point. If the geometry's vertexes has colors than Appearance's material will not override it. Remove the vertex colors and the lines and points will accept the material settings. Alessandro --- Justin Couch <[EMAIL PROTECTED]> escreveu: > Doug Twilleager wrote: > > > If lighting is

Re: [JAVA3D] Lines and Points

2003-08-14 Thread Doug Twilleager
Do you have normals on your lines and points? Lighting is disabled without them. Doug. Justin Couch wrote: Alessandro borges wrote: That's the point. If the geometry's vertexes has colors than Appearance's material will not override it. That's not what we're saying. This is a plain line/point

[JAVA3D] Lines and Points

2003-08-14 Thread Alan Hudson
Are lines and points susposed to be affected by Materials in Java3D? I thought so, but they don't seem to be. I can't find support either way in the API/Spec documentation. -- Alan Hudson President: Yumetech, Inc. http://www.yumetech.com/ Web3D Open Source Chairhttp:/

Re: [JAVA3D] Lines and Points

2003-08-14 Thread Chien Yang
Justin, Please send us a test program, if you aren't seeing what Doug has stated. We'll investigate it. - Chien. Justin Couch wrote: Doug Twilleager wrote: If lighting is enabled, then material should apply to all geometry types - just like in OpenGL. Might be a driver bug. Can't be a driv

Re: [JAVA3D] Lines and Points

2003-08-14 Thread Justin Couch
Alessandro borges wrote: That's the point. If the geometry's vertexes has colors than Appearance's material will not override it. That's not what we're saying. This is a plain line/point set with no colouring other than a material node, and all we ever get is white. -- Justin Couch

Re: [JAVA3D] Lines and Points

2003-08-14 Thread N. Vaidya
My personal guess on this issue... I think Material colors, atleast as far as Java 3D goes, have no effect on LineArray UNLESS lighting is enabled and *line vertex normals* are explicitly specified. It is unlikely that vertex normals will usually be specified for LineArray, so enabling lighting an

Re: [JAVA3D] Lines and Points

2003-08-14 Thread Doug Twilleager
If lighting is enabled, then material should apply to all geometry types - just like in OpenGL. Might be a driver bug. Doug. Alan Hudson wrote: Are lines and points susposed to be affected by Materials in Java3D? I thought so, but they don't seem to be. I can't find support either way in the A

Re: [JAVA3D] Lines and Points

2003-08-11 Thread Justin Couch
Doug Twilleager wrote: If lighting is enabled, then material should apply to all geometry types - just like in OpenGL. Might be a driver bug. Can't be a driver bug because we've tried it on at least three different manufacturers chips - Matrox, ATI and nVidia and they all do the same - material n

Re: [JAVA3D] Lines and Points

2003-08-11 Thread John Wright
Alan, I don't believe so. Don't quote me but I thought I heard someone mention at some point that they aren't. - John Wright Starfire Research Alan Hudson wrote: Are lines and points susposed to be affected by Materials in Java3D? I thought so, but they don't seem to be. I can't find support ei