Search found 68 matches

by sechel
Fri 9. Sep 2011, 13:12
Forum: Bugs
Topic: NullPointerException: de.jreality.writer.u3d.U3DSceneUtility
Replies: 2
Views: 1220

Re: NullPointerException: de.jreality.writer.u3d.U3DSceneUti

That is strange. My version of August 29. reads: public static SceneGraphComponent getSkyBox(JrScene scene) { Appearance rootApp = scene.getSceneRoot().getAppearance(); if (rootApp == null || rootApp.getAttribute(SKY_BOX) == INHERITED) { return null; } CubeMap skyBox = (CubeMap)createAttributeEntity...
by sechel
Mon 29. Aug 2011, 17:26
Forum: Bugs
Topic: JRViewer, fullscreen toggle
Replies: 1
Views: 993

Re: JRViewer, fullscreen toggle

fixed
by sechel
Mon 29. Aug 2011, 16:23
Forum: Programming Help
Topic: Export In pdf3D
Replies: 13
Views: 3532

Re: Export In pdf3D

Seemed to be a bug at this line of code. Changed it.
by sechel
Tue 9. Aug 2011, 13:00
Forum: Bugs
Topic: Acrobat Reader 9.3 - 3D-PDF parsing error
Replies: 8
Views: 6093

Re: Acrobat Reader 9.3 - 3D-PDF parsing error

The roblem is fixed now. It was an issue in the initialization javascript that prevented the lighting mode from beeing set. Its unclear whether this is intended behavior or a bug in Reader X. Anyway its fixed, please update from the SVN.
by sechel
Tue 9. Aug 2011, 12:38
Forum: Bugs
Topic: Acrobat Reader 9.3 - 3D-PDF parsing error
Replies: 8
Views: 6093

Re: Acrobat Reader 9.3 - 3D-PDF parsing error

This Adobe Reader X Bug has been identified. It is a lighting configuration problem. For a workaround, please activate the PDF Inventory Option from the export panel. Then select a lighting configuration, like "CAD optimized lighting" from the Adobe Reader accessory manually. We hope to fix this ano...
by sechel
Fri 8. Jul 2011, 16:34
Forum: General jReality Discussion
Topic: Publicizing jReality idea
Replies: 7
Views: 4072

Re: Publicizing jReality idea

As far as I'm well informed it is strongly discouraged to write ones own wikipedia page. Nevertheless I'm sure there are people out there who put their CV on Wikipedia.
Having said this: Do we have a Volunteer here?
by sechel
Mon 6. Jun 2011, 17:35
Forum: Programming Help
Topic: bug in ifs2heds?[SOLVED]
Replies: 4
Views: 1039

Re: bug in ifs2heds?

This code is a little away from the design of the IndexedFaceSet. In the IndexedFaceSet edges are independently defined. There is no such an implication that for any triangle there are three edges each of them shared by another triangle. Instead the IndexedFaceSetFactory has a method that crates the...
by sechel
Tue 31. May 2011, 16:36
Forum: Programming Help
Topic: bug in ifs2heds?[SOLVED]
Replies: 4
Views: 1039

Re: bug in ifs2heds?

Actually the code from line 149 looks quite OK to me. The edges coming from face boundaries ought to have the same color as the face they are attached to. What looks peculiar to me is the next section where the extra edges, that do not have a supporting face get their colors. This seems to be wrong....
by sechel
Tue 31. May 2011, 16:27
Forum: Programming Help
Topic: bug in ifs2heds?[SOLVED]
Replies: 4
Views: 1039

Re: bug in ifs2heds?

You are right, there is definitely something fishy going on in the edge color code. I could not figure out whats wrong exactly. Could you post source code that unveils the problems of this section? That would be nice.
Stefan
by sechel
Thu 12. May 2011, 12:56
Forum: Bugs
Topic: de.jreality.geometry.Primitives method Sphere
Replies: 1
Views: 1126

Re: de.jreality.geometry.Primitives method Sphere

The geometry is always a sphere with radius 1. It is scaled to the value that is given by the parameter radius by a transformation in the scene graph.
by sechel
Sat 30. Apr 2011, 12:24
Forum: Programming Help
Topic: Auto-generate edge colors from face colors?
Replies: 1
Views: 638

Re: Auto-generate edge colors from face colors?

Hi Joe,
I don't see canonical colors for edges derived from face colors. What you probably want is holes in the faces so you may want to have a look into the IndexedFaceSetUtility.implode() method.
Stefan
by sechel
Thu 3. Mar 2011, 12:58
Forum: Programming Help
Topic: Disabling automatic rotation
Replies: 5
Views: 1009

Re: Disabling automatic rotation

Hi Alfredo, this behavior is intended. There however is an inconvenient reaction in some cases, where the rotate tool keeps spinning even if you just clicked. I consider this a bug. If you want to have a look into the source code of the RotateTool you find it here: src-tool/de.jreality.tools.RotateT...
by sechel
Wed 2. Mar 2011, 21:19
Forum: Programming Help
Topic: Disabling automatic rotation
Replies: 5
Views: 1009

Re: Disabling automatic rotation

The code of SimpleViewer.java was a bad example. I changed the main method to reflect the different ways of using JRViewer. public static void main(String[] args) { SceneGraphComponent world = new SceneGraphComponent(); world.setGeometry(Primitives.sharedIcosahedron); View.setTitle("The Icosahedron"...
by sechel
Sat 19. Feb 2011, 14:26
Forum: Programming Help
Topic: Error importing Mathematica graphics
Replies: 10
Views: 1921

Re: Error importing Mathematica graphics

Hi srossegg, u3d merges the appearance of the material with that of the vertex colors. In jReality vertex color have the priority and overwrite the material behaviour. Please set the Appearance of the geometry to have a white diffuse color to see the vertex colors of your mesh. There still seems to ...
by sechel
Wed 16. Feb 2011, 19:48
Forum: Programming Help
Topic: Closing JReality closes the entire program...
Replies: 1
Views: 592

Re: Closing JReality closes the entire program...

Hi, do not use the JRViewer.display method for that kind of purpose. If you want to integrate the JRViewer into your own project you should create an instance of JRViewer and then use the startupLocal method. The result will be a root pane that you an pase somewhere into your application. Hope that ...