X3D-Edit

This article or section is a stub. It does not yet contain enough information to be considered a real article. In other words, it is a short or insufficient piece of information and requires additions.

Draft

## Contents

* 1 Definition
* 2 Tips
* 3 Tutorials
* 4 Installation tips
* 4.1 Ubuntu 14.04 LTS
* 4.2 Ubuntu 10.04 LTS
* 4.3 Windows 7
* 5 Links

## Definition[edit | edit source]

The X3D-Edit 3.2 Authoring Tool for Extensible 3D (X3D) Graphics supports the creation, checking, display and publication of X3D scenes. It is written in open-source Java and XML using the Netbeans 6.7 platform, making it suitable both as a standalone application and as a plugin module for the Netbeans integrated development environment (IDE).

X3D-Edit features include direct editing of X3D scenes using the XML (.x3d) encoding, embedded visualization of scenes using the Xj3D viewer, XML validation using X3D DTD grammars, X3D Schema grammars and X3D Schematron rules, drag-and-drop palette for X3D nodes, popup panels for node editing, and extensive help resources. Further features include ClassicVRML and X3D compressed binary encoding support, encryption and digital-signature authentication using XML Security standards, and additional X3D scene authoring support.

(X3D-Edit Authoring Tool for Extensible 3D (X3D) Graphics, retrieved Sept 1. 2010)

## Tips[edit | edit source]

* Once installed, you can create a new file through the "XCD" menu (forget the "File menu").
* X3D-Edit seems to work with the XSD DocType (v.s. other programs that use a DTD). You may want to change manually if needed.
* Double check that your JDK (Java development kit installed) is 32bit only !

## Tutorials[edit | edit source]

X3D-Edit Update (Version 3.2, retrieved Aug 2010).

## Installation tips[edit | edit source]

### Ubuntu 14.04 LTS[edit | edit source]

\- Daniel K. Schneider (talk) 19:56, 5 April 2016 (CEST)

* Download the zip from:

https://savage.nps.edu/X3D-Edit/

* unzip

unzip
cd x3dedit33/bin
bash x3dedit33

I had java version "1.7.0_67". There were some runtime errors, but the editor seemed to work more or less.

OK if you install Java 8:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

### Ubuntu 10.04 LTS[edit | edit source]

Tested with Ubuntu 10.04 LTS (the Lucid Lynx) on 16:22, 1 September 2010 (CEST).

The official Ubuntu Netbeans distribion

(won't work)

Below is a summary from https://savage.nps.edu/X3D-Edit/

* Get Netbeans through the Synaptic Package Manager, i.e. version 6.8
* Launch it
* Select Menu Tools -> Plugins
* Select Tab Settings and tick all active Update Centers
* Select Tab Updates, click on Reload Catalog and click Update (This step may have to be repeated more than once)
* Now add X3D-Edit: Select Tab Settings and click on Add, then enter

Name: X3D-Edit Update Center
URL:  http://www.movesinstitute.org/X3D-Edit/netbeans_modules/updates.xml

* Switch to the Available Plugins tab, scroll down to X3D-Edit (not Xj3dWrapper), check the Install box, and then hit the Install button.

Won't work since plugins require by the X3D-Edit should be newer. Not possible to upgrade (we already did before)

Using the generic NetBeans IDE 6.9.1

Prior step:

* Remove the official Ubuntu Netbeans
* Make sure that you java installed

Netbeans installation:

* Get it from Netbeans. I took the minimal Unix installer version (I believe that it is probably almost identical to the "platform neutral" zip version, except for the launcher).

chmod a+x netbeans-6.9.1-ml-javase-linux.sh
sudo ./netbeans-6.9.1-ml-javase-linux.sh

* The program appears in the Ubuntu Applications->Programming menu. Launch it.

X3DD-Edit installation:

* Add X3D-Edit to list of available plugins: Select Tab Settings and click on Add, then enter

Name: X3D-Edit Update Center
URL:  http://www.movesinstitute.org/X3D-Edit/netbeans_modules/updates.xml

Result of this operation should look like this:

Adding the X3D-Edit plugin to Netbeans

* Now, wwitch to the Available Plugins tab, scroll down to X3D-Edit (not Xj3dWrapper), check the Install box, and then hit the Install button.
* NetBeans will ask to install other plugins (e.g. Collada). Confirm and also agree to licenses ....

Done.

### Windows 7[edit | edit source]

Prerequisite:

* Install a JAVA 32bit JDK, e.g. as of 17:52, 1 September 2010 (CEST) JDK 6 Update 21. Not just the JRE, i.e. the runtime. You will need the JDK (development kit).

Java version: 1.6.0_21 64-bit (warning !)

* I didn't manage to install a working editor (both through Netbeans 6.9.1 and the X3D-Edit "all-in-one" zip version) - Daniel K. Schneider 17:52, 1 September 2010 (CEST)
* The freaky thing is that the editor appears to work (if you never used it). But it is badly broken, e.g. Drag and drop from the palette doesn't work.

This seems to a known issue, but is not documented in the overview page.

Tip: Consult the log files (e.g. c:\Users\YOU\AppData\Roaming\\.x3deditor32\dev\var\log): In the log file, you can see it whining like Can't load IA 32-bit .dll on a AMD 64-bit...

Easy ways out (alternatives):

* Uninstall Java 64bit from your machine and install a 32-bit version
* Install the *.zip version and edit the shell script runX3dEditWin.bat to include the 32bit Java path.
* Probably Netbeans could be configured to use 32bit Java (but I didn't find this option)

Java version 1.6.0_21 32-bit

* Either install the *.zip file or download Netbeans and install the editor as explained above for Ubuntu.
* I tried Netbeans 6.9.1 and installed the plugin manually. Works. - Daniel K. Schneider 17:52, 1 September 2010 (CEST)

Note: Oracle also distributes combined Java/Netbeans packs, but I prefer installing both separately

## Links[edit | edit source]

* X3D-Edit Download (as of 12:03, 1 September 2010 (CEST))
* Otherwise, check out: X3D Resources / Authoring Software