Search found 68 matches

by sechel
Wed 16. Feb 2011, 19:44
Forum: Programming Help
Topic: Error importing Mathematica graphics
Replies: 10
Views: 1921

Re: Error importing Mathematica graphics

Hi srossegg,
can you provide us with a jvx file you exported and that produces the false colors when exporting? This would be helpfull.
Stefan
by sechel
Mon 6. Dec 2010, 13:05
Forum: Programming Help
Topic: Texture2d overwrite
Replies: 1
Views: 883

Texture2d overwrite

I have a scene graph and a texture2d attribute set at some appearance down the hierarchy. How
do I overwrite this texture to have no texture at a child?
by sechel
Tue 26. Oct 2010, 17:03
Forum: Bugs
Topic: BallAndStickFactory incompatibe with GeometryEventMulticaste
Replies: 1
Views: 1623

BallAndStickFactory incompatibe with GeometryEventMulticaste

I'm using a BallAndStickFactory to display some vectors. When I then remove the SceneGraphComponent produced by the Factory from the scene graph I get a Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError at de.jreality.scene.event.GeometryEventMulticaster.remove(GeometryEventMultica...
by sechel
Tue 26. Oct 2010, 16:27
Forum: Plugin System
Topic: Which slots show up when an app starts up?
Replies: 1
Views: 2432

Re: Which slots show up when an app starts up?

Hi Charles, the answer to all of your questions is yes :D A more elaborate answer can be found in the documentation of the method: public void SimpleController.setPropertiesResource(Class<?> clazz, String propertiesFileName) This provides a resource location for the !programmer! property file. The u...
by sechel
Mon 27. Sep 2010, 13:02
Forum: Programming Help
Topic: How to load a geometry (.obj, .wrl, .jvx, ... )
Replies: 9
Views: 1526

Re: How to load a geometry (.obj, .wrl, .jvx, ... )

Try to do something like this: ReaderOBJ reader = new ReaderOBJ(); SceneGraphComponent c = reader.read(file); Geometry g = SceneGraphUtility.getFirstGeometry(c); if (g == null) return; if (g instanceof IndexedFaceSet) { IndexedFaceSet ifs = (IndexedFaceSet)g; IndexedFaceSetUtility.calculateAndSetNor...
by sechel
Wed 8. Sep 2010, 16:19
Forum: Programming Help
Topic: How to load a geometry (.obj, .wrl, .jvx, ... )
Replies: 9
Views: 1526

Re: How to load a geometry (.obj, .wrl, .jvx, ... )

Hi,
please try to invoke the method
IndexedFaceSetUtility.makeConsistentOrientation()
on the IndexedFaceSet and try if this solves the problem.
by sechel
Thu 12. Aug 2010, 08:25
Forum: Programming Help
Topic: Marquee tool and projection
Replies: 2
Views: 728

Re: Marquee tool and projection

Works!
Image
by sechel
Wed 11. Aug 2010, 17:27
Forum: Programming Help
Topic: Marquee tool and projection
Replies: 2
Views: 728

Marquee tool and projection

Hi, I'm trying to implement a marquee tool for the jtem halfedge tools. For this I have to transform the vertices according to the world and camera transforms and the camera projection. Here is the code I came up with: SceneGraphComponent root = view.getViewer().getSceneRoot(); SceneGraphPath hifPat...
by sechel
Wed 11. Aug 2010, 15:53
Forum: Bugs
Topic: GLJPanelViewer does not get key events
Replies: 2
Views: 1365

Re: GLJPanelViewer does not get key events

The problem seems to be solved if I change the MouseListener in the AbstractViewer to be MouseListener mouseListener = new MouseListener() { public void mouseClicked(MouseEvent e) { component.dispatchEvent(e); } public void mouseEntered(MouseEvent e) { component.dispatchEvent(e); } public void mouse...
by sechel
Tue 10. Aug 2010, 19:31
Forum: Bugs
Topic: GLJPanelViewer does not get key events
Replies: 2
Views: 1365

GLJPanelViewer does not get key events

If I use the JRViewer -vr
with
-Dde.jreality.scene.Viewer=de.jreality.jogl.GLJPanelViewer
the key events seem to get lost. This might be an input focus issue. Even when I click into the viewer panel there are no key events.

sechel
by sechel
Fri 23. Jul 2010, 10:26
Forum: General jReality Discussion
Topic: Toolbar in PDF-file
Replies: 4
Views: 2373

Re: Toolbar in PDF-file

This is possible but not yet implemented. You could place a feature request for that.
by sechel
Wed 7. Jul 2010, 10:24
Forum: Feature Requests
Topic: 3D text in PDF
Replies: 4
Views: 1787

Re: 3D text in PDF

Points and lines are not supported by the adobe reader. They are in the file
but not displayed. See http://www3.math.tu-berlin.de/jreality/ ... 45&start=0
by sechel
Tue 6. Jul 2010, 19:04
Forum: Programming Help
Topic: Export In pdf3D
Replies: 13
Views: 3532

Re: Export In pdf3D

Do you work with the latest SVN version of jreality? The sky box bug should be resolved
there. If yes, please provide the stl geometry that produces the error.
by sechel
Tue 6. Jul 2010, 19:01
Forum: Feature Requests
Topic: 3D text in PDF
Replies: 4
Views: 1787

Re: 3D text in PDF

The U3D/PDF exporter does not read the labels from the scene graph yet. In principle
it is no problem to implement this as we did for tubes and spheres.
So maybe this post should go to the feature request section of the forum.
by sechel
Thu 22. Apr 2010, 00:08
Forum: Programming Help
Topic: Switch viewer in example "ViewerFromScratch.java"
Replies: 5
Views: 2097

Re: Switch viewer in example "ViewerFromScratch.java"

Hi Joe,
please check out the svn. There is a dispose method in the JRViewer now.
It should do similar things as ViewerApp.dispose(). Memory profiling however
showed that the swing components are somehow not beeing collected.
Stefan