Re: [JAVA3D] Help with 3D UI Solution

2005-06-30 Thread Eli Dylan Lorimer
Hi Andre, Fantastic comments and suggestions! Thank you enormously. I will begin this tomorrow and will unquestionably implement much of what you suggested. Thanks again ;) ./dylan === To unsubscribe, send email to [EMAIL P

Re: [JAVA3D] Help with 3D UI Solution

2005-06-27 Thread Andre Bialojahn
Dylan, > I've got a wireframe cube in which I am plotting some (x,y,z) data. > That works well. What I'd like the user to be able to do is > effectively crop the data in the cube in a similar fashion to how it > is done in 2D using Photoshop. So, for example, when the user > chooses to crop the da

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Snah Clouse
Thanks Alessandro :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) :) At least i can go on ;=) Sorry for all trubel guys PS for others with same problem its: setBackClipDistance(double distance) === To unsubscribe, send email to

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Alessandro Borges
increase view back clip, just after simpleUniverse creation. canvas3D.getView().setBackClip(aFloatValue); there are some issues about Z depth and front/back clip ratio at 16bits. You can read about it in J3D.org Alessandro ___ Yahoo! Acess

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Snah Clouse
code: --- import com.sun.j3d.utils.behaviors.keyboard.*; import com.sun.j3d.utils.behaviors.mouse.*; import com.sun.j3d.utils.universe.*; import javax.media.j3d.*; import javax.vecmath.*; public class Movement{ private Boundi

Re: [JAVA3D] Help with java3d

2005-02-21 Thread John Wright
I thought you said the bug was a memory heap crash? Of course the texture is going to "stop" scaling. At some point the texture has been reduced to a 1x1 single color pixel as you zoom out. - John Wright Starfire Research Alessandro Borges wrote: I am sorry, but what do you mean "texture stops to

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Gilson Laurent
Hello Post the code somewhere so everybody can have a look at it. I think it's some wired bug inside your code. cu === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-IN

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Alessandro Borges
I am sorry, but what do you mean "texture stops to scale" ? Are you appling transforms to your texture ? What is the distance (in floats) this bugs appears ? Are you using proper boundings for you application ? Alessandro --- Snah Clouse <[EMAIL PROTECTED]> escreveu: > The problem is not zoomi

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Snah Clouse
The problem is not zooming in, at some distance while zooming out, texture stops to scale(zoom out) but sphere continues zooming out as usual. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the

Re: [JAVA3D] Help with java3d

2005-02-21 Thread John Wright
Snah Clouse wrote: Changed it to 200 (tryed less then taht to), but still same problem This is starting to sound more and more like a bug in your code. - John Wright Starfire Research === To unsubscribe, send email to [EMAIL PR

Re: [JAVA3D] Help with java3d

2005-02-21 Thread John Wright
I don't know any reason why you would need a "square" texture. If your original texture is not sized in powers of two the Java 3D code will adjust it automatically for you. That's the reason we supply textures with powers of two - so that Java 3D can work "better" it's not a requirement (internal

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Snah Clouse
Changed it to 200 (tryed less then taht to), but still same problem === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Christophe LOREK
much don't you think ? - Original Message - From: "Snah Clouse" <[EMAIL PROTECTED]> To: Sent: Monday, February 21, 2005 2:24 PM Subject: Re: [JAVA3D] Help with java3d > didnt help :( can i send you source files so

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Rolf Gabler-Mieck
Snah Clouse wrote: didnt help :( can i send you source files so you can see whats the problem? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general h

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Snah Clouse
didnt help :( can i send you source files so you can see whats the problem? === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Rolf Gabler-Mieck
Snah Clouse wrote: Its not texture what case problem (i used 32x16 and still get that bug) While zooming out at some distance texture stops scaling, but sphere continues to zoom put/scale, same thing with rotation (it stops rotate at same distance it stops scale texture) Thanks for help guys ;) ===

Re: [JAVA3D] Help with java3d

2005-02-21 Thread Snah Clouse
Its not texture what case problem (i used 32x16 and still get that bug) While zooming out at some distance texture stops scaling, but sphere continues to zoom put/scale, same thing with rotation (it stops rotate at same distance it stops scale texture) Thanks for help guys ;)

Re: [JAVA3D] Help with java3d

2005-02-19 Thread Rolf Gabler-Mieck
That's something I wish someone would do! I'd really appreciate having a high res sphere of the earth myself. I'd even appreciate a really nice tutorial with polygons modeled and documentation of what latitude and longitude match to which points. Hi have a look how the UTM- system or respectivly

Re: [JAVA3D] Help with java3d

2005-02-19 Thread John Wright
That's something I wish someone would do! I'd really appreciate having a high res sphere of the earth myself. I'd even appreciate a really nice tutorial with polygons modeled and documentation of what latitude and longitude match to which points. Unfortunately I don't know an easy way to construc

Re: [JAVA3D] Help with java3d

2005-02-19 Thread Alessandro Borges
800 divisions is *TOO* much divisions ! You can get, + or -,  the same visual effect with 200 division and consuming much less memory. If you use only one sphere with same properties,you can set your Sphere to not shared geometry by adding Primitive.GEOMETRY_NOT_SHARED ORed with Sphere flags.   Ale

Re: [JAVA3D] Help with java3d

2005-02-19 Thread Snah Clouse
Thanks for tips but how will i map texture parts on whole sphere? Is there a simple way to do that? or do i have to make whole work manualy? TY === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of t

Re: [JAVA3D] Help with java3d

2005-02-19 Thread John Wright
Try cutting your texture size in half and I'll bet you have a lot less trouble with the lack of memory and zooming. That's a "huge" texture. As was mentioned before using mipmapping can help in general but I think the problem is that you are using only a single texture thus when you "zoom in" if y

Re: [JAVA3D] Help with java3d

2005-02-19 Thread Snah Clouse
texture size is 2048x1024 (multiple of 2) jpg file i forgot yto change back radius to 6371 km when im using 10 times smaller 637 then theres no memory heap error but zooming doesnt work well Do you know if there is any restriction for sphere radius?? i thought it doesnt metter how big sphere woul

Re: [JAVA3D] Help with java3d

2005-02-19 Thread Rolf Gabler-Mieck
Hi, try to use mipmapping, for better results... why the heap error ocours... hmm could be the size of the texture which size and kind got your texture? also try to ask at: [EMAIL PROTECTED] there're loads of other j3d peoples regrads rolf ps if you're using a Sphere for earth representation, why i

Re: [JAVA3D] HELP

2005-02-02 Thread Alessandro Borges
Take a look at FourByFour and PickTest Java3D examples. Also "Java Graphics and Gaming" has very interesting chapters about it http://fivedots.coe.psu.ac.th/~ad/jg See chapter 20 ___ Yahoo! Acesso Grátis - Instale o discador do Yahoo! agor

Re: [JAVA3D] Help! Looking for TACTICAL SOFTWARE & PLUME ANALYST GURUS - Can anyone recommend online journals to me?

2004-11-15 Thread Gilson Laurent
Hello On Sunday 14 November 2004 18:55, Nerd Up Hi Tech & Executive Placement (www.nerdup.com) wrote: > I believe the work and "kill vehichles" that this company is working on for > this specific project are for anti-aircraft/Interception of Ballistic > Missiles projects -- in other words, I beli

Re: [JAVA3D] Help! Looking for TACTICAL SOFTWARE & PLUME ANALYST GURUS - Can anyone recommend online journals to me?

2004-11-15 Thread Brian McCormick
Frankly, you message sounds a lot like you are a foreigner trying to fish out US intelligence. Why else would you ask a Java 3D list for info on missiles? If you really have contacts in the business already, why not ask these contacts? Why us? -Original Message- From: Discussion list fo

Re: [JAVA3D] Help! Looking for TACTICAL SOFTWARE & PLUME ANALYST GURUS - Can anyone recommend online journals to me?

2004-11-14 Thread Nerd Up Hi Tech & Executive Placement (www.nerdup.com)
to read up on tactical software engineering I'd certainly appreciate it.   Julie     - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 14, 2004 12:21 PM Subject: Re: [JAVA3D] Help! Looking for TACTICAL SOFTWARE & P

Re: [JAVA3D] Help! Looking for TACTICAL SOFTWARE & PLUME ANALYST GURUS - Can anyone recommend online journals to me?

2004-11-14 Thread michaelpfeiffer
for STANDARD missiles and kill vehicles/warheads... Enough reasons für me not to help you - beside the fact that his mailinglist really isn't the right place for your question. -- http://www.linuxboard.org - The Linux Developer Board http://java3d.virtualworlds.de - The J3D Developers Ressource ===

Re: [JAVA3D] help on vrml loader

2004-10-14 Thread Yowming Hong
Hi, If you use j3d-vrml97 loader from Java3D loader sub-project, you have to change the import from com.sun.* to org.jdesktop.* -- Scott Rolf Gabler-Mieck wrote: Hi, as I know, the vrml97 has to be in the classpath or in the lib/ext folder in your used rt, but be aware every user of your applet has

Re: [JAVA3D] help on vrml loader

2004-10-14 Thread Rolf Gabler-Mieck
Hi, as I know, the vrml97 has to be in the classpath or in the lib/ext folder in your used rt, but be aware every user of your applet has to have the vrml97 loader also in his/her classpath.! best regards rolf Yuefeng Kang schrieb: I have an applet that can load vrml file to the scene. The apple

Re: [JAVA3D] Help

2004-06-02 Thread Alessandro Borges
I guess you are trying to load a image for texturing porpuses, right ? See Java3D demo TextureTest. It is a good starting point. Java3D Collateral page has some tutorials http://java.sun.com/products/java-media/3D/collateral/index.html And www.j3d.org has FAQs and articles about using Java3D. A

Re: [JAVA3D] help

2003-12-03 Thread Christian Britton
Make sure that the Java Runtime you're using to run your compiled code contains the Java 3D installation (look for "j3d*.jar" files under the "lib" folder). I suspect you installed the Java 3D SDK to another J2SDK than the one you're using to run the project. If you're using JBuilder, make sure you

Re: [JAVA3D] HELP - stupid problem

2003-10-17 Thread Michael Pfeiffer
"HELP - stupid problem" is not a very expressive subject for your mail :-( WHERE did you install the J3D-SDK, have you really choosen the path tho your JBuilders J2SDK or do you have installed any other JDK? And after installing it: have you added the new files using the menu "Tools -> Configure J

Re: [JAVA3D] help on appearance

2003-09-16 Thread Alessandro Borges
Is your directional light pointing to right direction ?? It may need to be reversed. Alessandro - Original Message - From: "Lan Wu-Cavener" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 16, 2003 12:09 PM Subject: [JAVA3D] help on appearance > Hi, every one: > > I

Re: [JAVA3D] Help - particle system model grass

2003-08-26 Thread Lan Wu-Cavener
Alan: It is created with 30 blades, each of which is consisted of several line segments with diff. width. The image shows a rather huge grass. I need to add some control parameters to it so that I can use it in my scene. Lan At 11:27 AM 8/26/2003 -0700, you wrote: Lan Wu-Cavener wrote: Thank you

Re: [JAVA3D] Help - particle system model grass

2003-08-26 Thread Alan Hudson
Lan Wu-Cavener wrote: Thank you much, Paul! I have checked the website you posted. It is a nice algorithm to model the growing plants. It is too bad that I forget all the German I had learned while in the graduate school. I did it in a simple way to create a grass clump using LineArray. It seems

Re: [JAVA3D] Help - particle system model grass

2003-08-23 Thread Jeremy Booth
Lan Wu-Cavener wrote: It may be not the right time to still focus on using Java3D. There are hints that java3d will exist in some form or another, various posts including some on javagaming.org hint at it, but nothing is confirmed. Java3d has served us well and will and continue to do so. assuming

Re: [JAVA3D] Help - particle system model grass

2003-08-23 Thread P. Flavin
Watch Grass Grow with Java3d: L-Systems & Virtual Plant Growth --- Lan Wu-Cavener wrote: > > It may be not the right time to still focus on using Java3D. > | http://archives.java.sun.com/cgi-bin/wa?A2=ind0308&L=java3d-interest&P=33308

Re: [JAVA3D] Help with transparent textures please :)

2003-07-11 Thread Chris Fenton
Yes it is possible to shade with Allans's suggestion. Cheers to all who helped. I have spent 4 days on this issue. Chris === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA

Re: [JAVA3D] Help with transparent textures please :)

2003-07-11 Thread Chris Fenton
Hello and thanks for all your help Results I haven't got Jeremy's method to work I believe the problem is that I have all my data packed into a single geometry array, therefore no effectibe sorting. I did however get Alans code to work. RenderingAttributes ra = new RenderingAttributes(); ra. s

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Alessandro Borges
I did a small demo where a opaque object moves in and out of a transparent object Check if this demo helps you. Alessandro SphereMotionTransparency.zip Description: Binary data

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Sean Sylvis
I have seen it most often attributed to Mark Twain. Sean > -Original Message- > From: Yazel, David J. [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2003 8:49 AM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Help with transparent textures please :) > &

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Jeremy Booth
Hi The code I posted earlier works fine if your texture contains all of the transparency information (alpha channel) ie, it's a transparent texture. In that case you want the object to be 100% transparent, and use texture attributes replace, Then what ever the texture has on it, is what happens o

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Yazel, David J.
Oh I like that :) I think my quote was from Abraham Lincon, not entirely sure. Dave -Original Message- From: Lars Huttar [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Help with transparent textures please :) > Da

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Lars Huttar
> David Yazel > http://www.magicosm.net > "Better to be thought a fool than to open your mouth and remove all doubt" While I agree there is truth to this, I would submit that sometimes it's "Better to open your mouth and be corrected, than to keep it shut and remain a fool." :-) 'Whoever

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Alan Zander
PROTECTED] Sent: Thursday, July 10, 2003 7:14 AM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Help with transparent textures please :) Two hings to consider: 1. Your blending is currently setting them to compltely opaque. Of course you could be using vertex colors with alphas, so I am not sure. But if you

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Alessandro Borges
Hi, Transparency in 3D is hard task. So, be welcome ;-)   Tip 1) is cool. Set your transparency half-way between 0 and 1. You will find the best value at runtime, later. Tip 2)   how did build your external blob ? I guess it came from somewhere, so you have the data to break it up, if need

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Chris Fenton
Two hings to consider: 1. Your blending is currently setting them to compltely opaque. Of course you could be using vertex colors with alphas, so I am not sure. But if you are depending on the transparency attributes then you should set this to something less than 1. > Tried NO EFFECT 2. The l

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread David Yazel
Yazelhttp://www.magicosm.net"Better to be thought a fool than to open your mouth and remove all doubt" - Original Message - From: Chris Fenton To: [EMAIL PROTECTED] Sent: Thursday, July 10, 2003 6:38 AM Subject: Re: [JAVA3D] Help with transparent textu

Re: [JAVA3D] Help with transparent textures please :)

2003-07-10 Thread Chris Fenton
Jeremy Booth wrote: View.setTransparencySortingPolicy(View.TRANSPARENCY_SORT_GEOMETRY) plateAppearance = new Appearance(); transparencyAttributes = new TransparencyAttributes(TransparencyAttributes.BLENDED, 1.0f); TextureAttributes texAttr = new Tex

Re: [JAVA3D] Help with transparent textures please :)

2003-07-09 Thread Jeremy Booth
Chris Fenton wrote: Do transparent textures work in java3d ? yes, I have couple of tiny issues, that don't consistently happen, but mostly, and most of the time, they work perfik, below is the code I use. You will also need to make sure you have done View.setTransparencySortingPolicy(View.TRANSPAR

Re: [JAVA3D] HELP only get blank black screen with Java3D demos

2003-07-03 Thread Alessandro Borges
Are you using Java3D OpenGL or DirectX? For this old card the I guess the best option is Java3D DirectX. Some time ago I was running Java3D in a Trident 9680-2MB, slowly, but running, ... But a accelerated vcard helps a lot ! There are some good and cheap video cards today. Choose at least a GForce

Re: [JAVA3D] Help text2d problem

2003-03-26 Thread Alessandro Borges
Zack, You can use BillBoard  behavior to have the Text2D always facing the viewer.   >But the problem is how to make another 5 similar 2D text display in different dimension   Do you mean  "dimension" here as a Cube face? Something like this : (?)     TEXT UP  

Re: [JAVA3D] HELP! detach(),live, compile() and remove()?!

2003-03-17 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
well...the error is saying you can't remove the TG from the BG...which is true. You can ONLY detach/reattach BranchGroups (from live/compile scenegraphs) So, either change your TransformGroup to BranchGroup...or add the TG to a BG and then remove the BG. Mario Mariusz Zaczek NASA - Johnson Sp

Re: [JAVA3D] help

2003-03-17 Thread A. Murat Tanyer
Hi Alessandro, Thanks for your reply, I understand that my use of switch is not the correct way. I will change it according to your advices. However, my question is how I can link mybehaviour with the JButton event so that the cubes are woke up when I pressthe button?

Re: [JAVA3D] help

2003-03-17 Thread Alessandro Borges
Fixing last email:       // use same sequence you add to switch int TG1_BIT = 01; int TG2_BIT = 02; int TG3_BIT = 03;   BitSet mask = new BitSet(); ... Swich switch = new Switch(); switch.setWhichChild(Switch.CHILD_MASK); ... //to show TG1 mask = switch.getChildMask(); mask.set(TG1_BIT);

Re: [JAVA3D] help

2003-03-17 Thread Alessandro Borges
Murat,   You can use only one Switch to show  the cubes you want by using    setChildMask(java.util.BitSet childMask) were childMask is a  java.util.BitSet object (see javadocs).   By using it you can select correctly what will appear or not. Use constans to label your TGs         BG      |

Re: [JAVA3D] help with Save Scenegraph

2003-03-05 Thread Mark Hood
> Date: Wed, 5 Mar 2003 13:39:00 -0700 > From: Yi <[EMAIL PROTECTED]> > I'm wondering if there is a way to save modified scenegraph after some > transformations such as scaling, translation and rotation on initial > scenegraph? I have searched previous messages on this, but the only way >

Re: [JAVA3D] Help Please

2003-02-07 Thread greg baboolal
Amendment: not gc.swap() but canvas.swap()! As a j3d amateur enthusiast I tinkered with your file and found 2 discrepenicies: 1) The text set at the beginning ( i think )is located outside the field of view, so if the thread is not used, you wouldn't s

Re: [JAVA3D] Help Please

2003-02-07 Thread greg baboolal
As a j3d amateur enthusiast I tinkered with your file and found 2 discrepenicies: 1) The text set at the beginning ( i think )is located outside the field of view, so if the thread is not used, you wouldn't see the text anyway. I set it to the origin. 2) In between the section where you call gc.d

Re: [JAVA3D] Help Please

2003-02-07 Thread Brobbey,Isaac (neuron)
Hi, i do not have enough experience on this but i think you will need lights defined to see this text, may be ambientLight or directionalLight and set their setInfluencingBounds and also add the lights to the branchgroup. this a snippet that i have, Font3D font3d = new Font3D(new Font("TestFont",

Re: [JAVA3D] Help Please

2003-02-07 Thread Xuedong Din (IT)
Title: RE: [JAVA3D] Help Please Try following to see if it's working or not: 1. Leave no space between words. 2. Make the scale smaller Xuedong Din IT, POS/Commerce Borders Group, Inc. 734-477 4116 -Original Message- From:   Guang Bin Liu [SMTP:[EMAIL PROT

Re: [JAVA3D] help me please,Text2D does not show

2003-02-04 Thread Enrique Dumas
I think that your text is inside the cube , try to run your app without creating the cube to check that text2d is viewable   $BN-!!9?1F (B <[EMAIL PROTECTED]> wrote: hi,All friendI create a Text2D object and a ColorCube , and thenput them into TransformGroup object.ColorCube can show but my Text2D

Re: [JAVA3D] help me please,Text2D does not show

2003-02-04 Thread Alessandro Borges
Hi Liu. (BTry a smaller size. 256 is a HUGE font size. Outdoor like. (BI think 12 is good. (B (B (B- Original Message - (BFrom: " $BN-!!9?1F (B" <[EMAIL PROTECTED]> (BTo: <[EMAIL PROTECTED]> (BSent: Tuesday, February 04, 2003 12:25 AM (BSubject: [JAVA3D] help me please,Text2D does

Re: [JAVA3D] Help in CPU useage

2003-02-03 Thread Justin Couch
GB Liu wrote: When I run my J3D program, I found that sometimes part of the function can not be performed correctly. I checked the CUP usage and found that at most time when the Program is running, the CPU usage is 100%. I guess that is the reason of disfunctioning. Could you please give me so

Re: [JAVA3D] Help please with multi tesxturing

2003-01-27 Thread Alessandro Borges
Try to load your image with transparency as "RGBA" instead "RGB" - Original Message - From: "chris Thorne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 27, 2003 2:24 AM Subject: [JAVA3D] Help please with multi tesxturing > Hi, > I am trying to apply one texture with

Re: [JAVA3D] Help please with multi tesxturing

2003-01-27 Thread Frederic Barachant
At 27/01/2003 17:22:00, you wrote: > > >Frederic Barachant wrote: > >>you should replace this line: >>Texture tex2 = new TextureLoader("swbSmall.gif", "RGB", new >Container()).getTexture(); >>by >>Texture tex2 = new TextureLoader("swbSmall.gif", null); >> >that's assigning a TextureLoader to a Tex

Re: [JAVA3D] Help please with multi tesxturing

2003-01-27 Thread chris Thorne
Frederic Barachant wrote: you should replace this line: Texture tex2 = new TextureLoader("swbSmall.gif", "RGB", new Container()).getTexture(); by Texture tex2 = new TextureLoader("swbSmall.gif", null); that's assigning a TextureLoader to a Texture - won't work.  Did you mean something els

Re: [JAVA3D] Help please with multi tesxturing

2003-01-27 Thread Frederic Barachant
you should replace this line: Texture tex2 = new TextureLoader("swbSmall.gif", "RGB", new Container()).getTexture(); by Texture tex2 = new TextureLoader("swbSmall.gif", null); Creating a new container for nothing is not a good idea, anyway. Texture loader should create the right buffer type (that s

Re: [JAVA3D] Help please with multi tesxturing

2003-01-26 Thread chris Thorne
Also, I am using j2sdk1.4.1-b21 and Java3d 1.3 chris chris Thorne wrote: Hi, I am trying to apply one texture with transparency over another. The base texture does not show through where the top texture has transparency. Here is the simple test code fragment I am using to test it. Anyone sp

Re: [JAVA3D] Help me....

2003-01-16 Thread John Wright
Mahesh, Check out your video card, that's an important place to start. If you have no idea at all what it is: 1) Boot the machine and watch the information that is *briefly* shown at boot when you first power it on. Often this will tell you what the video card is. 2) Go into "Device Manager"

Re: [JAVA3D] help needed urgetly

2002-12-20 Thread Alan Hudson
Anthony Arobone wrote: Ya right, I can't find no ALLOW_PARENT_READ either. I'm knew to Java3D (first post). getParent is only supported on non-live scenegraphs. So you can detach a branchgroup and then ask the question... this of course won't work if its not a branchgroup. I don't think you

Re: [JAVA3D] help needed urgetly

2002-12-20 Thread Jeremy Booth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Looking at the javadoc, a shape3d inherits from Node, node has a getParent method, but the javadoc also states that it is only valid during scene graph construction, after that it will throw the Restricted access exception, according to the javado

Re: [JAVA3D] help needed urgetly

2002-12-19 Thread Anthony Arobone
Ya right, I can't find no ALLOW_PARENT_READ either. I'm knew to Java3D (first post). Now I'm not the smartest man, but you probably have that TransformGroup object as the child of a BranchGroup right? So why not try setting the BranchGroup ALLOW_CHILDREN_READ capability. Then will TransformGrou

Re: [JAVA3D] Help with moving a man

2002-11-07 Thread Artur Biesiadowski
Botha Levente wrote: I would want to ask you about creating an "object group" (ex. a man) and moving it. A don't know how to start. How should i create the scene graph for this type of "object" to move his hands, legs, head separately. If he walks his leg most simulate the real walking. (forgive

Re: [JAVA3D] Help with moving a man

2002-11-07 Thread Alessandro Borges
-- From: Botha Levente To: [EMAIL PROTECTED] Sent: Thursday, November 07, 2002 3:54 AM Subject: Re: [JAVA3D] Help with moving a man Hi all   I would want to ask you about creating an "object group" (ex. a man) and moving it. A don't know h

Re: [JAVA3D] Help with moving a man

2002-11-07 Thread Botha Levente
Title: RE: [JAVA3D] AW: [JAVA3D] JToggleButton GUI Toggles after Behavior processStim ulus Thank you! - Original Message - From: Ivan Zahoranszky To: [EMAIL PROTECTED] Sent: Thursday, November 07, 2002 10:45 AM Subject: Re: [JAVA3D] Help with moving a man

Re: [JAVA3D] Help with moving a man

2002-11-07 Thread Ivan Zahoranszky
help you.       -Original Message-From: ext Botha Levente [mailto:[EMAIL PROTECTED]]Sent: Thursday, November 07, 2002 7:54 AMTo: [EMAIL PROTECTED]Subject: Re: [JAVA3D] Help with moving a man Hi all   I would want to ask you about creating an "object group" (ex. a man) and mo

Re: [JAVA3D] Help with moving a man

2002-11-06 Thread Botha Levente
Title: RE: [JAVA3D] AW: [JAVA3D] JToggleButton GUI Toggles after Behavior processStim ulus Hi all   I would want to ask you about creating an "object group" (ex. a man) and moving it. A don't know how to start. How should i create the scene graph for this type of "object" to move his hands, le

Re: [JAVA3D] Help with Stereo viewing using Disparity

2002-10-28 Thread Mark Hood
> Date: Mon, 28 Oct 2002 19:34:24 -0500 > From: Kit Fuhrman <[EMAIL PROTECTED]> > > I'm working on a research project that needs to implement Java3D into a > Head Mounted Projective Display(HMPD). In the HMPD there are two LCD, > one for each eye. The disparity between objects is used to

Re: [JAVA3D] help needed about 'picking'

2002-10-23 Thread White Morph
Rong, Sounds like a good idea. I think I can construct a Bounds object of BoundingPolytope by 5 planes, which can be used to define a PickBound. Then, I'll create an instance of PickTool and set its pickShape to the PickBounds created above. (I guess we can't set a random pickShape used by PickC

Re: [JAVA3D] help needed about 'picking'

2002-10-23 Thread Rong Wang
Hi, Try the following step 1. After you get the four points corresponded the mouse drag, build a cubic bound using the code for class PickObject for the pick aperture in SUN j3d Picking utility package. 2. create a instance of PickCanvas, and set the pickShape to the bound which you created

Re: [JAVA3D] help needed about 'picking'

2002-10-22 Thread White Morph
See my post a little while ago. But I didn't find an easy way to do the intersection between a pyramid and the arbitrary scenegraph model yet. white http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0210&L=java3d-interest&D=1&P=4564 >Hi all, > >I created my scene which contains many Shape3D object

Re: [JAVA3D] help needed about 'picking'

2002-10-22 Thread Mr H. Morgan
Hi Ali, I have just done this. I used the code from this mail - http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0207&L=java3d-interest&P=R47218 I have just seen that there is a PickTest example included in Java 3D, see section "G.3.21 PickTest" on - http://java.sun.com/products/java-media/3D/f

Re: [JAVA3D] help needed about 'picking'

2002-10-22 Thread A. Murat Tanyer
me help.   Kind regards. Murat         - Original Message - From: Alessandro Borges To: [EMAIL PROTECTED] Sent: Tuesday, October 22, 2002 2:38 PM Subject: Re: [JAVA3D] help needed about 'picking' Hi Did you saw  the Java3D demo  PickTest ?? it works fine.

Re: [JAVA3D] Help With Navigation Behaviors

2002-08-22 Thread Alex Hew
From: "trz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 22, 2002 6:37 PM Subject: Re: [JAVA3D] Help With Navigation Behaviors > Chad Zalkin wrote: > > > This should do it, there may be a better way, but this is all I've eve

Re: [JAVA3D] Help With Navigation Behaviors

2002-08-22 Thread trz
Chad Zalkin wrote: > This should do it, there may be a better way, but this is all I've ever come > across/used. > > Transform3D t3d = ... > Vector3f vec = new Vector3f(); > Point3f pt = new Point3f(); > > t3d.get( vec ); > vec.get( pt ); You can also use Transform3D tr = node.getLocalt

Re: [JAVA3D] help with Key bahaviours.

2002-08-21 Thread White Morph
Make sure you have sth like "ALLOW_READ" capability set for your TransformGroup object before you make the scene compiled or live. white >Hi, >I am working with navigation with in a building and I wrote simple >key Behaviour for the navigation. When I run my program I get the >following error.

Re: [JAVA3D] Help With Navigation Behaviors

2002-08-21 Thread Chad Zalkin
Like a moron, I sent the wrong reply to the wrong post... see below for the correct reply to this thread. Sorry about that. Alex, This should do it, there may be a better way, but this is all I've ever come across/used. Transform3D t3d = ... Vector3f vec = new Vector3f(); Point3f pt = new

Re: [JAVA3D] Help With Navigation Behaviors

2002-08-21 Thread Chad Zalkin
helps, -- Chad Zalkin 3SI's Pro Viribus: http://www.3south.org - Original Message - From: "Alex Hew" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 5:00 AM Subject: Re: [JAVA3D] Help With Navigation Behaviors > Hi trz, >

Re: [JAVA3D] Help With Navigation Behaviors

2002-08-21 Thread Alex Hew
> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 12:11 AM Subject: Re: [JAVA3D] Help With Navigation Behaviors > Hew Ling Keong wrote: > > Is there any way I can reassign a new alpha to my Interpolator. Or was my > > approach into dealing with this navigation wrong and th

Re: [JAVA3D] Help With Navigation Behaviors

2002-08-20 Thread trz
Hew Ling Keong wrote: > Is there any way I can reassign a new alpha to my Interpolator. Or was my > approach into dealing with this navigation wrong and there is a better way > to do it. And what would the performance like as I have heard that the > Interpolator behavior will take up 100% CPU usag

Re: [JAVA3D] Help on the final few things please? 'nix developersfeedbackappreciated.

2002-08-20 Thread John Wright
Chris, Maybe I'm misunderstanding your question but I use: String userdir = System.getProperty("user.dir"); to find where my application is launching from. I can then access files relative from that directory (no matter which operating system I'm actually running on). - John Wright Starfire R

Re: [JAVA3D] Help on the final few things please? 'nix developers feedback appreciated.

2002-08-20 Thread Marc Palmer
> java.net.URL url = > super.getClass().getClassLoader().getResource("$CLASSPATH/resource"); I think you'll find that this works: java.net.URL url = getClass().getResource("/resources/resourceName"); ...where "resources" is a directory under your classpath (i.e. /resources in your JAR or .

Re: [JAVA3D] Help on the final few things please? 'nix developersfeedbackappreciated.

2002-08-20 Thread Jason Taylor
>>> [EMAIL PROTECTED] 20/08/2002 04:07:14 >>> >(1) File path vs. URL URL is defiantly a better way to go, I'd have to do some digging to find the methods I've used in the past... Let me know if you can't figure it out and I'll go hunting in my source. >(2) Missing Swing components when config

Re: [JAVA3D] Help on the final few things please? 'nix developers feedback appreciated.

2002-08-19 Thread Sean Sylvis
the getResource() (or getResourceAsStream()) method will look for the named resource in any folders specified in your classpath. so, what i have done is put my resource folder in my classpath and any resources i'm accessing are named off of my resource folder. java.net.URL url = super.getClas

Re: [JAVA3D] Help Needed

2002-08-17 Thread Kevin Glass
Iswari wrote: > Hi, > > Though my doubt is not relevant to Java3d, I wish to be clarified on > the following questions: > > 1. Is it possible to protect the class files from decompilers? How? > 2. Is it possible to overload the class loaders of an applet? How? > > If this is not the group where I

Re: [JAVA3D] Help reg working of Java 3D

2002-07-30 Thread Ingo Brunberg
Hi Vamshi, this means that you have to configure your X server. Depending on your version of XFree86 and your graphics card there are several things to consider. For example, if your are running XFree 4.0 or later, there should be a 'Load "glx"' statement in your XF86Config. But there are too man

Re: [JAVA3D] Help with Alpha-only textures

2002-07-17 Thread Kelvin Chung
>Date: Wed, 17 Jul 2002 13:58:10 -0700 >From: Justin Couch <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Help with Alpha-only textures >To: Kelvin Chung <[EMAIL PROTECTED]> >Cc: J3D Interest List <[EMAIL PROTECTED]> >MIME-version: 1.0 >Content-transfer-encod

  1   2   3   >