diff options
author | Kevin Rushforth <[email protected]> | 2006-01-24 15:48:07 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2006-01-24 15:48:07 +0000 |
commit | 2229f72a2bd37040e0f7b0a249923b550fb15309 (patch) | |
tree | bf1eddd36087d99a624f21b9cd00d75de70038d2 /www/j3d1_4/render-texture.html | |
parent | 9d7eff05ab6ff5b71b88cf77e9eabe63bcec5ac3 (diff) |
Updated more obsolete pages; they all now point to the Wiki
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@508 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'www/j3d1_4/render-texture.html')
-rw-r--r-- | www/j3d1_4/render-texture.html | 75 |
1 files changed, 5 insertions, 70 deletions
diff --git a/www/j3d1_4/render-texture.html b/www/j3d1_4/render-texture.html index 42d74ab..b94723a 100644 --- a/www/j3d1_4/render-texture.html +++ b/www/j3d1_4/render-texture.html @@ -3,78 +3,13 @@ <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> - <title>Java 3D 1.5: Render To Texture</title> + <title>Obsolete Page</title> </head> <body> -<h2>Java 3D<sup><font size="-2">TM</font></sup> 1.5: -Render To Texture</h2> -<h3><span style="color: rgb(0, 153, 0);"><i>ROUGH DRAFT: This API -is a Work in Progress</i></span></h3> -<hr> -<p>This page describes the possible render-to-texture feature in -Java 3D 1.5. The main idea is to create new -"render-to-texture" subclasses of Canvas3D and View that would render -into a texture that could then be used in a scene graph to render into -an ordinary on-screen (or off-screen) Canvas3D. We will either need to -create special "rendered" subclasses of Texture (e.g., -RenderedTexture2D), or add a mode flag to the existing texture classes. -The former is cleaner from an API point of view, but the latter is more -flexible (e.g., it would allow some mipmap levels of a Texture or faces -of a TextureCubeMap to be generated by rendering and others to be -specified via an image).<br> +<h2>Obsolete Page</h2> +<p>This page is obsolete. Click <a + href="http://wiki.java.net/bin/view/Javadesktop/Java3DRenderToTexture">here</a> +to go the Java 3D Wiki page discussing Render-to-Texture.<br> </p> -<p>NOTES:<br> -</p> -<ul> - <li>A TextureView is rendered when any View that references a scene -graph containing its RenderedTexture object is rendered. The ordinary -View is said to be <em>dependent</em> on the TextureView.</li> - <li>Each TextureView is rendered before its <em>dependent</em> -View(s).<br> - </li> - <li>RenderedTexture objects cannot be in a scene graph that is -rendered by a TextureView. Violating this will lead to undefined -results. We may want to consider relaxing this restriction to allow for -cascading render-to-texture operations. If we do relax this, we may -need to provide a way for the application to specify an ordering of -TextureViews (determining the dependency graph would be difficult).<br> - </li> - <li>To make it easier for an app to comply with the above, we will -add a new feature to View: a boolean -attribute indicating whether to render <strong><em>only</em></strong> -to nodes under a ViewSpecificGroup. This flag is false by default for -an ordinary View and true by default for a TextureView.</li> -</ul> -<p>The proposed API is:</p> -<ul> - <li>New classes</li> - <ul> - <pre>public class TextureView extends View<br> method: setXxxxx() // Any methods here?<br><br>public class TextureCanvas3D extends Canvas3D<br> method: setRenderedTexture(RenderedTexture) // or should this be immutable?<br> method: setLevel(int level)<br> method: setFace(int face)<br> // override lots of Canvas-related methods and throw UnimplementedException<br><br>public class RenderedTexture extends Texture<br> method: setXxxxx() // Any methods here?<br><br>public class RenderedTexture2D extends RenderedTexture<br> method: setXxxxx() // Any methods here?<br><br>public class RenderedTexture3D extends RenderedTexture<br> method: setXxxxx() // Any methods here?<br><br>public class RenderedTextureCubeMap extends RenderedTexture<br> method: setXxxxx() // Any methods here?<br></pre> - </ul> - <li>New methods in existing classes:<br> - </li> - <ul> - <pre>View<br> method: setViewSpecificGroupOnly(boolean)<br></pre> - </ul> -</ul> -<p>Issues: -</p> -<ol> - <li>Can the resulting image be read back to the application?<br> - <span style="font-style: italic;">[we don't plan to allow this]</span><br> - </li> - <li>What is the best way to ensure that there is a valid source of -all mipmap levels (and all faces of a cube-map)?</li> - <li>Should RenderedTexture be a mode or a subclass?<span - style="font-style: italic;"><br> -[currently proposed to be a subclass]</span></li> - <li>Since this feature encourages using implicit mipmap generation, -we need to file an RFE to implement implicit mipmap generation using -OpenGL HW mipmap generation.<br> - </li> -</ol> -<p><font color="gray">Page last updated — -$Date$ -</font></p> </body> </html> |