diff options
author | Kevin Rushforth <[email protected]> | 2006-01-06 01:01:23 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2006-01-06 01:01:23 +0000 |
commit | fce434af80518d9c24e1b48c64d1baf9e4e5f543 (patch) | |
tree | 955b7725fe01857aa3e7bcc4871283636331e849 | |
parent | 50e3176d34502d013f0e3a3810e8f2d8e96de5dc (diff) |
1. Fixed show-stopper D3D hang
2. Added placeholders for release notes
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@497 ba19aa83-45c5-6ac9-afd3-db810772062c
-rw-r--r-- | src/native/d3d/NativeConfigTemplate3D.cpp | 7 | ||||
-rw-r--r-- | www/j3d1_4_0/HOW-TO-INSTALL.html | 99 | ||||
-rw-r--r-- | www/j3d1_4_0/RELEASE-NOTES.html | 172 |
3 files changed, 275 insertions, 3 deletions
diff --git a/src/native/d3d/NativeConfigTemplate3D.cpp b/src/native/d3d/NativeConfigTemplate3D.cpp index 5f7e236..a5e065a 100644 --- a/src/native/d3d/NativeConfigTemplate3D.cpp +++ b/src/native/d3d/NativeConfigTemplate3D.cpp @@ -129,9 +129,10 @@ jint JNICALL Java_javax_media_j3d_NativeConfigTemplate3D_choosePixelFormat( // first 0-7bits for depth,8-15 Stencil retValue = deviceInfo->maxZBufferDepthSize |(deviceInfo->maxStencilDepthSize <<8); - // set value for Canvas3D GraphicsConfigInfo - jlong *pfi_ptr = (jlong *) env->GetPrimitiveArrayCritical(offScreenPFArray, NULL); - pfi_ptr[0] = retValue; + // set value for Canvas3D GraphicsConfigInfo + jlong *pfi_ptr = (jlong *) env->GetLongArrayElements(offScreenPFArray, NULL); + pfi_ptr[0] = retValue; + env->ReleaseLongArrayElements(offScreenPFArray, pfi_ptr, 0); } } } diff --git a/www/j3d1_4_0/HOW-TO-INSTALL.html b/www/j3d1_4_0/HOW-TO-INSTALL.html new file mode 100644 index 0000000..0c584b2 --- /dev/null +++ b/www/j3d1_4_0/HOW-TO-INSTALL.html @@ -0,0 +1,99 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <meta content="text/html; charset=ISO-8859-1" + http-equiv="content-type"> + <title>Java 3D 1.4.0 Installation Instructions</title> +</head> +<body> +<h2>Instructions for Installing +Java 3D<sup><font size="-2">TM</font></sup> 1.4.0-beta3</h2> +<p>The 1.4.0-beta3 version of the Java 3D<sup><font size="-2">TM</font></sup> +API runs on JDK version 1.4.2 and higher. It has been released for +the Solaris, Linux, and Windows operating +environments.<br> +</p> +<hr> +<p><span style="font-style: italic; font-weight: bold;">NOTE: This +pre-release version does not yet come with an installer. +Beginning with the 1.4.0-beta4 release, we will provide an installer +for the Windows operating +environment, and a self-extracting binary for the Solaris and Linux +operating +environments.</span><br> +</p> +<hr> +<p>This interrim build runs on JDK version 1.4.2 and higher. +To install this build, chdir to the "jre" directory within the jdk +and unzip (or unjar) the zip file. For example, if your JDK is +installed +in /usr/java/jdk1.5.0_06, you would install this as follows: +</p> +<ul> +cd /usr/java/jdk1.5.0_06<br> +unzip /path-to-extracted-files/j3d-140-*.zip<br> +</ul> +<p>You may need to be "root" to do this on Solaris or Linux.</p> +<p>Here is an example of how to install Java 3D 1.4.0-beta3 on a +Windows/XP system:</p> +<ol> + <li>Download java3d-1_4_0-beta3-windows-i586.zip to a temporary +directory, +for example, "c:\Temp"</li> + <br> + <li>Unzip java3d-1_4_0-beta3-windows-i586.zip (using WinZip or a +similar +tool) into "c:\Temp". You will see the following files in the +"java3d-1_4_0-beta3-windows-i586" subdirectory:</li> + <br> + <ul> +COPYRIGHT.txt<br> +HOW-TO-INSTALL.txt<br> +LICENSE-JRL.txt<br> +README.txt<br> +j3d-140-beta3-win.zip<br> + </ul> + <br> +The only file you need is "j3d-140-beta3-win.zip".<br> + <br> + <li>Unzip Java 3D 1.4.0-beta3 into your JRE as follows:<br> + <br> + </li> + <ul> + <li>Locate your "JRE". The default location for the current release +is: +"c:\Program Files\Java\jre1.5.0_06"</li> + <br> + <li>Unzip j3d-140-beta3-win.zip (found in +c:\Temp\java3d-1_4_0-beta3-windows-i586) +to the jre directory.</li> + <br> + <li>Verify that the j3d*.jar and vecmath.jar files end up in: +"c:\Program Files\Java\jre1.5.0_06\lib\ext"</li> + <br> + <li>Verify that the j3d*.dll files end up in: +"c:\Program Files\Java\jre1.5.0_06\bin"</li> + </ul> + <br> + <li>If you also installed the JDK, unzip Java 3D 1.4.0-beta3 into the +"jre" +directory of your JDK as follows:</li> + <br> + <ul> + <li>Locate the jre directory of your "JDK". The default location +for the +current release is: "c:\Program Files\Java\jdk1.5.0_06\jre"</li> + <br> + <li>Unzip j3d-140-beta3-win.zip (found in +c:\Temp\java3d-1_4_0-beta3-windows-i586) +to the jre directory of the JDK.</li> + <br> + <li>Verify that the j3d*.jar and vecmath.jar files end up in: +"c:\Program Files\Java\jdk1.5.0_06\jre\lib\ext"</li> + <br> + <li>Verify that the j3d*.dll files end up in: +"c:\Program Files\Java\jdk1.5.0_06\jre\bin"</li> + </ul> +</ol> +</body> +</html> diff --git a/www/j3d1_4_0/RELEASE-NOTES.html b/www/j3d1_4_0/RELEASE-NOTES.html new file mode 100644 index 0000000..26f8695 --- /dev/null +++ b/www/j3d1_4_0/RELEASE-NOTES.html @@ -0,0 +1,172 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<!-- +/* + * $RCSfile$ + * + * Copyright (c) 2006 Sun Microsystems, Inc. All rights reserved. + * + * Use is subject to license terms. + * + * $Revision$ + * $Date$ + * $State$ + */ +--> + <meta content="text/html; charset=ISO-8859-1" + http-equiv="content-type"> + <title>Java 3D 1.4.0 Release Notes</title> +</head> +<body> +<h2>Java 3D<sup><font size="-2">TM</font></sup> 1.4.0-beta3 +Pre-Release Notes</h2> +<p><span style="color: rgb(204, 0, 0);"><b><i>This is a placeholder for +actual release notes. The real release +notes will come later.</i></b></span><br> +</p> +<p>This file contains important pre-release information for users of +the +Java 3D<sup><font size="-2">TM</font></sup> API, version +1.4.0-beta3. +</p> +<ul> + <a href="#System_Requirements">System Requirements</a> +(<a href="#Solaris_Sparc">Solaris/Sparc</a>, <a href="#Solaris_x86">Solaris/x86</a>, + <a href="#Linux">Linux</a>, <a href="#Windows">Windows</a>)<br> + <a href="#Changes_Since_1.3.2">Changes Since 1.3.2</a><br> + <a href="#More_Information">More Information</a><br> +</ul> +<p><a href="HOW-TO-INSTALL.html">Click here</a> for instructions on +<a href="HOW-TO-INSTALL.html">how +to install</a> this pre-release of +Java 3D +version 1.4.0-beta3.</p> +<p><span style="font-style: italic;">NOTE: We recommend that you </span><span + style="font-style: italic;">uninstall all </span><span + style="font-style: italic;">previous versions of Java 3D before +installing this version.</span> +</p> +<h3><a name="System_Requirements"></a>System Requirements</h3> +<p>The 1.4.0-beta3 version of the Java 3D API has been released +for +Solaris (both sparc and x86), Linux (both x86 and amd64), and Windows. +</p> +<h4><a name="Solaris_Sparc"></a>Solaris/Sparc</h4> +<p> +The 1.4.0-beta3 version of Java 3D for Solaris/SPARC requires the +following: +</p> +<ul> + <li>JDK 1.4.2 or later (1.5.0 is recommended) from Sun Microsystems: <a + href="http://java.sun.com/j2se/">http://java.sun.com/j2se/</a></li> + <li>Solaris 9 or later</li> + <li>Frame Buffer with OpenGL support (XVR-500, XVR-1000, XVR-600, +XVR-1200, XVR-4000, Expert3D, Elite3D, Creator3D, and PGX)</li> + <li>OpenGL 1.3 for Solaris or later. To find your current version, +use: "<code>pkginfo -l SUNWglrt</code>". OpenGL for Solaris can be +obtained at: <a href="http://www.sun.com/software/graphics/opengl/">http://www.sun.com/software/graphics/opengl/</a></li> +</ul> +<h4><a name="Solaris_x86"></a>Solaris/x86</h4> +<p> +The 1.4.0-beta3 version of Java 3D for Solaris/x86 requires the +following: +</p> +<ul> + <li>JDK 1.5.0 or later from Sun Microsystems: <a + href="http://java.sun.com/j2se/">http://java.sun.com/j2se/</a></li> + <li>Solaris 10 or later</li> + <li>NVIDIA Frame Buffer</li> + <li>OpenGL XX for Solaris/x86 or later. OpenGL for Solaris can be +obtained at: [WHERE?]</li> +</ul> +<h4><a name="Linux"></a>Linux<br> +</h4> +<p>The 1.4.0-beta3 version of Java 3D for Linux (x86 or amd64) +requires +the +following:<br> +</p> +<ul> + <li>JDK 1.4.2 or later (1.5.0 is recommended) from Sun Microsystems: <a + href="http://java.sun.com/j2se/">http://java.sun.com/j2se/</a></li> + <li>Graphics adapter with driver that supports the GLX +extension: GLX +1.3 or later and OpenGL 1.2 or later<br> + </li> +</ul> +<h4><a name="Windows"></a>Windows<br> +</h4> +<p>The 1.4.0-beta3 version of Java 3D for Windows 2000, and +Windows/XP +requires the following:<br> +</p> +<ul> + <li>JDK 1.4.2 or later (1.5.0 is recommended) from Sun Microsystems: <a + href="http://java.sun.com/j2se/">http://java.sun.com/j2se/</a></li> + <li>Windows 2000 or Windows/XP</li> + <li>Support for either OpenGL or DirectX as shown below.<br> + </li> +</ul> +<ul> + <span style="font-weight: bold;">OpenGL version</span><br> + <ul> +The (default) OpenGL renderer of Java 3D requires OpenGL 1.2 or +later, +available from your graphics card manufacturer. + </ul> +</ul> +<ul> + <span style="font-weight: bold;">DirectX version</span><br> + <ul> +The (optional) DirectX renderer of Java 3D requires DirectX 9.0 or +later, which is available from Microsoft at: <a + href="http://www.microsoft.com/windows/directx/">http://www.microsoft.com/windows/directx/</a> +. The DirectX version of +Java 3D is selected by setting the "<code>j3d.rend</code>" system +property +to "<code>d3d</code>", +for example: "<code>java -Dj3d.rend=d3d ClassName</code>" + </ul> +</ul> +<h3><a name="Changes_Since_1.3.2"></a>Changes Since 1.3.2</h3> +<h4>New Features</h4> +<ul> + <li>Pointer to new features...<br> + </li> +</ul> +<h4>Miscellaneous</h4> +<ul> + <li>Improved...</li> +</ul> +<h4>System Properties</h4> +<ul> + <li><code>j3d.xxxxx</code> – Description of xxxxx</li> +</ul> +<h4>Issues Fixed<br> +</h4> +<table style="text-align: left;" border="0" cellpadding="2" + cellspacing="2"> + <tbody> + <tr> + <td style="text-align: right;">NN</td> + <td>Synopsis</td> + </tr> + <tr> + <td style="text-align: right;">NN</td> + <td>Synopsis</td> + </tr> + </tbody> +</table> +<h3><a name="More_Information"></a>More Information<br> +</h3> +<p>For the latest information on Java 3D, see the <a + href="https://java3d.dev.java.net/">main Java 3D project page</a> +on +java.net.<br> +</p> +<p>Click <a + href="https://java3d.dev.java.net/issues/buglist.cgi?Submit+query=Submit+query&component=java3d&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED">here</a> +for a list of open issues.</p> +</body> +</html> |