Can someone tell me how to change obj file in the applet

Thanks in advance.
I have try to use the ObjLoad example in the java3d demo to
change the obj file.But I fail to do this.
I had use twe applet,one to change name,and then refresh the other
frame to try to relod th obj file. but
java.lang.NullPointerException
at ObjLoad.init(ObjLoad.java:150)
at sun.applet.AppletPanel.run(AppletPanel.java:348)
at java.lang.Thread.run(Thread.java:536)
can you help me?
thanks

Sun's Java3d FlyThrough Demo & Java3d Scenegraph Editor
allow you to load mutiple 3d files (sequencially) including VRML
files with the Sun VRML Loaders at run-time
-- and the Java Source Code is free --- ( see below )
First, try a Web Demo of the "Appearance Explorer" :
"Appearance Explorer" Java3d Web Applet, Loads multiple ".obj"
http://web3dbooks.com/java3d/jumpstart/AppearanceExplorer.html
- click on "Data"
- click on "Obj File: Galleon" -- or -- "Obj File: Beethoven"
- rinse, rather, repeat.
|
http://web3dbooks.com/java3d/jumpstart/Java3DExplorer.html
http://web3dbooks.com/java3d/jumpstart/J3DJumpStart.zip
| ^-- free source code
|
http://www.frontiernet.net/~imaging/games_with_java3d.html
| Sun's Java3d Scenegraph Editor showing a Nasa VRML model
| --------------------------------------------------------
|
| uses the Sun VRML Loaders, source code available and is free.
|
| [ at this url: ] http://java3d.netbeans.org/j3deditor_intro.html
|
http://www.frontiernet.net/~imaging/terrain_rendering.html#Scenegraph_Editor
http://www.frontiernet.net/~imaging/terrain_rendering.html
Selman wrote a Java3d book that was well received
and has a Swingtest.java applet and application that
allows you to load objects dynamically,
ie. "change" the viewed object when it is running by
allowing the user to select "sphere" or "cube" from
menu lists ( in this case it's not just displaying
Jav3d primative objects, but it has the core functionality
of deleteing and adding nodes in the scene graph that you
are seeking, and at that point the rest is left as
exercise to the student. The ObjLoad.java in Sun's Demos
directory has the code to load ".obj" files, so you have
all the tools you need.
| Picking of VRML objects with your mouse is demonstrated
| in a new book, Java 3D Programming, by Daniel Selman
| ( shown on the left ).
|
| The source code is avaible for free.
|
| [ here: ] http://www.manning.com/selman/selman_source.zip
|
| This new book uses the old, reliable Sun VRML Loaders for Java3d.
|
| The program reads a 3d scene as a simple VRML text file,
| and displays the Java3d Scene Graph ( which is interactive,
| you can expand and collapse the branches of the scenegraph
| and examine the contents of the nodes ), it renders the
| 3d scene, and when you click on an object it tells you
| what you clicked on.
|
| You can see ( and download ) the Java Source code of
| the operative file: VrmlPickingTest.java
|
| The publisher's site has more informatation on the book.
|
http://www.frontiernet.net/~imaging/games_with_java3d.html
http://www.frontiernet.net/~imaging/sourcecode/VrmlPickingTest.java
The Prentice-Hall books by Aaron Walsh are false & fraudulent
in their claims to present the most current methods, as a part
of the "Couch-Beiter Flame War" and fraud involving Sandy Ressler
at the NIST. Prentice-Hall, Yumetech.com and Aaron Walsh have
misrepresented and disparaged the old & reliable Sun VRML Loaders
in favor of the "new" Yumetech.com Loader, and the web demo above
__ DOES NOT __ load Web3d.org's __ VRML __ files, only the less
capable ".obj" files ... so the "Web3d" series of books from Prentice-Hall
does not show the loading of ___ Web3d.org 's ___ VRML __ files
because Sun's VRML Loaders were the best ones, and the Yumetech.com
folks didn't want anyone using those, and started the "Couch-Beitler Flame War"
to disparage, falsely & fraudulently misrepresent the facts and knowingly
published false and misleading "disinformation" in the
unreliable Prentice-Hall / Pearson Ed books, harming our community.
The Sun VRML Loaders are used by __ Nasa, __
the NSF supported Virtual Chemistry Lab ( "Lab3d" ),
me, and others simply choosing the "what works best",
and by people using Sun's Java3d FlyThrough & Java Scenegraph Editor.
symsan wrote:
|
| Thanks a lot,but can you give some code
| about to change the Obj file or vrml file,
| when the user in the browser to choose
| the file or input to the textField ?
|
I misunderstood the original question ( it was too terse ).
I interpreted the question has how to change the loaded
objects --- between successive runs of the program ---
and not as you intended -- dynamicall while running
the program program without quiting & restarting.
In a "Java3d" forum I'm not going to wander into
how basic ( non-Java3d) 2d commonents such as TextFields
are programmed.
The original Vrml97Player.java file that came with
Sun VRML Loaders also implemented the functionality
of loading mulitiple files ( sequentically during one run )
and I have worked with that and similar things with
the Shout3d.com engine and my own 3d Java engines.
-- Paul, Java Developer & Web Animator
Imaging the Imagined: Modeling with Math & a Keyboard

Similar Messages

  • When I use email through firefox, the reply cursor appears at the bottom of the sender's message instead of the top. I hate this! Please can someone tell me how to change it back?

    Since upgrading to 4.0, my email settings have been changed so that the reply cursor appears at the bottom of the sender's message instead of the top. I hate this change - please can someone tell me how to change it back?

    This is a carrier feature.
    Contact your carrier

  • Can someone tell me how to access Illustrator CC on the cloud. I currently have CC 2014 but I do not want to use it since it is extremely slow for me.

    Can someone tell me how to access Illustrator CC on the cloud. I currently have CC 2014 but I do not want to use it since it is extremely slow for me.

    The Cloud is a delivery process... you still install the program(s) on your computer, and then pay a subscription fee to use the program(s)
    Cloud Plans https://creative.adobe.com/plans
    -and subscription terms http://www.adobe.com/misc/subscription_terms.html
    -Cloud status check 30-or-99 days https://forums.adobe.com/thread/1549838
    OR buy the 3 year old version which is a one time payment Creative Suite 6

  • Can someone tell me how to create accounting entries with the account status as error

    Hi,
    Can someone tell me how to create accounting entries with the
    account status as error?
    Thanks!!
    Danny

    It's call fixed/static background, and it is NOT directly support by iweb, you will need post processing either in html or javascript.
    Varkgirl (you need to search the previous forum) and I did it since iweb1:
    try Safari, and scroll: http://www.geocities.com/[email protected]/Links.html
    invisible link? roddy, fishing for info again?

  • Having trouble figuring out how to forward text messages.  Can someone tell me how to do that?  Where the forward button.  You used to be able to hit forward and put radio button on all the messages.  The screen looks blank to me.

    In the new iOS7, Having trouble figuring out how to forward text messages.  Can someone tell me how to do that?  Where the forward button.  You used to be able to hit forward and put radio button on all the messages.  The screen looks blank to me.

    In the new iOS7, Having trouble figuring out how to forward text messages.  Can someone tell me how to do that?  Where the forward button.  You used to be able to hit forward and put radio button on all the messages.  The screen looks blank to me.

  • Hi everyone .Can someone tell me how to change my calendar times from pacific time zone to australian western time permanently,it keeps reverting back to pacific

    Hi everyone Can someone tell me how I can reset my icloud calender  from pacific time zone to australian western ,it keeps reverting back to pacific all the time
    cheers 

    Settings>General>International>Region Format

  • I bought a used iphone can someone tell me how to change the apple id on phone please. Thank You!

    I bought a used iphone yesterday and it has a apple id on it and I need to know how to change that apple id over to my id. I do not have the password for the previous owner. Can someone please help me with this? Thank you!

    Removing data is all or none, and "forgetting" to do so before selling your phone is no "small thing" - it's like selling your purse with your wallet and credit cards still inside.
    So I am afraid you were not very helpful!
    Every day there are posts from people with obviosly found or stolen iPhones who mysteriouly "forget" their passcode (or forget to obtian it from the prior owner) and who somehow don't have access to the computer the phone was synced with, looking for help to gain access to the phone.  I'm not interested in helping others boost iPhones.

  • Can someone tell me how to change my iCloud password?

    I'm having trouble getting iCloud to work and it tells me I'm not sendingh the right password.  I can't find a way to change my password.  I also have been unable to download my music library to my new iPhone.

    Welcome to the Apple community.
    Try
    iForgot.com

  • Can someone tell me how to get a div to the right of current div? See site

    I'm tryin so hard to do an all CSS site instead of using tables. Very tough! Can someone look at http://www.duenorthdesign.com/pcm and tell me:
    1) How to get a new div to line up to the right of the current (light green) one. Currently it is below it. I"ve tried floating the left one left so the new div would go to the right. Strange results! Tried floating it to the right.... UGH. I've never felt so stupid in my life!
    2) Also, why does my content run outside of my div (the light green article)? Shouldn't the div expand accordingly?
    Thanks so much, you are all so helpful!

    Both your questions can be answered by amending your css selector from this :
    .twoColFixLtHdr #container #mainContent #feature2 {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 12px;
        line-height: 20px;
        height: 300px;
        width: 300px;
        background-color: rgba(240,244,230,1);
        margin-top: 10px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
        padding: 5px;
    To this:
    .twoColFixLtHdr #container #mainContent #feature2 {
        font-family: Verdana, Geneva, sans-serif;
        font-size: 12px;
        line-height: 20px;
        width: 300px;
        float: left;
        background-color: rgba(240,244,230,1);
        margin-top: 10px;
        padding: 5px;
    and this one:
    .twoColFixLtHdr #mainContent {
        padding: 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
        background-color: #FFF;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 203px;
    to this:
    .twoColFixLtHdr #mainContent {
        padding: 20px; /* remember that padding is the space inside the div box and margin is the space outside the div box */
        background-color: #FFF;
        overflow: hidden;
    Then add this one to your css styles:
    #feature3 {
    float: left;
    width: 300px;
    margin-left: 20px;
    display: inline;

  • Photo stream is showing up in iphoto recent but not web and I am not able to join the shared photo stream.  all of my software is updated.  can someone tell me how to get photo stream in the web source list? thanks!

    Can someone help me get Photo Stream to appear under Web in the iPhoto Source List? I have updated all my software.  iPhoto 11, Mac OS X 10.7.5  All of my preferences are checked.  I am able to see the shared Photo Stream on my iPad, but not my Mac.  The Mac iPhoto photos from the shared photo stream are appearing in the Photo Stream (under Recent), but I thought they would appear as a shared Photo Stream in its own file/album (like on the iPad and iPhone)  - labeled with the shared Photo Stream's title.  Is this supposed to happen on the Mac?  Thanks!

    So you are saying for it to do what i want: shared photo stream to appear in web then i need to upgrade.
    Yes
    Does that mean i purchase the new software an it's not just an update?
    Yes
    Your profile indicates your running 10.7.5.  For shared Photo Streams you need to be running 10.8.2 or later: The following is from  iCloud: Photo Stream FAQ
    What do I need to use Photo Stream?
    To use Photo Stream, including Shared Photo Streams, you need an iCloud account, compatible devices, and up-to-date software:  iPhone, iPad, or iPod touch with iOS 6.0 or later Mac with OS X Mountain Lion v10.8.2 or later and iPhoto 9.4 or Aperture 3.4 or later
    So you'll need to upgrade to Mt. Lion.
    iPhoto requirements are free updates for iPhoto '11
    LN

  • I'm trying to change my ICloud e-mail to match the one associated with the Apple ID? Can someone tell me how to do this? Seems like the phone won't accept the new one, the message states "you already have acct associated....."  (a given!!)  I need help !!

    I'm trying to change my ICloud e-mail to match the one associated with the Apple ID? Can someone tell me how to do this? Seems like the phone won't accept the new one, the message states "you already have acct associated....."  (a given!!)  I need help !!

    You made a purchase and exhausted the credit on your card before it processed. All purchases are final. Contact iTunes Store support. You need to settle up before you can purchase or download anything else.

  • I have just changed my ISP and they have informed me that i have to change the IP address on my time capsule. Please can someone tell me how todo this? Thanks

    I have just changed my ISP and they have informed me that i have to change the IP address on my time capsule. Please can someone tell me how todo this? Thanks

    This should really be unnecessary but anyway..
    If you mean the internal IP of the TC, the it can be changed by changing the dhcp settings.. which is weird.
    It looks a bit different in the v6 utility but is easy to do..
    See the DHCP beginning address is split into sections.. change the front section from 10.0 to 192.168
    Then update the TC.. then you will need to change everything on the network as the IP will need to change.. I recommend you simply turn everything off and then on again in correct order.. modem.. TC.. clients. 2min gap.

  • Please help! I am currently using iPhone 5 and changing to iphone 6 in sometime. I have taken backup of my photos, videos, contacts, notes and whatsapp. The only thing that remains is my iMessage. Can someone tell me how to backup and restore my iMes

    I am currently using iPhone 5 and changing to iphone 6 in sometime. I have taken backup of my photos, videos, contacts, notes and whatsapp. The only thing that remains is my iMessage. Can someone tell me how to backup and restore my iMessages?

    iMessages are backed up in the normal backup of your phone so it will be restored when you restore the backup.

  • My MAC did a software update tonight and now my mail wont load, it is teeling me I need to update my mail software, can someone tell me how to do this please?e

    My mac updated softwar tonight and now I have no mal, can someone tell me how to udate my mail sofware please ?

    I assume you're talking about Security Update 2012-004 for Snow Leopard? Have you by any changed moved your Mail application out of the Applications folder? This will cause updates to fail to work - Apple's included applications should always be left where Apple installed them.
    If this is the case, move it back, then downlad the update from Security Update 2012-004 (Snow Leopard) and run it again.

  • Please can someone tell me how to save a MP3 file from my email on my iPad so I can put in on Facebook? Thankyou

    Please can someone tell me how to save a MP3 file from my email on my iPad so I can put it on Faceboo? I use hotmail and please tell me step by step as I am not a tech guru lol. Thankyou

    Hi jscher200,
    Thank you for your reply, sorry for the VERY late late response, but I have just figured out how to control this separate 'panel'. I find it really useful for monitoring Google Analytics in as it can just sit there running. It does have its limitations, as it's a limited size (you can't expand it to full screen view), so you can only ever see a vertical section of a website and need to scroll to look to the right or left, but I have the live view of people accessing my website running on there and if the numbers start racking up at any time, I can scroll to look and see what pages they are accessing, where they've been referred from, etc.
    To get it to work, you save a website address in the Bookmarks Toolbar and when you can see it sitting on the toolbar at the top of the screen with its little icon, right click on it then click 'properties', then tick the box 'Load this bookmark in the sidebar'. The next time you click on this bookmark to open the website, it will load in this sidebar, which looks like a separate 'window' but is immovable. You can only have one sidebar application running at a time, but can change it by right clicking on the bookmark you want to load in there and it will then change to that one next time you click on that bookmark.
    I hope this might be useful to others, as I asked for help with this on loads of forums and not one person knew that this existed - even really skilled techies!

Maybe you are looking for

  • NetBoot across subnets with a bootpd relay

    Hello Apple Community! I've got 4 subnets at my school, each with various Macs around campus.  I have a Mavericks server on each subnet currently, each with their own NetBoot images.  It's a pain to keep everything updated.  I can get a single client

  • MBAM 1.0 and Windows 8.1

    Hello, Is it possible and supported to install MBAM 1.0 on Windows 8.1 Enterprise? Thanks, Nick.

  • 2004 eMac won't start in 10.3.9, is there a way to get 10.5 onto it from DL DVD-R?

    Hi folks. I'm trying to set up this ancient eMac for my mom. It had been running 10.3 or something, but I seem tyo recall it being wierd in that I couldn't get Safari (of all things) to run on it. So the other day, I put it in target disk mode and us

  • EL37 showing unreversed & archived billing document related MR??

    Dear Friends & Gurus, We are in the process of archiving billing & print documents. During the testing, it was realized that T. code EL37 (Reverse Meter reading) showed an archived billing document which was never reversed. The understanding is that

  • Essbase adapter Not found

    I just setup a new application and am trying to add the Essbase adapter to it. I goto file -> Import but ES11x-G4-E.xml is nowhere to be found. On a slightly tangential note, I am setting up this application because I want to load data from EBS to Hy


HashFlare