[Java 3D] with JOGL
Hi,
I'm looking for tutorial to use Java 3D with JOGL.
I saw that seems to be possible on Java 3D website but I can't see any example (for Direct3D too).
Else, does anyone know if JOGL 2 is supported or if it will be supported in future ?
Thanks in advance.
Hi,
Java 3D is a high level 3D API in contrast to the low level 3D APIs OpenGL, Direct3D, and the corresponding wrapper APIs like JOGL and LWJGL.
The Java 3D engine can be run on any of these rendering pipelines: OpenGL, OpenGL/JOGL, or Direct3D. The default pipeline on Windows and Linux is OpenGL, on Mac OS X OpenGL/JOGL. If OpenGL is not available on Windows the engine switches to Direct3D. JOGL is used in Java 3D to avoid an implemention of the JNI/OpenGL-interface for Mac OS X as it is done for Windows and Linux. To choose OpenGL/JOGL on Windows/Linux the system variable 'j3d.rend' has to be set to 'jogl' and to choose Direct3D on Windows the system variable has to be set to 'd3d'. The default value is 'ogl'.
From the Java 3D application point of view the rendering pipeline is not relevant. The public Java 3D API is independant of the rendering pipeline. Only a few Appearance attributes are not supported on Direct3D.
So, all Java 3D tutorials, sample programs, or your applications can be run on all pipelines and can't be/don't have to be adapted to OpenGL, OpenGL/JOGL, or Direct3D. You don't have direct access to the pipelines from within your Java 3D application.
I'm not aware of any advantages for running Java 3D on the OpenGL/JOGL pipeline. On the Direct3D pipeline a faster Java 3D rendering can be achieved than on OpenGL.
JOGL 1.1.1a is the preferred release to run Java 3D. AFAIK JogAmp's JOGL 2 fork is not downwards compatible. I assume the current Java 3D release wouldn't benefit from it. I'm not aware of anyone working on a next Java 3D release which includes a future JOGL release. I started a Java 3D fork (JUniversal3D, not public yet) and I dropped JOGL as an intermediate API for accessing OpenGL.
Oracle.Sun stopped all its 3D engagements (Java 3D, JOGL, Wonderland) and hasn't made any substantial anouncement about 3D rendering capabilities for its future JavaFX 2.0. So, it's up to third parties to supply 3D APIs for Java desktop and web applications.
August
Similar Messages
-
Problem with JOGL applet on Windows and Linux
I made a simple test applet using JOGL involving a simple animation and a KeyListener. It put it on a web site, and it loads and runs correctly on my Mac, but it gives a blank box with a red x in it on Windows and Linux. Here is the code that I used to deploy the applet. I based it off the sample from https://jogl-demos.dev.java.net/applettest.html
<applet code="TestApplet"
width=300
height=300
archive="http://download.java.net/media/applet-launcher/applet-launcher.jar,
http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl-demos.jar">
<param name="codebase_lookup" value="false">
<param name="subapplet.classname" value="TestApplet">
<param name="subapplet.displayname" value="JOGL Applet">
<param name="noddraw.check" value="true">
<param name="progressbar" value="true">
<param name="jnlpNumExtensions" value="1">
<param name="jnlpExtension1"
value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
</applet>
Does anyone know what I'm doing wrong? Thanks for your help.never mind. i figured it out.
-
Jar files download problems in Java Webstart with JRE 1.6
We have encountered a few problems in Java Webstart with JRE 1.6
In JRE 1.5, the jar files are getting downloaded onto the client
machine with it's original names.
Example :
Server File Name : acm.jar
Client File Name : RMacm.jar
But in JRE 1.6, the jar files are getting downloaded with improper file names.
Example :
Server File Name : acm.jar
Client File Name : 4fb074cc-66fc7407
Moreover the path itself seems to be invalid.
Example Path :
JRE 1.5 path:
C:\Documents and Settings\Administrator\Application
Data\Sun\Java\Deployment\cache\javaws\https\D17.16.23.11\P443\DMtest\DMwebStart
JRE 1.6 path:
C:\Documents and Settings\Administrator\Application
Data\Sun\Java\Deployment\cache\6.0\12
Due to this, we are facing Classpath problems.
What changes do we have to make to the code, for Java
Webstart to work ?
We are using JBoss 4.0.4 and JDK 1.5 in the Server
On the client machine, we have IE 6 and JRE 1.6.01
Help would be appreciated.Ask your Java Web Start question at:
http://forum.java.sun.com/forum.jspa?forumID=38 -
Question about mapping a JAVA Interface with Flex
I am using Granite Data Services (Java backend) with my Flex
client.
The Java server has an Interface called
public interface IService {String getServiceName();}
The flex client makes a remote service call on the server
POJO which returns any implementation of the specified interface.
On the flex side I have an interface
[Bindable]
[RemoteClass(alias="com.*****.proxy.pojo.IService")]
public interface IService{function getServiceName():String;}
As shown i am binding it to the server interface.
From the client I make a call to the server and handle the
result as shown below
var serviceInstance:IService =
(remoteO.testInterface.lastResult as IService);
Alert.show("Service Name :
"+serviceInstance.getServiceName());
The call reaches the server and the remote method is being
called however the Alert is not working.
Please Help !!//Start other thread closeT
System.exit(0)
//code for thread closeT
//wait 10 s
Runtime.getRuntime().halt()
Gil -
Hi,
Can you please let me know when java mapping with STAX will be supported in Netweaver XI?
Regards
SudhirHi Sudhir,
STAX is Stream API for XML. It works similar to SAX but is a pull based model. It can also work with multiple XSD's...
XI support of STAX will moslty be supported when XI supports Java EE 5. We can say that this will be supported very soon...
http://www.xml.com/pub/a/2003/09/17/stax.html presents the overview of STAX.
Hope this helps
Regards
Kiran.. -
Hi Experts
I need to keep the users of my AS Java syncronized with some user in ERP.
Thats means, when some user change some information in ABAP, i need to get this information and change in AS Java too, like email or password...
I can't use CUA, and i can't use that function that syncronized ABAP user in AS Java automatically. There is another way to do it?
Could somene help me?
Best Regards
Marcos BrandãHi Martin
Thanks for your response,
When i was talking about the function that syncronized the user in abap and java, i was talking exactly about use ABAP user store as a source for UME. This solution doesn't wirk because the customer do not when activate this. He is worried about the performance and the information of the user in 2 diferent location, there is a lot of users in ABAP user store and he don't want this solution.
I need to get just specific user to reply in Java stack user store. I kown how can i do it without get user password, but this do not resolve to me. I need the same user credencials in both systems.
I will see th SPML / Idm and what kind of problems this solution brings to me, if this solve my problem, i will try to use it.
There is another way, instead this two way? maybe get the encripted password, decript it and save in java user store with encription mecanism of ume?
Best Regards
Marcos Brandao -
How to use java integrate with ondemand
Hi All,
As i'm new to integration, can anyone help me to use java integrate with ondemand that inserts some records in ondemand and deletes some records from ondemand in secheduled interval basis.?
Thanks in advance..!
regards
sowmGreetings,
hi forum...
how to use Java WebStart with EJB ? examples ?Well, for starters these are complementing, not 'cooperating', technologies. I presume, since EJB's do not - directly, at least - communicate with a web browser, that you intend for "Java WebStart" to somehow invoke an EJB?? Java WebStart is a technology for running client-side (Java) applications from the web browser - perceptively, the application resides on the server, but technically it, like an applet, is downloaded to the client and run there. Unlike an applet, however, it is not constrained by "sandbox" restrictions and does not have to be re-downloaded each time it is invoked - though the process allows for automagically updating the client-side with new versions of the application. ;) So, with this in mind, to "use Java WebStart with EJB" means little more than deploying an EJB client application with Java WebStart as the distribution channel.
thanks
minduRegards,
Tony "Vee Schade" Cook -
Using Java Dictionary With Oracle
Can Someone tell how can i configure my java dictionary with oracle...Currently if a create a table from my IDE and then deploy it it deploys to the Default SAP DB ...how do i directrly create tables in oracle by just specifying the Deploy option ...
And further on I want my web Dynpro application to talk with oracle db..how do i acheive this..
Please Help!!Hi,
Does this mean that the additional features of The Java Dictionary (bufferring etc ) can only be implemented if we ONLY connect to the SAP DB---- YES
If I have to utilize the services of Java Dictionary in my application i can only use The SAP DB database -- YES
You deploy a dictionary project to create a table in the DB.
When it is a DB created and used by Web AS ,it is possible to create tables in that DB with dictionary project using the standard connection parameters specified in visual admin.
Java Dictionary purpose is to create a DB abstraction by providing a standard interface to create tables whatever the DB used by WebAS maybe.
Regards
Bharathwaj
Edited by: Bharathwaj R - Hope this makes it clear ! -
Post Author: Elvyn
CA Forum: Migration to XI R2
We are using CR4E deployed on Linux. Some of our reports use Java UFLs.We are currently migrating to BOE XI and can't find support for Java UFLs.
1) Is there a way to use Java UFL with BOE XI (on Linux)?2) If it is not supported, is there any alternative?Post Author: Elvyn
CA Forum: Migration to XI R2
We are using CR4E deployed on Linux. Some of our reports use Java UFLs.We are currently migrating to BOE XI and can't find support for Java UFLs.
1) Is there a way to use Java UFL with BOE XI (on Linux)?2) If it is not supported, is there any alternative? -
hello friends,
i'm new to jsp. i want to create an html form that accepts username and a value from four radio buttons and display back the entered name and checked radio button's value using java bean.
i use the <jsp:setProperty id="" property="*"> method. i don't know how to access the radio buttons value from the html.
also when i use an additional field other than username the jsp page is showing error.
Please give me the correct method to use java bean with jsp in this circumstance.
thank you.thank you, but i have a problem left. the case is like this.
i got the jsp and bean worked fine when i have a sinle input text field.
but when i added a second text field i recieved the following error.
javax.servlet.ServletException: basket.newbean.getUserPass()Ljava/lang/String;
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
org.apache.jsp.newform.process_jsp._jspService(process_jsp.java:69)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
where userPass is the new form element. I have made the subsequent chanes in my bean program and jsp file.
pls hlp. -
Can we use an overloaded constructor of a Java Bean with Session Tracking
Hi Friends,
If any one can solve my query.... It would be helpful.
Query:
I have a Java Bean with an overloaded constructor in it. I want to use the overloaded constructor in my JSP.
1. One way of doing that is to use it directly in the "Scriptlets" (<% %>). But then I am not sure of the way to do session tracking. I think I can use the implicit objects like "session", "request" etc. but not sure of the approach or of the implementation method.
2. Another way is through the directive <jsp: useBean>. But I cannot call an overloaded constructor with <jsp: useBean>. The only alternative way is to use the directive <jsp: useBean> where I have to write getter and setter methods in the Java Bean and use the <jsp: setProperty> and <jsp: getProperty> standard actions. Then with this approach I cannot use the overloaded constructor.
Can any one suggest me the best approach to solve this problem ?
Thanks and Regards,
Gaive.My first reaction is that you can refactor your overloaded constructor into an init(arguments...) method. Instead of overloaded constructor, you can call that init method. This is the ideal solution if possible.
As to the two choices you listed:
1. This is OK, I believe. You can use scriplet to define the bean and put it into session scope of the pageContext. I am not sure exactly what you meant by session tracking; whatever you meant, it should be doable using HttpSessionAttributeListener and/or HttpSessionBindingListener.
2. Agreed. There is no way that <jsp:useBean> can call a constructor that has non-empty arguments.
Please tell me how it works for you. -
How to display value from java class with output generated with toplink
i hava a requirement of displaying (distance ie calculated in java class) with output generated by query.
ie if output is like
school name (distance)
physical address
here the school name and physical address are retrived from database.Hi,
ValueHolders are used by the JSF internal framework. To work with an object (attributes) in a managed bean you don't need to make it returning a value holder.
Create a POJO, provide accessor methods and register it as a managed bean. Access it from JSF with EL
Frank -
How to start java applet with netbeans 6.1
hey,
I want to learn how to start java applet (with database) with netbeans.. I'm new to java...can you show me how can i start..if you have any doc about it can you send it to me..thank you..:)You really should be asking this NetBeans question at the NB site - these forums are for Java language topics, not NB support.
[http://www.netbeans.org/kb/61/web/applets.html]
Almost any NB question you have can be answered by either the NB web documentation or the NB program's Help. -
cant play on Pogo.com, error: theres a bug that prevents everyone from playing Java games with Firefox new version.
You can update Firefox to the latest 3.6.15 version via "Help > Check for Updates"
-
How to use Java WebStart with EJB ?
hi forum...
how to use Java WebStart with EJB ? examples ?
thanks
minduGreetings,
hi forum...
how to use Java WebStart with EJB ? examples ?Well, for starters these are complementing, not 'cooperating', technologies. I presume, since EJB's do not - directly, at least - communicate with a web browser, that you intend for "Java WebStart" to somehow invoke an EJB?? Java WebStart is a technology for running client-side (Java) applications from the web browser - perceptively, the application resides on the server, but technically it, like an applet, is downloaded to the client and run there. Unlike an applet, however, it is not constrained by "sandbox" restrictions and does not have to be re-downloaded each time it is invoked - though the process allows for automagically updating the client-side with new versions of the application. ;) So, with this in mind, to "use Java WebStart with EJB" means little more than deploying an EJB client application with Java WebStart as the distribution channel.
thanks
minduRegards,
Tony "Vee Schade" Cook
Maybe you are looking for
-
Mac-Mini HTPC Video-Out Problems (Component to DVI)
I recently decided to go with a Mac-Mini as the central-brain of my HTPC configuration, and I was immediately halted in the process of getting things working by my inability to properly output video from the Mac-Mini such that it's even visible on my
-
Airport. Extreme and Mybook Studio Edition - what cable do I need.
I haven't had my Mybook external harddrive attached to our home network for over a year and now I can't remember how I did it. In fact, I can't even find a cable that would work! Is it possible to run a cable from the Airport extreme to the MyBook? O
-
Error authentication user in WCS about Human Tasks
Hi All, We developed a BPM workflow and 4 human task(HT) in ADF and using WCS for accessing the tasks of the human workflow. We are working using the virtual machine soabpm-vm 11.1.1.6 ps5, downloaded by the Oracle Web Site. I created a space in WCS,
-
I am running a Visual Basic 6 program that connects to an Oracle database and works OK until I try to store a clob via a package. When attemting to set .. cmd.Properties("SPPrmsLOB") = True .. I get the error "Item cannot be found in the collection c
-
Where can i get Oracle JDeveloper 9i Handbook exercise source code?
Hi I'm studying JDeveloper 10g by read the book <<Oracle JDeveloper 9i Handbook >> which written by Peter Koletzke,Paul Dorsey and Avrom Faderman, Where can i get exercise source code? In chapter 13,I can't create the application module AccountantPro