Ticket #1473 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

[with patch, with one positive review] Java3D usable from command line as well as notebook

Reported by: robertwb Owned by: robertwb
Priority: major Milestone: sage-2.9
Component: graphics Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

Eventually we hope to have many tools (e.g. MayaVi?) to help handle this, but Java3D works now and it should be easy to invoke the same code as an app rather than an applet.

Attachments

extcode-3d-cmd.hg Download (31.1 KB) - added by robertwb 5 years ago.
sage-main-3d-cmd.hg Download (1.5 KB) - added by robertwb 5 years ago.
extcode-java3d-update.diff Download (803 bytes) - added by robertwb 5 years ago.

Change History

comment:1 Changed 5 years ago by robertwb

  • Owner changed from was to robertwb
  • Status changed from new to assigned

comment:2 Changed 5 years ago by mabshoff

  • Milestone set to sage-2.9

comment:3 Changed 5 years ago by robertwb

  • Milestone changed from sage-2.9 to sage-2.9.1

Changed 5 years ago by robertwb

comment:4 Changed 5 years ago by robertwb

  • Summary changed from Java3D usable from command line as well as notebook to [with patch] Java3D usable from command line as well as notebook
  • Milestone changed from sage-2.9.1 to sage-2.9

Changed 5 years ago by robertwb

Changed 5 years ago by robertwb

comment:5 Changed 5 years ago by was

  • Summary changed from [with patch] Java3D usable from command line as well as notebook to [with patch, with one positive review] Java3D usable from command line as well as notebook

This works fine for me.

comment:6 Changed 5 years ago by cwitty

If I download java3d-1_5_1-linux-i586.zip from the java3d web site, I can unzipit to get (among other things) j3d-jre.zip. Then I can unzip j3d-jre.zip to get (among other things) libj3dcore-ogl.so.

If I put libj3dcore-ogl.so in some directory, and set my LD_LIBRARY_PATH environment variable to point to that directory before starting Sage, then the command-line java3d code works.

comment:7 Changed 5 years ago by robertwb

Gluegen is supposed to take care of all of that (for applets it does) but maybe there's a way to rig it for apps too.

comment:8 Changed 5 years ago by mabshoff

  • Status changed from assigned to closed
  • Resolution set to fixed

Merged in 2.9.rc0.

Note: See TracTickets for help on using tickets.