Re: [JAVA3D] extending bounds class (updated)

2001-08-24 Thread matthias sweertvaegher
hi, i tried to extend the bounding class and it didn't want to (see my previous post) maybe it was just my jbuilder that was going mad? i don't try anymore ... anyway, now you know you aren't the only one ;) mattie 8/24/01 5:11:31 PM, Silvere Martin-Michiellot <[EMAIL PROTECTED]> wrote: >Hi, >

Re: [JAVA3D] Navigation by changing viewer transformGroup

2001-08-23 Thread matthias sweertvaegher
Hi Lan I wrote a mousebehavior class that may help you. I also add it to the viewplatformtransform you can specify the translations/rotations as you mention (so without input from the user). However, it is a behavior class that is specifically written for my application so it navigates maybe a

Re: [JAVA3D] Vector3f.angle(Vector3f) question

2001-08-23 Thread matthias sweertvaegher
8/23/01 4:52:52 PM, Ingo Brunberg <[EMAIL PROTECTED]> wrote: >Hi Matthias, > >What other range of results would you expect? >If you have only two vectors, the angle between them cannot be larger >than PI. >It's another matter if you have additional constraints, such

[JAVA3D] Vector3f.angle(Vector3f) question

2001-08-23 Thread matthias sweertvaegher
hello How does it come that the result of this method is constrained to [0,PI] ? In my case it doesn't make sense. So now I have to write my own angle method but then I find it a pity that I am working with a Vector3f class and I still have to write a method in a separate class. Will such a meth

Re: [JAVA3D] bug in Transform3D.transform(Vector3f) ?!

2001-08-23 Thread matthias sweertvaegher
hello Fred and Chien thank you for your reply no I finally understand why there is a point3f AND a vector3f class :-) maybe it would be useful if the difference between point3f and vector3f would be mentioned in the documentation of the classes itself... greets, mattie ---

[JAVA3D] bug in Transform3D.transform(Vector3f) ?!

2001-08-22 Thread matthias sweertvaegher
hello I believe I have discovered a bug in the Transform3D class the documentation says the following about Transform3D.transform(Vector3f) : Transforms the point parameter with this transform and places the result back into point. The fourth element of the point input paramter is assumed to be

Re: [JAVA3D] setting the material for a double sided face

2001-08-21 Thread matthias sweertvaegher
hi 8/21/01 11:26:30 AM, Saurabh Akhauri <[EMAIL PROTECTED]> wrote: >Is it possible to set different material >properties for the different sides of a face made double >sided by setting the polygonattribute to CULL_NONE. > >basically I want the two sides of the shape to have different colors >How

Re: [JAVA3D] Getting the frame rate

2001-08-20 Thread matthias sweertvaegher
hi you could for instance use a frame triggered behavior which updates your fps var every ,for example, 60frames i believe i saw once a behavior class for this on the newsgroup... it seems you can also handle it in the postswap method? you may want to check the archive too greets, mattie 8/2

[JAVA3D] WakeupCriteriaEnumerator : NoSuchElementException

2001-08-17 Thread matthias sweertvaegher
hello I have suddenly discovered a problem with my mousepickbehavior class in the processStimulus method I display a graph in 3d and you can double click on the nodes and edges to select one. When I start my application and then click 3x on a node instead of 2x (so a triple click :)) I get the

Re: [JAVA3D] Using CVS (was: code collection)

2001-08-17 Thread matthias sweertvaegher
hello Corysia thank you very much for the link to that cvsbook it is a very valuable cvssource! maybe this link should be provided on j3d.org in the cvssection (hint, hint ;-)) mattie 8/12/01 5:36:52 AM, Corysia Taware <[EMAIL PROTECTED]> wrote: >Matthias, > >What you descr

Re: [JAVA3D] mixing Swing w/ Java3D

2001-08-09 Thread matthias sweertvaegher
8/9/01 9:57:23 AM, Renoir Sewjee <[EMAIL PROTECTED]> wrote: >> Can a canvas 3D work as one half of a Swing JSplitPane? I've tried it and I >> can slide the splitter to make the canvas bigger, but not smaller. I'd like >> to have a JTree as the other half, and the user may want to slide the split

Re: [JAVA3D] mixing Swing w/ Java3D

2001-08-09 Thread matthias sweertvaegher
hello, 8/9/01 1:45:34 AM, "Copps, Kevin D" <[EMAIL PROTECTED]> wrote: >I realize the issues of mixing lightweight and heavyweight components, >however, I am seeing what is possible... > >Can a canvas 3D work as one half of a Swing JSplitPane? I've tried it and I >can slide the splitter to make t

Re: [JAVA3D] How I can change the point of view

2001-08-07 Thread matthias sweertvaegher
8/7/01 4:30:13 PM, Casanova Robert <[EMAIL PROTECTED]> wrote: >I need to develop a program with great dimensions like 1000x1000x1000 and the quite funny ;-) >typical point of view don't allow me to see what's happening. > >Somebody know how I can see everything far? you could change the backclip

[JAVA3D] picking lines : bounds

2001-08-06 Thread matthias sweertvaegher
hello i have the following problem : when I want to pick lines half of the times, it picks the wrong line I prefer to pick on bounds. The problem is probably the bounds I guess. I wonder if you just specify a LineArray and don't set bounds. Then when doing picking on bounds, what bounds are used

Re: [JAVA3D] JavaHouse demo crashes opening a WRL file

2001-08-06 Thread matthias sweertvaegher
daniel, if you are interested in wrl loading, then the following is probably interesting for you: http://www.external.hrp.no/vr/projects/java3d/navigation/index.html however, the demo doesn't run either here. it's quite stupid , probably my fault I get a classdefnotfoundexc for the vrmlloader

Re: [JAVA3D] cylinder picking

2001-08-06 Thread matthias sweertvaegher
hello, You probably have to set the allow_geometry_read capability of your shape. Note you effectively have to do that on the shape and not on the primitive object like I notice you do. so you have to do something like this : cylinder.getShape().setCapability(Shape3D.ALLOW_GEOMETRY_READ); maybe

Re: [JAVA3D] JavaHouse demo crashes opening a WRL file

2001-08-06 Thread matthias sweertvaegher
i have the same problem and i believe you can't do anything about it regards, mattie 8/6/01 2:55:31 PM, Daniel Moscoso <[EMAIL PROTECTED]> wrote: >Hi all ! > >I'm interested in JavaHouse demo, because it browses WRL files, but when I execute >it, after going to File - Open and selecting house.

Re: [JAVA3D] font scale factor

2001-08-03 Thread matthias sweertvaegher
this is a bug? greetz mattie 8/3/01 11:47:49 AM, matthias sweertvaegher <[EMAIL PROTECTED]> wrote: >hello > >i have the following problem : >Suppose you have a textlabel of the class Text2D >Problem is, if you just display that with normal height (eg fontsize=14) >then i

Re: [JAVA3D] Depth cueing?

2001-08-03 Thread matthias sweertvaegher
8/2/01 10:36:35 AM, Joachim Diepstraten <[EMAIL PROTECTED]> wrote: >Hi > >I wonder if there is a faster way to do depth cueing than >geting the whole Z-Buffer and colorbuffer and do it by hand? >As it's interesting to see that already the very old PHIGS+ >had support for it. > depth cueing is s

Re: [JAVA3D] click count (was: plz Explain!)

2001-08-01 Thread matthias sweertvaegher
hello, maybe I understand your problem wrong but I really don't see a difficulty say your processStimulus looks like this : public void processStimulus(Enumeration aCriteria) { WakeupOnAWTEvent crit = (WakeupOnAWTEvent)aCriteria.nextElement(); java.awt.AWTEvent[] events =

[JAVA3D] RE : window resize policy

2001-08-01 Thread matthias sweertvaegher
hey mark thanks for the reply the resulting policy isn't quite what I wanted but at least it's a bit better :) when i set the windoweyepointpolicy to relative_to_window i find it even more better ;) thanks a lot for the hints greets, mattie >Unfortunately, there are undocumented dependencies b

[JAVA3D] window resize policy

2001-07-31 Thread matthias sweertvaegher
hello i have the following problem : I want my viewport to resize when I resize my window ie I want to use the virtual world viewport policy. However when I set it, nothing changes. for example, i toke the hellouniverse example and added the following line u.getViewer().getView().setWindowResize

Re: [JAVA3D] R: [JAVA3D] AccessControlException

2001-07-31 Thread matthias sweertvaegher
another way is to launch it as an application that way you bypass the security checks mattie 7/31/01 3:24:39 PM, Francesco Colace <[EMAIL PROTECTED]> wrote: >Sorry but I make an error and send you an incomplete mail. >Another way is to use policytool of java and to create a less restrictive >po

[JAVA3D] RE : Orbit behavior freezes (was app freeze problem)

2001-07-30 Thread matthias sweertvaegher
hello thanks for looking into my problem it is indeed fixed by increasing the radius but I don't understand why you believe i am moving outside of the boundingsphere? I thought this wouldn't happen when i use a boundingleaf attached to the viewingplatform? In fact, i am quite sure about that. If

Re: [JAVA3D] boundingleaf issue

2001-07-25 Thread matthias sweertvaegher
7/25/01 7:21:23 AM, Bob Dengle <[EMAIL PROTECTED]> wrote: hello, thanks for the reply it eventually helped me :) I read the section on boundingleafs carefully again and indeed : quote from sun java3d tut ch3 par7 "One interesting application of a BoundingLeaf object places a BoundingLeaf in the

[JAVA3D] boundingleaf issue

2001-07-24 Thread matthias sweertvaegher
hello I do the following : - i add a boundingleaf to the platformgeom and set a orbitbehavior: iVpBoundingLeaf = new BoundingLeaf(new BoundingSphere(new Point3d(0.0,0.0,0.0),100.0)); PlatformGeometry pg = new PlatformGeometry(); pg.addChild(iVpBoundingLeaf); view

Re: [JAVA3D] app freeze problem

2001-07-24 Thread matthias sweertvaegher
7/24/01 1:36:58 AM, Andrea Tartaro <[EMAIL PROTECTED]> wrote: >Please send me the complete source code for this problem and I'll look >into it. This code does contain the createSceneGraph() method. Thanks! > >andrea okay, here is the full source code (I included the project file as well in cas

Re: [JAVA3D] Scene appearance problem

2001-07-23 Thread Matthias Sweertvaegher
hi gaoming, i believe you misunderstand the use of the geometryinfo class : you can give your indexedtrianglearray as input to a geometryinfo object do some processing on your array (ie generate normals) then retrieve the modified version of your indexedtrianglearray from the geometryinfo object

Re: [JAVA3D] Scene appearance problem

2001-07-23 Thread matthias sweertvaegher
7/23/01 4:44:56 PM, gaoming fu <[EMAIL PROTECTED]> wrote: > >I built some polyhedrons using IndexedTriangleArray, the normal for each >vertex point is (0.0, -1.0, 0.0). I used the following code to set the >appearance: i don't really understand why you let all your normals point downwards? m

[JAVA3D]

2001-07-23 Thread matthias sweertvaegher
Hello I have a problem concerning the orbitbehavior class. When I move the mouse for some time (rotate and zoom) , suddenly no more movement is possible, so the app "freezes". I added the boundingleaf of the behavior to the platformgeometry, so the behavior should be always on. I haven't been a

Re: [JAVA3D] Running Java3D apps

2001-07-20 Thread matthias
hello, I also had suddenly problems like Exception in thread "main" java.lang.NoClassDefFoundError -- without reason i just reinstalled java3d and everything ran fine again maybe this helps? ps : also , don't forget to include the current dir (.) in your classpath mattie 7/20/01 2:24:30 PM, F

[JAVA3D] archives

2001-07-18 Thread matthias
hello,   i know one can request archives from the listservbot but these files are several megabytes large so i cant receive them via email (i already tried). Can these archives be viewed/downloaded online via http/ftp?   thanks,   mattie