Artur, Thanks! It looks like a Java 3D util. bug. A bug report has been file for your tracking :
Bug Id: 4666597 - GeometryInfo - usecoordonly bit is discarded in convertToIndexedTriangles(). - Chien Yang Java 3D Team. > Date: Wed, 10 Apr 2002 23:17:24 +0200 > From: Artur Biesiadowski <[EMAIL PROTECTED]> > Subject: Re: [JAVA3D] GeometryInfo - CoordIndexOnly and other problems > To: [EMAIL PROTECTED] > MIME-version: 1.0 > Content-transfer-encoding: 7bit > X-Accept-Language: en-us, en > Delivered-to: [EMAIL PROTECTED] > User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9) Gecko/20020311 > > Raj Vaidya wrote: > > Hi Artur, > > > > When you are *retrieving* the IndexedGeometryArray from the > > GeometryInfo, are you specifying the flag "USE_COORD_INDEX_ONLY" > > as a parameter to geomInfo.getIndexedGeometryArray( flag..) ? > > IIRC, it also takes other flags such as NIO, ByRef, etc. > > Yes, I'm doing it. I have added debug output to GeometryInfo and > coordOnly status is lost not in first line > (indexify(useCoordIndexOnly);) as it would be if I would not pass the > flag, but in next lines, in changeBackToOldPrim(); > > In fact I would forget about GeometryInfo, as I have implemented all the > rest including normals computation myself, but I want to use stripifier. > So I scrapped some of my code (I have left unique vertex reduction, as > it is not implemented in GeometryInfo - see second half of my previous > post) and decided to use GeometryInfo - but now I have problems with > getting COORD_INDEX_ONLY. > > Artur > > =========================================================================== > 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".