How to change a obj file  ?

TransformGroup objTrans = new TransformGroup();
objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
objScale.addChild(objTrans);

BranchGroup b = new  objLoad("cig.obj");
objTrans.addChild(b);

if i want to change a file,do i have to “objTrans.Remove(b)”
and I objTrans.addChild©; (c-- the other )
but i fail.
can you help me
Thanks in advance

why do you fail? capabilities?

If so, just set the capabilities it complains about

Multiple objects can be loaded sequencially and by user choice by

– deleting the old object from the scenegraph ( if that is your intent )
– adding the new object to a node in the scenegraph

and this functionality is demonstrated by free demos with free sourcecode
including Sun’s Java3d FlyThrough & Java3d Scenegraph Editor ( see below )

and I’ve done the add / remove trick for my Java3d Chess Player
where adding and deleting of the moved objects is required to move
the chess piece from the “chess board domain” to the “hand graping domain”
so when the hand holding the lifted piece rotates & translates, the
object grabbed remains “inhand” and properly moved.

A common error is not setting the permissions in the nodes properly
to allow for the action you require: read, add, delete, pick, or whatever.

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

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

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 FlameWar” 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,
and people interested in helping the Deaf Children by making

Java3d display NSF Developed Finger Spelling for the Deaf in a browser
with the Sun VRML Loaders

The “Couch-Beitler Flame War” was discussed recently here:

Java3d / Loaders: FullSail OpenFlight, Sun’s VRML Loader, Yumetech.com flame war & loader

http://www.java-gaming.org/cgi-bin/JGOForums/YaBB.cgi?board=3D;action=display;num=1053633092

( reply #6 )—^

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

hm… Paul you are so funny … last paragraph says “and my own 3d Java engines” hm… so you mean you have actually wrote line of Java code in your lifetime? ;D

Yes.

Clinicial Gait Analysis model with Motion Capture Data

| A 3d interactive Java program :
| Web Page Interactive Human Animation Modelling
|
http://www.frontiernet.net/~imaging/gait_model.html

Yes.

And since this is “javagamming.org

A Java Game:

Dart’s Game: VRML & Java

http://www.frontiernet.net/~imaging/avatar_builder.html

The above uses the Shout3d.com engine.

And I wrote Java “extensions” to it:

[ ] Box.class 02-Oct-2002 22:14 3k
[ ] Cone.class 02-Oct-2002 22:14 6k
[ ] Cylinder.class 02-Oct-2002 22:15 4k
[ ] Dial.class 02-Oct-2002 22:15 6k
[ ] Humanoid.class 02-Oct-2002 22:15 5k
[ ] Influencer.class 02-Oct-2002 22:15 6k
[ ] Joint.class 02-Oct-2002 22:15 5k
[ ] Math2.class 02-Oct-2002 22:15 1k
[ ] MovableObject.class 02-Oct-2002 22:15 4k
[ ] NurbsSurface.class 02-Oct-2002 22:15 7k
[ ] Pyramid.class 02-Oct-2002 22:15 3k
[ ] Segment.class 02-Oct-2002 22:15 3k
[ ] ShapeFaceted.class 02-Oct-2002 22:15 3k
[ ] Sphere.class 02-Oct-2002 22:15 4k
[ ] Vec.class 02-Oct-2002 22:15 4k
[ ] WorldInfo.class 02-Oct-2002 22:15 1k
[ ] influencers.class 02-Oct-2002 22:15 2k
|
http://www.frontiernet.net/~imaging/shout3d/custom_nodes/

The extensions also facilitate the “seamless mesh” avatar
and the Chess Player that has moving Shoulder, Elbow, and Finger
Joints that move in coordination to reach for, grasp, lift, and move
chess pieces on the Chess Board in response to your mouse clicks.

It’s not a trivial Java program.

Finger Spelling for the Deaf: VRML + Java3d + JMF --> video playback

home.rochester.rr.com/javajava/fingerspelling_nsf_jmf.html

I have done what the liar and fraudster Justin Couch of Yumetech.com
said could not be done:

animate Web3d.org’s VRML based H-Anim Avatars in a browser

with Sun’s VRML Loaders

If you’re not familiar with the “Couch-Beitler Flame War”
that topic came up in this forum under:

Java3d / “OpenFlight Loader” ( from Full Sail / Shawn Kendall )

http://www.java-gaming.org/cgi-bin/JGOForums/YaBB.cgi?board=3D;action=display;num=1053633092

NSF FInger Spelling Avatar: The Yumetech.com Fraudsters lied about this:

http://www.frontiernet.net/~imaging/vrml_loaders_working.html
|
http://www.frontiernet.net/~imaging/ani_finger_spelling_java3d.gif
|
http://www.frontiernet.net/~imaging/Avatars/asl_jen_az.wrl
|
http://www.frontiernet.net/~imaging/shout3d/models/H-Anim/asl_H-Anim_x3d.wrl
|
http://home.rochester.rr.com/javajava/media/finger_spelling_cvid.mov

The Finger Spelling Animations were developed with

NSF Funding and NIST lies and criminal fraud

have encouraged the Yumetech.com fraudsters to convince newbies
in American Univerisities and the Navy PGS they are too stupid
to do that simple Java programming because the liar Justin Couch
has said – speaking on behalf of Yumetech.com – has convinced them

as Justin Couch has ( falsely and fraudulently ) claimed :

| > | > [ quoting me: ] | > | > ... I have used [ [b]Sun's VRML Loaders [/b] ] ( very happily ) since January, 2000 ... | > | > Java3d & H-Anim VRML with PROTOs, Interpolators, Sensors, Gestures .... | | [ Justin Couch of Yumetech.com replies : ] | | | Hey, [b] what sort of __ crack __ are you on ?[/b] | | | That codebase didn't even support protos let alone H-anim. | | Scripting support was barely functional and the event model | was nowhere near spec compliant. | | [b] You're bullshitting again. [/b] ... | | [b] BULLSHIT. [/b] You are nothing but a [b] whinger [/b] ... | | Justin Couch | | http://www.yumetech.com | | Java 3D FAQ Maintainer | | http://www.j3d.org | http://archives.java.sun.com/cgi-bin/wa?A2=ind0106&L=java3d-interest&P=17838

Are you smart enough to realize that Justin Couch’s statements are not true ?

If so, are you smart enough to realize Justin Couch’s false statements

harm our community ?

I’m guessing you’re posting off-topic posts because one of the Yumetech.com fraudsters has promised you a reward ?

Favorable links from the j3d.org “FAQ” they control ?

The fraudsterAaron Walsh is writing another bogus Prentice-Hall “Web3d”
book and he will give you credit for “inventing” or writing some code
that you didn’t write if you be their attack dog ?

Please explain, why are you posting things that have nothing to with:

Java Gaming @
JavaGaming.org ?

Please note that my post that you replied to:

I answered the question that was asked,
and supplied links to free source and a web demo
specific to the question and I replied with information
about Java programs I had written that were relevant to the original post.

Even Justin Couch has realized that his lies did nothing but discredit himself
and establish Yumetech.com as dishonest, discredited fraudsters of disrepute.

In his prime Justin Couch had the balls to lie for himself,

now he just sends these clueless children to do his dirty work.

Before you could at least admire Justin Couch for his boldness.

And you want to destroy whatever credability you had … why ?

Do you ever post … you know … about Java Gaming ?

– Paul, Java Developer & Web Animator

Imaging the Imagined: Modeling with Math & a Keyboard

ok…time to be fair…sorry Paul for my comment about you ever writing line of code… I can see from your post that you have actually written “extensions” to 17 classes !!!..wow man that beat hell outta me …Can I ask you how did do it? … That is totally breath-taking there is no way anybody can compare here to that achievement … good work keep it up … and PLEASE - would you also wrote extensions to VRML97 loader so it can handle all functions which are missing there now …you know it is 2003 …even $$$soft comes up with update from time to time …

Created with VRML & the Sun VRML Loaders and my programs :

http://www.frontiernet.net/~imaging/ani_finger_spelling_java3d.gif

NSF Grants to “educational” institutions funded the development of the
Finger Spelling for the Deaf animation you see above
( if your browser is set to show “gif” animations and images served
from other servers ) and the fraudsters Justin Couch,
Aaron Walsh, and Sandy Ressler ( who works at the NIST ! )
have perpetuated the false and fraudulent claims the simple task of

Animating Web3d.org’s VRML / H-Anim Avatar is impossible

with the Sun VRML Loaders and that any claiming to have
accomplished this simple task must be on Crack Cocaine because the
“Brilliant Australian” tried & failed and has convinced the
NSF & NIST idiots Americans are too stupid to do it …

poor little idiots have to wait for … Justin Couch’s Yumetech.com
to give us their “new” Yumetech.com loaders

and it’s accpetable to some for Prentice-Hall to print false & fraudulent
claims without correcting their errors after the errors have been reported
to them.

The criminal fraudsters at the NIST should be fired and jailed.

The NIST fraudsters have made it clear that they think that because
President Clinton lied and committed crimes that

all Federals are now entitled to lie and commit crimes

but there are some people that are honest, and will not accept
fraud and criminal corruption in the federal goverment as the new norm,
the new Standard at the National Institute Of Standards, the End of Justice,
the End of Science.

There are decent people in America, damn few in the Federal Goverment.

This goes in cycles.

The Oval Office has been cleaned out,
the Democrats have lost control of the House, Senate, & Supreme Court.

Honest Citizens can make the government serve the people again.

First we have to establish: Lies, fraud, crimes are wrong and unacceptable.

Sun’s VRML Loaders Working : NSF Fingerspelling & more

http://www.frontiernet.net/~imaging/vrml_loaders_working.html

You’re going to fair ?

I don’t really expect you to honest or fair, but since you’ve made that claim:

— and I answered your question ----

Please answer of few of mine, the ones already asked :

Are you smart enough to realize that Justin Couch’s statements are not true ?

If so, are you smart enough to realize Justin Couch’s false statements harm our community ?

I’m guessing you’re posting off-topic posts because one of the Yumetech.com fraudsters has promised you a reward ?

Favorable links from the j3d.org “FAQ” they control ?

The fraudsterAaron Walsh is writing another bogus Prentice-Hall “Web3d”
book and he will give you credit for “inventing” or writing some code
that you didn’t write if you be their attack dog ?

Please explain, why are you posting things that have nothing to with:

Java Gaming @
JavaGaming.org ?

And you want to destroy whatever credability you had … why ?

Do you ever post … you know … about Java Gaming ?

– Paul, Java Developer & Web Animator

Imaging the Imagined: Modeling with Math & a Keyboard

first of all let me tell you this … You have no credibility whatsoever to make any comments on behalf “our community” since you are not part of it - folk in that community can reason and you have failed that requirement. And to answer your questions "Are you smart enough to realize that Justin Couch’s statements are not true ? " he is right …next …"If so, are you smart enough to realize Justin Couch’s false statements harm our community ? " this one is bizzare really …since he is actaully doing something we all can use - have never seen anything from you - so what is your point … next: "I’m guessing you’re posting off-topic posts because one of the Yumetech.com fraudsters has promised you a reward ? " nope I can only read his code and see he is helping - you are just talking - and actaully I strongly dissagree with his 'only ROAM can work to make terraing rendering - quad’s is my approach - but that might be over your head - sorry … next : "Favorable links from the j3d.org “FAQ” they control ? " well…most of them dont work at all so what is your point? …But I have never seen him smashing any dirt at the rest of the mailing list - so that makes only you odd entity…BTW this forum is called javagaming but since you are really slow learner - let me remind you all technical posting here about LWJGL - Java3D and GL4Java … so try to stick with this on your mind…ok? … we all know about VRML …we all know how to load it and if you wanna contribute tell us how to load vrml human and make bone and skin proper animation - since you are VRML_JAVA animator you should have under your finger … focus Paul …no yayatech…no politics… no mentioning of other folk… and then you can be welcome…

Argh, no, don’t tempt him by replying… hopefully we’ll have filter functionality soon.

Pathetic Pathological Liars of the “Couch-Beitler Flame War”
should instead be honest & post helpful, on-topic replies.

NSF, NIST, US Naval PGS, Web3d.org VRML animations work

in a browser with the Sun VRML Loaders.

http://www.frontiernet.net/~imaging/vrml_loaders_working.html

VRML + Sun’s VRML Loaders --> “.mov” video --( JMF )–> video replay

home.rochester.rr.com/javajava/fingerspelling_nsf_jmf.html

http://home.rochester.rr.com/javajava/media/finger_spelling_cvid.mov

http://www.frontiernet.net/~imaging/ani_finger_spelling_java3d.gif

http://www.frontiernet.net/~imaging/shout3d/models/H-Anim/asl_H-Anim_x3d .wrl

Finger Spelling Animation with Java & Shout3d

http://www.frontiernet.net/~imaging/fingerspelling.html

^-- 3d animation of VRML with Shout3d.com with same VRML files
used to create the ".mov"ie that was created with Java3d w. Sun’s Loaders.
http://www.frontiernet.net/~imaging/shout3d/models/H-Anim/asl_H-Anim_x3d.wrl

| Sun’s Java3d Scenegraph Editor showing a Nasa VRML model
|
| uses the Sun VRML Loaders, source code available and is free.
|
http://java3d.netbeans.org/j3deditor_intro.html
|
http://www.frontiernet.net/~imaging/terrain_rendering.html

Sun’s Java3d FlyThrough uses Sun’s VRML Loaders, not Yumetech.com’s
Sun’s Java3d Scenegraph Editor uses Sun’s VRML Loaders, not Yumetech.com’s

Some people use Sun’s software: Me & many others.

Sun’s Java3d FlyThrough & Java3d Scenegraph Editor are free, with free source code ( zero cost )

Nasa uses the Sun VRML Loaders.

Pathetic Pathologoical Liars apparently prefer Yumetech.com’s.

Liars, Fraudsteters, con-artists, unethical criminals : The Yumetech.com Gang.

I do not seek your approval.
I do not seek to join your club.
I do not want to be attacked by your club.

I do web animations with VRML & Java & the Sun VRML Loaders.

[b]

You don’t like the Sun VRML Loaders ?

You don’t like software from Sun ?

You don’t like the NSF Funded Finger Spelling Avatars ?

You don’t like using Java3d to help Deaf Children ?

Why do you want to hurt Deaf Children ?
[/b]

– Paul, Java Developer & Web Animator

Imaging the Imagined: Modeling with Math & a Keyboard

:smiley: This is hilarious.

                     ~ ~ ~ ~    Marvin   ! ! !    ~ ~ ~ ~   

[tr][td]

We can rebuild you,

We have the technology …

We can make you better than you were before.

               ...   better,  faster,  stronger   ...

… with Java3d & the Sun VRML Loaders !

[/td][td]

http://www3.sympatico.ca/scott.palmer/marvin_head.jpg

[/td][td]

http://www.cis.upenn.edu/~beitler/hanim/sm_marvin_001.jpg

[/td][/tr]

[quote] |
| This is hilarious. :smiley:
|

[/quote]
Marvin … the VRML H-Anim ( Human Animation ) Avatar Model

can you give you your heart & soul, body, arms & cute little legs & feet back.

We can let you Walk again, Run Again, Jump & Stand …

These are the basic "Gesture" Animations of Web3d.org's H-Anim Avatars.

Made possible with ...    [b] Sun's VRML Loaders [/b]

| MARVIN
|
| H-Anim 1.1 Compliant Humanoid Model
|
| CLICK TO VIEW H-Anim 1.1 Author: Matt Beitler
|
| H-Anim 1.1 Email: beitler@graphics.cis.upenn.edu or beitler@acm.org
| H-Anim 1.1 Compliant Modification Date: July 15, 1998
| H-Anim 1.0 Creation Date: December 3, 1997
| H-Anim Model Copyright Details: Copyright © 1997-2001 Matthew T. Beitler
| H-Anim 1.1 Scene Graph Usage Restrictions: Released under GNU General Public License
|
| URL:
| http://www.cis.upenn.edu/~beitler/H-Anim/Models/H-Anim1.1/marvin
|
http://www.cis.upenn.edu/~beitler/H-Anim/Models/H-Anim1.1/marvin/marvin.wrl

|
http://www.cis.upenn.edu/~beitler/H-Anim/Models/H-Anim1.1/marvin

|
http://www.cis.upenn.edu/~beitler/hanim

http://www.btinternet.com/~tv_timewarp/six_million_dollar_man/index.htm

Does the name “beitler” ( from the above URLs ) ring a bell ?

It’s the other half of the “Couch-Beitler Flame War”.

The liars that say you are too stupid

to do what I’ve done …

  animate Web3d.org's VRML Avatars in a browser with Java3d with Sun's VRML Loaders.

including … Marvin the Martian.

Marvin … who blew your head clean off ?

Make Nancy Walk, Run, Jump & Stand with Java & VRML :

You Control VRML Avatar with H-Anim Gesture Animations

http://www.frontiernet.net/~imaging/fingerspelling.html

Gesture Animations: Walk, Run, Jump, Stand
Go to the page, wait, wait, wait, then double click on “Nancy (H-Anim)”
wait
then ( the tough part )

to make her Walk click on “Walk”
to make her Run click on “Run”
to make her Jump click on “Jump”

Is 3d animation with Java hard ?

3d animation with Java & VRML is easy.

– Paul, Java Developer & Web Animator

Imaging the Imagined: Modeling with Math & a Keyboard

Paul, You have somekind of mental disorder?

  • and you seriously need to work on your quoting technique!

And whats with sun and their vrml loader? - you make it sound like it’s the holy grail of 3d ???

and could you please stop posting all that garbage along with each reply, it lame that I have to read 200+ lines just to find out that you didn’t even reply to anything!

/me wishes for a killfilter

damn, you’re seriouslt demented - either that or just plain stupid.

[edit]: damn, can’t believe that anyone can be this stupid - MUST be a joke ??? ??? ??? ???

Oh man - just went over Pauls site - just as f u c k e d up as his posts!!!

EDIT: Post deleted

No.

If you sense insanity it may be from the image reflected from your monitor.  ;^(

But part of the “grand plan” of Justin Couch’s “Couch-Beitler Flame War”

was to slander and slur people, and encourage bottom feeding scum to either

ask questions like that ( as you just did ) or make similar slurs.

Fortunately, Justin Couch was not such a moron to keep making
those slurs himself ( maybe you could learn something from your Dark Lord ).

[b]

You are suggesting that you don’t want to read my posts …

and then    you seek them out like a demented retard, 
                 

and then post off-topic comments and insults.

My understanding is: you are trying to develop “LWJGL” as an _ alternative _ to Java3d …

and that you have no interest in either Java3d or my posts …

So if you are not retarded … please do not post to the Java3d forum.

If you are capable of contributing in the LWJGL forum, go there, and do so.

I do not seek your advice
I do not want your advice.
I will not accept your advice.

Do not offer your advice to me.

Do not post off-topic posts to the Java3d forum.

 Thank-you.    Now go away.

– Paul, Java Developer & Web Animator

Imaging the Imagined: Modeling with Math & a Keyboard
[/b]

I am going to bite this one, sry for hijacking

[quote]and then you seek them out like a demented retard,
[/quote]
Actually, no - I try to skip them! - but as they tend to fill 2-3 pages, it’s a bit hard.

[quote]and then post off-topic comments and insults.
[/quote]

[quote]Do not post off-topic posts to the Java3d forum.
[/quote]
HAHA! - you’ve got to be kidding me - YOU ARE the one posting all kinds of off topic comments about slandering, slurs and what not - please don’t complain about stuff, you are doing yourself!

[quote]If you are capable of contributing in the LWJGL forum, go there, and do so.
[/quote]
Tell you what, I’ll do that, if you actually start posting something worthwhile, and not drag 5 pages of excess stuff along with all your posts, deal?

[quote]I do not seek your advice
I do not want your advice.
I will not accept your advice.

Do not offer your advice to me.
[/quote]
Well then, seems you’ll be wanting a killfilter too, doesn’t it?
I seek everybodies advice, which is why I post here. Unfortunately you litter you’re posts with 2% on topic stuff, and the rest off topic.

/me still wishing for a killfilter

And I’ll give your advice, to you (though it seems you ignore your own advice!:

[quote]If you are capable of contributing in the forum, go there, and do so.
[/quote]