Login  Register

Re: Visualize orthogonal views / 3D reconstruction

Posted by Leon Espinosa on Apr 04, 2008; 12:46pm
URL: http://imagej.273.s1.nabble.com/Visualize-orthogonal-views-3D-reconstruction-tp3696642p3696650.html

Hello I have the same "off screen" error message with a G5 ppc Mac OS  
X 10.5, and with "surface" option it crashs with message:


java.lang.IllegalArgumentException:TriangleArray: illegal vertexCount
     at javax.media.j3d.TriangleArray.<init>(TriangleArray.java:119)
     at  
com
.sun
.j3d.utils.geometry.GeometryInfo.getGeometryArray(GeometryInfo.java:
2557)
     at javax.media.j3d.Font3D.triangulateGlyphs(Font3D.java:402)
     at  
javax.media.j3d.Text3DRetained.updateCharacterData(Text3DRetained.java:
684)
     at javax.media.j3d.Text3DRetained.setString(Text3DRetained.java:
234)
     at javax.media.j3d.Text3D.<init>(Text3D.java:243)
     at ij3d.CoordinateSystem.addText(CoordinateSystem.java:66)
     at ij3d.CoordinateSystem.<init>(CoordinateSystem.java:51)
     at ij3d.Content.createBoundingBox(Content.java:90)
     at isosurface.MeshGroup.calculateMinMaxCenterPoint(MeshGroup.java:
102)
     at isosurface.MeshGroup.<init>(MeshGroup.java:61)
     at ij3d.Image3DUniverse.addMesh(Image3DUniverse.java:199)
     at isosurface.MeshGroup.addContent(MeshGroup.java:177)
     at ij3d.ImageJ3DViewer.run(ImageJ3DViewer.java:48)
     at  
ij
.plugin
.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:243)
     at  
ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:102)
     at ij.IJ.runUserPlugIn(IJ.java:160)
     at ij.IJ.runPlugIn(IJ.java:124)
     at ij.Executer.runCommand(Executer.java:104)
     at ij.Executer.run(Executer.java:58)
     at java.lang.Thread.run(Thread.java:613)


The java 3D test with cubes works fine...

Any ideas ?

Thanks, Leon




Le 4 avr. 08 à 12:36, Benjamin Schmid a écrit :

> Hi,
>
> On Fri, Apr 4, 2008 at 11:34 AM, Gabriel Landini  
> <[hidden email]>
> wrote:
>
>> On Friday 04 April 2008 09:51:17 Jonathan Jackson wrote:
>>
>>> I tried this plugin, and get the message:
>>> "Java 3D Error: Off screen rendering not supported by this setup.
>> Falling
>>> back to screen capturing"
>>
>
> This is a warning which shows up on many systems. It tells you that
> offscreen
> rendering is not supported by the graphics card. Some functions of the
> viewer,
> which would need this capability, use screen captures in this case,  
> so it's
> possible to work with it. If you are annoyed by the error message,  
> edit
> ImageJ's
> run script by passing -Dj3d.noOffScreen=true to the java call
> (something like  java -Xmx1000m  -Dj3d.noOffScreen=true  ...)
>
>
>>
>>> and and I get a new window with zero width. Has anyone seen this  
>>> before?
>>
>
>
>> I also have a problem with that plugin. It shows a long and narrow  
>> viewer
>> window (no errors reported, though) .
>>
>> I am using suse linux, Nvidia dual monitor.
>>
>> I already let the author know about this.
>>
>>
> I just included a workaround from Albert Cardona and uploaded a new  
> version
> of
> the viewer. Unfortunately, I can't test it on my machine since I  
> haven't had
> this
> problem before. So maybe you could do that for me ;-)
>
> Best wishes,
>
> Benjamin
>

Leon Espinosa
Laboratoire des Rickettsies du Pr. RAOULT
UMR CNRS 6020
Fac. de Medecine de la Timone
27 Bd Jean Moulin
13005 Marseille

tel  04 91 38 55 17
fax 04 91 38 77 72

portable: 06 79 25 97 40