About java3D and OpenGL

Hello,
I have developped an application using java3D but I don't know if my application use OpenGL or not. Despite the fact that i have try to launch my application on an other computer which had not OpenGl, I haven't see a difference.
So my questions are :
How a developper know if his program use properties of OpenGL ?
Is there a class that instantiate OpenGl and which has methods that could accelerate my application ?
Thanks.

OpenGL may or may not be used behind the scenes for better performance. Or maybe directX will be if thats what the user has chosen to install on their machine. Theres no way to find out via code whats being used - acceleration is already being used so you dont have to worry about it.

Similar Messages

  • Java2d, Java3d or Opengl best performance

    I am planning to write a game in java that must be multi-platform and must have a very good performance. I am making a kind of rts. This rts will only be 2d. I am planning to get as many moving little objects(pics) within a second as i can. What is the best method in doing so. Performance wise and implementing wise. I never worked with Java2d or Java3d and Opengl only with c++. So what is the best choice you reckon?
    Also every performance/programming tip is welcom :-)

    I would definitly go with java2D. Its really easy to use and get started with. OpenGL in c++ is the best way to go for profesional games, but java can be fast engough for most simple stuff.

  • Java3D vs OpenGL bindings

    Hello. I would like to know what API is better for programming of a game engine: OpenGL or Java3D. Can anyone tell me what are the advantages of using each of these APIs? I've been using Java3D quite a while, but I've heard that it offers very limited features and that it's soon going to "die". I would like to know your oppinion: should I use some OpenGL Java binding (and more importantly, what binding) or should I keep using Java3D?

    My experience with Java3D and JOGL ( a OpenGL binding for Java ) is fairly limited, so I guess my opinion doesn't really count, but still...
    I think that if You are serious about writing a high performance graphics engine, then You have to go "as low as You can" - in Java this means "use bindings". Libraries like Java3D are useful, when you need to implement basic 3D graphics in a project that does not need any fancy graphics ( like shadows, bump-mapping, vertex and pixel shaders etc ). The strong point of Java3D is that once you've grasped the concept behind it, you can use it for various tasks - from showing a single 3d model of a car to creating a virtual city - and the workload of these tasks will be comparable. The problem is that you are limited by the possibilities and performance of Java3D and, moreover, your whole project has to be build around Java3D, which maybe annoying. On the other hand, when you decide to use an OpenGL binding, like JOGL for example, then you practically decide to take controll and responsibiity over everything that is going to be drawn. Now, the amount of possibilities is limited mainly by your skills in programming and sometimes by the hardware.
    In general, one could say that Java3D is meant for getting average results in very short time, while bindings are meant for obtaining excelent results, but at a high cost in terms of time and effort.

  • Javafx and opengl

    Some body used java opengl with javafx? i read about java3d with javafx but we all informatic student see java3d slow and not efficient
    -Diego

    864728 wrote:
    But you can still do the reverse, embedding JavaFX into a swing application.I have already made this by creating a JFXPanel (which contains a JavaFX scene graph) and adding this one to the JFrame, over a GLCanvas layer.
    But I don't know how to set the JFXPanel position (to the top-right corner for example). I try to apply some translation, but it doesn't work.You'll have to use Swing/AWT features and layouts for that.
    http://download.oracle.com/javase/tutorial/uiswing/layout/index.html
    This is a little problem in my application because I want to show/hide some panels or group of buttons over the GLCanvas...Sounds like a JLayeredPane might help.
    http://download.oracle.com/javase/tutorial/uiswing/components/layeredpane.html
    Any specific problems with that would be better posted in the Swing forum. JFXPanel is a Swing component (it inherits from JComponent).
    db

  • How do I use Qt and OpenGL with Visual Studio

    Hi! I mainly want to program in C++ and I want to use Qt and OpenGL with Visual Studio.
    I am currently revising C++ and later on i am going to start reading Qt and OpenGL. I have a background of
    Embedded firmware design(C and Assembly).
    The Visual Studio Version I have is 2013 ultimate. How do I use Qt and OpenGL with Visual Studio?
    Thanks
    Alexandros

    Hi ClassicalGuitar,
    The forum supports VS setup and installation. And your issue is not about the forum. I will move the thread to off-topic forum. Thanks for your understanding.
    Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Getting started using c++ and Opengl

    Hi all,
    I hope this is the right section to post this question. I am trying to getting started in developing little games in C++ usign Opengl. I have tryed to look for some documentation and understand how to set up my dev environment. I am a little bit confused on wich version of OpenGl to install and whether or not I need to support it installing particular drivers.
    This are the information on my VGA controller obtained typing "lspci -v"
    00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
            Subsystem: Dell Device 0571
            Flags: bus master, fast devsel, latency 0, IRQ 35
            Memory at f2400000 (64-bit, non-prefetchable) [size=4M]
            Memory at e0000000 (64-bit, prefetchable) [size=256M]
            I/O ports at 5000 [size=64]
            Expansion ROM at <unassigned> [disabled]
            Capabilities: <access denied>
            Kernel driver in use: i915
            Kernel modules: i915
    01:00.0 VGA compatible controller: NVIDIA Corporation GF116M [GeForce GT 555M/635M] (rev a1) (prog-if 00 [VGA controller])
            Subsystem: Dell GeForce GT 555M
            Flags: bus master, fast devsel, latency 0, IRQ 39
            Memory at f0000000 (32-bit, non-prefetchable) [size=32M]
            Memory at c0000000 (64-bit, prefetchable) [size=256M]
            Memory at d0000000 (64-bit, prefetchable) [size=64M]
            I/O ports at 4000 [size=128]
            Expansion ROM at f2000000 [disabled] [size=512K]
            Capabilities: <access denied>
            Kernel driver in use: nouveau
            Kernel modules: nouveau
    Any help is much appreciated!

    Not sure I understand what you're trying to do/install and why based on your post. But since it sounds like you're trying to jump right into the middle of it and I "got started using c++ and opengl" without having any clue of anything a week or so ago, here's some random stuff that would have saved me a lot of time:
    - I don't think nouveau is so great for opengl - you're probably better of using the proprietary nvidia driver (which isn't great for development, but still, better / necessary). You seem to be on a laptop? Then you might need one of those bumblebee / optimus things which makes the situation a lot worse. I never had to use those things, but based on various random posts I came across while I was breaking & fixing my own opengl stuff, everything seems to be even more confusing & glitchy/breaky for the people who have to use it on TOP of the whole rest. You might waste a lot of time looking for errors in your code when there are none and it's really just that optimus/bumblebee thing messing stuff up. Which is TERRIBLE if you're just getting started, so you probably should think about using a different machine with a "real / normal" graphics card for this until you have seen "how opengl is supposed to behave" without this additional source of messy breakage.
    - New to c++ and confused with including / linking etc? If so: Try cmake (google "findpackage.cmake" for whatever you need, look at some cmakelist.txt's for programs similar to what you want to write) - that might get you started a lot faster while you're still not sure what you need/want and enables you to learn the boring stuff piece by piece when you really need it (as opposed to all in one giant boring heap before you can even try anything fun).
    - Kdevelop (or any IDE that has some support for cmake + GOOD syntax completion) also helps a LOT in the beginning.
    - For a start, you just need a modern opengl context. The rest  (glew, glut, opengl, etc) will probably somehow fall into place once you made your choice there and just start with that. SFML is probably the most comfortable to offer an opengl context for a beginner (SDL can be a bit stubborn if you're as clueless as I was. I also tried several others and they all seemed rather "brittle", leading to confusing results if you try to use them while not having much of a clue yet).
    - If you already know some C++/opengl, "those pesky :: 's" don't confuse you as much as they did me when I took a first look, and you don't necessarily want to try doing everything very lowlvl (write your own shader class etc) at first until you understand stuff, you can also try to use qt5's opengl context from the start (I'm switching to it now that I need a GUI in addition to raw opengl).
    - After you manage to draw some obsolete opengl stuff (glbegin() tutorials are everywhere) to confirm that you managed to create your gl context, it probably makes sense to forget about "glbegin" again right away and focus on ShaderProgram/VAO/VBO. It might make sense to to create + render a VAO manually first to get a better understanding of what they are/do... but on the other hand, you can also safe a lot of time if you use premade ShaderProgram/VAO/VBO classes (I think qt5 has all of those) instead right away.
    - At the point you manage to get a VAO rendered in your context, you probably won't rely on finding information specific to your framework (p.E.: linux/qt/nvidia stuff/sfml) so heavily any more and can look for general opengl / VAO / VBO / Open Shader Language stuff - which is all over the place and easy to find.
    - Limiting your googling to THE LAST YEAR when you look for opengl/c++ stuff might get you a lot less confusing / obsolete results.
    Good luck!
    Last edited by whoops (2015-02-17 09:07:16)

  • Java3d for OpenGL ES?

    Hallo,
    I'm planing to develop an application both for the desktop and the Android platform. Are there any plans to port java3d to OpenGL ES to use it on an Android phone?
    Are there any other high level APIs for the Android platform?

    There may be any number of subtle issues but this problem came down to one line in the source code that is produced when you choose OpenGL ES based iPhone OS project in XCode:
    #define USEDEPTHBUFFER 0
    Yes, it should have been obvious but I had a megabyte of source code I was trying to port, yada, yada.... Change the 0 to 1 and change:
    glClear(GLCOLOR_BUFFERBIT);
    to
    glClear(GLCOLOR_BUFFERBIT| GLDEPTH_BUFFERBIT);
    Now all the platonic solids are drawing and rotating just fine.

  • Is there another way of getting apps from the appstore without putting your credit card number in, ive heard about the itunes gift card thing can anybody just give me more info about that and how i can buy free things free things from the appstorepls help

    Is there another way of getting apps from the appstore without putting your credit card number in, ive heard about the itunes gift card thing can anybody just give me more info about that and how i can buy free things free things from the appstore...pls help as im only a teenager and have no credit credit and my parents dont trust me with theres and they dont care about the fact that you can set up a password/.... PLEASE SOMEONE HELP I WILL BE SO GRATEFUL... And i would really like to get the iphone 4 but if there is no way of etting apps without your credit number then i would have to get a samsung galaxy s3 maybe ...

    You can set up an Apple ID without a credit card.
    Create iTunes Store account without credit card - Support - Apple - http://support.apple.com/kb/ht2534

  • My homepage will load about 30% and then i'm dead in the water. when i close firefox it appears to close but when i try to reopen it tells me that it's already running. started with beta 6 i deleated and loaded ver 5 no change

    when i start firefox, everything starts normal then my homepage (igoogle) starts to load, gets to about 30% and stops. from there i can click on links or bookmark and a new tab will open but no page will load. i can't get anywhere. then when i close firefox it appears to close normally but when i try to reopen firefox i get a message that firefox is still running but not responding and the only way to shut it down is to reboot. when it first occured i was running beta 6 (since it became available, i also used beta 4 & beta 5) i then uninstalled beta 6 and downloaded and installed ver 5 same problem. i then did a system restore to a time before the problem.. no luck. i'm not sure what to try next. IE & chrome both work fine

    I'm in exactly the same boat - dead at blue screen, only option is to salvage using target mode.
    I don't currently have access to another Mac to do target mode. I was planning to buy a new Mac this fall anyway, though. 2 questions in preparation for that purchase:
    1) Is there anything I can do before buying a new Mac to make the salvage process more successful? ie, should I spend the time and money going to the genius bar to have them help me get from totally crippled to partially crippled? (As for expertise, I'm a proficient consumer-grade user, but Apple Support walked me through the safe-boot process, etc.)
    2) Is Apple going to provide 10.5 once it is released to people who buy a new Mac in these 6 weeks pre-release?
    Thanks for your help,
    Bailey

  • Firefox will open 4 or 5 tabs fine, but then will not load any further websites after those first 4 or 5, or allow you to refresh one of those first tabs -- including about:config and the addon page

    Firefox 5 worked fine. I installed Firefox 7, and when I ran it, tabs would just say "connecting to..." and hang. Restarting did not help. Websites open fine in IE and Chrome. Disabled all firewalls and antivirus, did not help. Uninstalled and reinstalled Firefox 5, everything worked fine again. This was using Vista 64-bit.
    Upgraded to Windows 7, uninstalled Firefox 5, installed Firefox 7, had same problem. Uninstalled Firefox 7 completely (including the profile information, I saved that information in another folder), restarted computer, and installed Firefox 7 using a completely clean profile. Did not install any add-ons, checked to make sure all plug-ins were up-to-date, and updated plugins.
    Now when I start Firefox, I can load 3 or 4 or 5 tabs fine -- after those first few tabs are open, I cannot open or refresh any other tabs -- including about:config and the add-on manager -- I have to restart Firefox. The hangup doesn't appear to be related to what websites I am attempting to open, but it looks like the number is the problem. I have run through all of the FAQ procedures, including changing the max number of network connections to 48, and the problem does not seem to go away.
    As a side note, I had this same problem when I tried to go from version 5 to version 6 as well. Version 5 is the most recent version that worked on my system.

    Can you try Aurora - download it from http://www.mozilla.org/en-US/firefox/channel/
    And let us know how it works.

  • Each time I open my computer, I get a full screen about Firefox and a toolbar that needs a yes or no answer. How do I get rid of this?

    I used to be able to press 1 button to get to my Google Home page, but now that I have downloaded the latest version of Mozilla Firefox, the "home page" is now information about Firefox and at the top of my computer, there is a question about security that needs me to say 'no' each time. I do not want to go through these steps every time I start my system.

    See these articles for some suggestions:
    *https://support.mozilla.org/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    *https://support.mozilla.org/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    *http://kb.mozillazine.org/Preferences_not_saved

  • I'm trying to update my itunes to 10.5.2 but it freezes on about 55% and i can't sync my iphone 4s untill i updates... PLEASE HELP!

    i'm trying to update my itunes to 10.5.2 but it freezes on about 55% and i can't sync my iphone 4s untill i updates... PLEASE HELP!

    Have you disabled your virus protection?

  • My iphone 4 is dead after I updated to ios 6.1.3 it doesnt turn on and doesnt respond to itunes also. Visited Apptronix service desk but they say there is nothing they can do about it, and they have charged INR 10640 for a new one. Is there anybody same..

    My iphone 4 is dead after I updated to ios 6.1.3 it doesnt turn on and doesnt respond to itunes also. Visited Apptronix service desk but they say there is nothing they can do about it, and they have charged INR 10640 for a new one. Is there anybody with similar problem....

    Hm... Try this----> http://support.apple.com/kb/ht1808 or http://osxdaily.com/2010/12/04/ipad-dfu-mode/

  • Best avenue to file complaints about bill and have them resolved

    I have been a customer since before 2005 and went with Ntelos in November, I called the night I was at Ntelos to ask Verizon what my contract buy outs were and I was given the prices. The representative tried to offer me whatever promotions she could offer (there wasn't many) and I declined service (there she should have took the initiative to ask about disconnecting). Since my bf opted to keep his number his phone disconnected automatically. I was told my Verizon phone would cycle off within 24 - 48 hours by the Ntelos rep. That was not the case so I called verizon to ensure my phone would disconnect and they told it would at the end of the billing cycle (december 20) which makes sense. I understand I would be responsible for the November - December. Anyways, December 20th rolls around and mind you I've called already to ensure it will take place and it doesn't. I phone in and come to find out the person who took my orders didn't complete the disconnection and now I have to wait until January 20th for it to cycle off and I can finally pay my bill! Well get this in my November - December bill they've charged me $51 for Monthly access (I have a work discount) and $49.99 for insurance and smartphone access for 12/21 - 1/20 and won't refund my $51 as they say that I called out on the phone. I turned the phone on and had voicemails that I think I checked around the time period that they are mentioning (1 day) and that data was used (1 day) I had no outbound calls after December 11th my birthday. Because there are no comments in my account (that I specifically asked them to make) my phone should have been disconnected when I had called in the first of December... really!?! The phone should have been turned off regardless and it was one day out of 30 seriously? I mean the phone has been turned off this whole time and literally only checked to make sure Verizon did their job. I CAN'T HELP IT YOU DON'T KNOW HOW TO DO YOUR JOB, I PUT THE EFFORT IN MULTIPLE TIMES TO LET YOU KNOW MY PHONE NEEDED TO BE DISCONNECTED YOU SHOULD HAVE KEPT RECORD OF IT!!! What really heats me up is that I was told a supervisor would give me a call back after they got out of a meeting and I have not rec'd a call back yet. VERIZON Reps/Supervisors your customers are the reason why you have get a paycheck, I suggest you start treating them a little better. You can't seriously tell me giving me back my $51 for service I DID NOT USE (except according to you for one day you can't even give me details about?) is really going to hurt your pockets. I've been jerked around by your reps for the last 2 months as one told me my contracts were up in January and I shouldn't' be charged for disconnection fees at all, she credited me those termination fees but they later got rejected (after she said her supervisor approved while I was on hold) and NO ONE HAD THE COURTESY TO NOTIFY ME!
    I've worked in customer service before and I'll be first to tell you that your reps are not trained very well and you have horrible ethic! You should not charge your customers for an error that was your fault; especially since it was your reps that I asked specifically to note my account and didn't (this isn't my first rodeo with you all, it should be standard procedure to give your reps time to comment before throwing them into another phone call). I'm not doing this for my health here, that $51 could buy diapers and baby food for my daughter and you are crazy if you think I'm going to let it slip through my fingers to line your pockets. I will keep escalating it until you do something about it and I don't care that you already gave me an inconvenience credit I deserve that and my $51 so don't try to justify it that way! This has been way more than an inconvenience, so don't worry I'll inconvenience you as well!
    >> Edited to comply with the Verizon Wireless Terms of Service <<
    Message was edited by: Verizon Moderator

    With my new provider I am only using the chat function to settle anything with them so I can save the conversations I've had with them (not that I've had any issues thus far). It should be standard procedure for them to comment your account while they are on the phone with you before hanging up. I should have been annoying and asked them to read back their comments (hindsight ugh!).  I'm sorry that you are having to deal with this as well, just know you are not the only one receiving horrible customer service. I'll share with you what I wrote on their Facebook page. They really should take some accountability for their actions and have better follow up on resolving issues (or train their representatives better). I can't stand having to talk to another person time and time again explaining the same thing i just explained to 3 people before them.
    Almost immediately, I received some attention after posting this:
    Dear Verizon,
    I am appalled, especially after reading your credo, that you are refusing to credit back money that is owed to me because your representatives didn't take the necessary time that they should have to comment (after I specifically asked) in my account after I diligently called in multiple times to ensure that my disconnection took place when it was scheduled to and was told that it would (an ongoing issue since the beginning of December). Come to find out that the representatives I spoke with prior to December 20th didn't do their jobs correctly by not entering the disconnection orders in. "Verizon Credo- a set of principles that describes our culture of integrity, respect, performance excellence and accountability. The Credo is a blueprint that directs us to live up to the highest standards possible when serving our customers, shareowners, communities and each other." Let me school you on something here because it appears that you just put that mission statement up on your website 'cause it sounds good, you certainly do not follow through! Accountability: Noun - the quality or state of being accountable; especially an obligation or willingness to accept responsibility or to account for one's actions (i.e. public officials lacking accountability). It doesn't matter that you cannot find any proof in my statements it doesn't change the fact that it happened and I am not a liar. I seriously wouldn't exhaust this must effort had I been lying. I'll take this a step further and reference your statement "we focus outward on the customer, not inward. We make it easy for customers to do business with us, by listening, anticipating and responding to their needs." First of all, when I made my initial call to you all asking what my contract buyout prices were and your rep tried to offer me promotions (or lack there of) to keep me as a customer and I declined she should have "anticipated" my need for disconnection. I shouldn't have had to jump through so many hoops to get my service disconnected from you all and pay my final bill. It's not my fault that your representatives weren't trained well enough to correctly put through disconnection orders. Based on my interactions with your customer service I could see where people would disconnect their services regularly!!!!! You are not making it easy for me to severe ties with you and conduct BUSINESS and you are not responding to my NEEDS. I think you forget that I could be a potential customer in the future. If it's one thing I learned from my Communications Degree is that negative feedback will reach more consumers vs. positive feedback of a company and how they handle their business. I have 1,000 plus facebook friends and twitter followers so I'm pretty sure my negative experience could reach quite a few people! You say you have integrity? How is it moral uprightness to charge me for a whole month of service (regardless if the phone was turned on once) for a billing period that shouldn't have existed if your customer service reps did their job correctly? I suggest that you all take a good look at the way you are treating your current customers because we are the reason you get a paycheck! You should make your customers a priority especially if they've been with you for 10 + years regardless if they are disconnecting service or not! How about following through, taking ACCOUNTABILITY and having that supervisor representative call me back from my phone conversation last night like I am a priority (how every customer should be treated) and helping me get the money that I am owed, regardless if the phone had been turned on for a short period (your rep couldn't even tell me what numbers I supposedly called - exactly the phone has been off since December 20th if not before unless turned on to confirm disconnection)! Oh but let me guess did you all forget to put that in my account comments as well? Probably like there is no mention of the formal complaint I filed against some of your representatives that there was supposedly no ticket number for. I thought I was going to regret leaving Verizon for another provider but it turns out that I only wish I would have left sooner and actually gone to a authorized dealer/ Verizon Store to process my disconnection because your customer service line is a joke!

  • We have always used one iTunes account and I want to crate a new account for my daughter.  What is the best way to go about this and will she need to download free apps again?

    We have always used one iTunes account and I want to crate a new account for my daughter.  What is the best way to go about this and will she need to download free apps again?

    Not going to happen the way you want it to.
    When you add a gift card balance to the Apple ID, it's available for the Apple ID.
    Probably best to create unique Apple ID's for each... this will also make things easier in the future as purchases are eternally tied to the Apple ID they were purchased with.

Maybe you are looking for