[JAVA3D] Flickering of overlapping Shape3Ds during animation

2004-08-24 Thread Marco
One Shape3D is moved by modification of a TransformGroup. The other one is modified by a Behavior object by updating the coordinates of the underlying TriangleArray. Java3D seems to - move the first Shape3D - render the scene - update the geometry of the second Shape3D - render again So the first r

[JAVA3D] Problems with 2 Frames

2003-04-02 Thread Marco Lombardo
he PC wait i don't know what). Then, in the program I have removed Canvas3d first that I pushed the JButton and also, I have increased the Memory of VM (java -mx64) : I have obtained good results, but the problems sometimes happens again. It's strange. Can I have a help? Thanks Marco  

[JAVA3D] PrintCanvas3DWorking

2003-03-21 Thread Marco Lombardo
Hi, I'm Marco Lombardo from Italy. I'm Electronic Engineer and I work in a Informatic Company in Italy. Now I'm writing a source .java with java 3d API and I woul'd like to know better how work PrintCanvas3D file (in demo J2SDK 1.4.1) and specially how is written files

[JAVA3D] ...deleting objects from a scene...

2002-11-13 Thread Marco Mamei
suggestion Marco P.S. Here in the follow I report the code I wrote... private void removeFromScene(Node bye) { /* remove the link from the scene */ int k = 0; Enumeration e = this.getAllChildren(); while(e.hasMoreElements()) { Node x = (Node)e.nextElement(); if (x instanceof BranchGroup

[JAVA3D] Visualiza a mobile network with java 3D...

2002-11-09 Thread Marco Mamei
he network-links move/appear/disapper accordingly to nodes movements. Do you know where to find a code sample or a tutorial addressing a similar problem? Thanks in advance for any suggestion Marco === To unsubscribe, send email

[JAVA3D] OffscreenCanvas problems

2002-02-07 Thread marco fiocca
Hello guys, I have a problem; I use an offscreen Canvas3D with a ImageComponent2D with 16 bit per pixel and when I render my lines their pixels are not of the same color, but, for example, one (0,0,0) ant the nearer(0,4,0) and so on. I have to do a pixel per pixel control on the rendered i

[JAVA3D] setting GraphicsConfiguration

2002-02-06 Thread Marco Fiocca
;ll have a performance boost. My question is: how I can make Java3D give me this configuration? Thanks in advance, Marco === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff

[JAVA3D] Color changing

2002-01-31 Thread marco fiocca
Hello guys I use j3d1.3beta1 and I have a problem: I had to do control pixel per pixel a rendered image. The problem is that a shape that I create like a cube is rendered with the color I setted in ColoringAttributes and a color very near. At the eye they are the same, put control on the p

[JAVA3D] Add lines on the borders of a cube

2002-01-10 Thread marco fiocca
this is because the coordinates between border and line vertices are not exactly the same, and so the lines appear more far then the cube face. How can I solve my problem? There's not a way to outline the borders of a cube with different colors? Thanks

[JAVA3D] problem with getPixelLocationFromImagePlate()

2002-01-08 Thread Marco Fiocca
Hello everybody, I have a problem with this method. I want to have the projection of a Point3d from ImagePlate to java.awt coordinates, but I can't do this. I use an offscreen canvas and perhaps this is the problem; When I run this piece of code the result in p1out is (Nan,Nan) while I would expe

[JAVA3D] capturing images

2001-12-03 Thread Marco Fiocca
Hello guys, I have a great problem! I want to capture frame in a java3D scene, and so I used the code in FAQ on www.j3d.org. But there's a problem: sometimes (frequently) my image is a blank image. Can someone help me? === T

[JAVA3D] adding object with mouse

2001-11-26 Thread Marco Fiocca
hanks in advance. Marco === 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 PROTECTED] and include in the body

[JAVA3D] Texturing all the faces of a cube with WRAP mode, how can i do this?

2001-11-15 Thread marco
n the upper and lower face too? P.S. i can't make an object of every face: i have too many "cubes" :( Thanks in advance Marco Romano. === To unsubscribe, send email to [EMAIL PROTECTED

Re: [JAVA3D] AccessDeniedException while loading a 3ds file from an URL (using ncsa Portfolio)

2001-11-15 Thread marco
form().setTransform(donaldDuck); simpleU.addBranchGraph(scene); } public static void main(String[] args) { Frame frame = new MainFrame(new YourClass(), 450, 450); } } END This is not bugless or

Re: [JAVA3D] Swing on SGI 320

2000-09-13 Thread Marco Lohse
SUN and much faster on a laptop. And yes, we do have the yellow color problem as well. Yesterday I tried JBuilder 3.5 and you simply cannot use it because it freezes all the time whereas Visual Age for Java 3.0 runs fine on our SGI. Have you tried changing some of the SGI display options? Marco.

Re: [JAVA3D] Your Java3D Applications

2000-08-31 Thread Marco Lohse
URL: www.marco-lohse.de/booth.htm My work is part of a research project which consists of several projects, some also use Java3D: an animated presentation agent, a semantic layer for virtual worlds and a path search modul. Marco. From: "Crossley, Allistair (A.)" <[EMAIL PROTECTED]

Re: [JAVA3D] byReference: Confusion or Bugs?

2000-08-09 Thread Marco Lohse
ataBuffer inside a BufferedImage very fast: Accessing BufferedImage with int[] intData = ((DataBufferInt)bimg.getRaster().getDataBuffer()).getData(); is 10 times faster then BufferedImage.setRGB(..). Hope that helps, Marco. ===

Re: [JAVA3D] drawing objects only in certain views

2000-08-08 Thread Marco Lohse
of those 3 branches are a no longer the 'real' world coordinates... Maybe you could also use multiple Locale-objects instead of branches. Hope that helps, Marco. From: "Ian Nieves" <[EMAIL PROTECTED]> > Hello all, > > I have 3 orthographic views showing objects,

[JAVA3D] Java3D and JMF

2000-08-07 Thread Marco Lohse
1) I would like to know, if someone has tried to use Java3D and the JMF, for example to create a video texture and a PointSound from a JMF stream. 2) And I would like to know if Sun is planning to create an interface between those two. Marco

Re: [JAVA3D] Smooth, simple animation

2000-07-03 Thread Marco Lohse
Hi Joerg, maybe you should take a look at the PathInterpolator-class and subclasses. They run quite smooth. I think there is a TCB spline interpolator class with sources included in the j3d utilities. Hope that helps, Marco. Joerg 'Herkules' Plewe wrote: > > Imagine you i

Re: [JAVA3D] Several views of the same object!

2000-06-15 Thread Marco Lohse
Viewplatforms, like Locale --TransformGroup0 TransformGroup1 --Viewplatform1 TransformGroup2 --Viewplatform2 TransformGroup1 and TransformGroup2 then define your different views and TransformGroup0 must be changed to change both Viewplatform1 and Viewplatform2. Marco. > Br

Re: [JAVA3D] Partial update of live GeometryArray

2000-05-03 Thread Marco Lohse
Hi Khai, on Monday Uma Sabada wrote an answer to a similar question. Another thing I can tell you from my experience is that it is faster to use geometry by reference with J3D 1.2 or to update the whole geometry array with one function call. Regards, Marco. Khai Weyn wrote: > > Hi, > &

Re: [JAVA3D] Changing the length of strips & GeometryArrays

2000-04-29 Thread Marco Lohse
use immediate mode rendering,... Regards, Marco. - Original Message - From: D.A. Woods <[EMAIL PROTECTED]> > Hi there, > > I need to lengthen, shorten, add & remove triangle strips at run > time. > > Does anyone have any idea how to do this effice

Re: [JAVA3D] Transform3D frustum

2000-04-29 Thread Marco Lohse
Hi Wei, > I used Transform3D.frustum(...) object for transformation. The TransformGroup node is used as an ancestor of a ViewPlatform node in the SimpleUniverse. When I run the application, there is a BadTransformException: TransformGroup: no-affine transform. Can anyone show me how to make this

[JAVA3D] executable jar file does not work

2000-04-15 Thread Marco Lohse
ile in the jar-archive I cannot start it :-( Regards, Marco. ( I am using jdk1.3rc, j3d beta2) - Original Message - From: Vladimir Olenin <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 16, 1999 4:41 PM Subject: Re: [JAVA3D] Executable JAR-files with Java 3D?

Re: [JAVA3D] LookAtBehavior

2000-04-09 Thread Marco Lohse
I am sorry, but since some people had trouble compiling the code: I forgot to tell you that I use jdk1.3rc2 and j3d beta2. - Original Message - From: Marco Lohse <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 08, 2000 8:00 PM Subject: [JAVA3D] LookAtBeh

[JAVA3D] LookAtBehavior

2000-04-08 Thread Marco Lohse
is really jerky. Any help or comments to make this code faster would be very helpful. Regards, Marco. LookAtBehavior.java HelloUniverse.java

Re: [JAVA3D] navigate from a mouving point

2000-04-08 Thread Marco Lohse
ewplatform Now,when changing the TransformGroup above yourObject with an Interpolator-object your viewplatform does not change its position relatively to yourObject. Unfortunately, I am no fan of the SimpleUniverse, so I cannot tell you how to build this scenegraph branch with this class.

[JAVA3D] Bug in offscreen rendering?

2000-03-29 Thread Marco Lohse
all things. I use jdk1.3rc1 and j3d beta1. Regards, Marco. offscreenbug.zip

Re: [JAVA3D] Primitive construction - inefficient geometry

2000-03-18 Thread Marco Lohse
](..)-function. it is nearly the same for other primitives, just have a look in the docs, Greets, Marco. - Original Message - From: Casteel, Don <[EMAIL PROTECTED]> > I'd love to find out how to export in OBJ format. > > Please let me know ho

[JAVA3D] GraphicsConfiguration != null

2000-03-18 Thread Marco Lohse
Hi, I would like to know how to construct a Canvas3D with GraphicsConfiguration != null in a non-SimpleUniverse environment since Beta1 gives a warning. Thanks, Marco. === To unsubscribe, send email to [EMAIL PROTECTED] and

Re: [JAVA3D] Bug in setColor in Beta1

2000-03-16 Thread Marco Lohse
). That is why so many garbage collection is done (see below). Is this the same with other set-functions in j3d Beta1 ? Any comments welcome, Marco. - Original Message - From: Marco Lohse <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 14, 2000 8:50 AM Subj

Re: [JAVA3D] Java3D Performance Help

2000-03-14 Thread Marco Lohse
to J3D beta1 (with jdk1.2.2) was that all animations became very jerky (not really slow, more like stopping and starting again). Is there an improvement when updating from J3DBeta1/jdk1.2.2 to J3DBeta1/jdk1.3rc ? Marco. === To unsubscr

Re: [JAVA3D] Primitive construction - inefficient geometry

2000-03-14 Thread Marco Lohse
Hi, I have discoverd the same with Cylinder and even more: by inspecting the coordinates I found that only every second triangle of the body seems to be necessary (since it is constructed as a fan, I think). Marco. - Original Message - From: Andy Wilkinson <[EMAIL PROTECTED]> To: &

[JAVA3D] Bug in setColor in Beta1

2000-03-13 Thread Marco Lohse
1-2 seconds! Also, I get very huge garbage collector calls (see below), which I do not get without calling setColor(). Is this a bug, or a problem with calling Canvas3D with GraphicsConfiguration = null ? Thanks for any comments, Marco. = 4), weak 0, final 24, phantom 0>

[JAVA3D] Banshee

2000-03-07 Thread Marco Lohse
... Thanks for any comment, Marco. === 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 PROTECTED] and include i

Re: [JAVA3D] Where Camera points

2000-03-05 Thread Marco Lohse
, Marco. protected void calcQuatsFromPositions() { Point3d eye= new Point3d(); Point3d center = new Point3d(); Vector3d up= new Vector3d(0.0, 1.0, 0.0); Transform3D looky = new Transform3D(); Quat4f quat = new Quat4f(); for(int i = 0, j = 1; j < positions.s

Re: [JAVA3D] DEM with IndexedTriangleStripArray

2000-02-09 Thread marco morais
what you find out about how reasonable it is. marco morais ucsb geography - Original Message - From: Patrick Horisberger <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 02, 2000 6:08 AM Subject: [JAVA3D] DEM with IndexedTriangleStripArray > shello >

Re: [JAVA3D] appending arrays

2000-01-23 Thread Marco Morais
linear algebra for use in scientific computing. http://nicewww.cern.ch/~hoschek/colt/index.htm They have some nice classes which complement java.util.Array for implementing resizable arrays as well as lists of Java primitive types backed by arrays. marco morais ucsb geography On Sun, 23 Jan 2000, The

Re: [JAVA3D] using DEMs in j3d

2000-01-19 Thread Marco Morais
to reverse engineer this format... http://gdal.velocet.ca/projects/ Hope this helps. marco morais ucsb geography On Tue, 18 Jan 2000, kishore puvvada wrote: > Pete, Hi, > thanks for the info. Now a more basic question, Can u > recommend general informational site/link on the terms >

Re: [JAVA3D] multiple window

2000-01-03 Thread Marco Lohse
hi Thomas, maybe you are looking for Screen3D.setHeadTracker...() and setTrackerBase...() ? Marco. Thomas Ruge wrote: > > we have a 180 degree projection wall running with 3 projectors. These > 3 projectors get there input from 3 graphic cards on one PC. This > installation is

Re: [JAVA3D] help setting direction

1999-12-10 Thread Marco Lohse
hello Wayne, I have not checked out your code yet, but maybe you should take a look at Transform3D.lookAt(..). Marco. "wayne c deprince jr." wrote: > > ciao all, > just need some help with a simple problem.. i want to set the > direction (or orientation i guess) of

[JAVA3D] Bug in Transform3D ?

1999-11-26 Thread Marco Lohse
or something we got wrong? Thanks a lot, Marco. code: TransformGroup tg = new TransformGroup(); Transform3D t3d = new Transform3D(); float[] m = new float[16]; t3d.ortho(0.0, 10.0, 0.0, 10.0, -1.0, 1.0); System.out.println(t3d.getBestType()); System.out.println(t3d); try

Re: [JAVA3D] Zooming using a parallel view

1999-11-21 Thread Marco Lohse
you can also use Transform3D.ortho(...), that was what I was looking for when I posted the same problem a few days ago. Marco. - Original Message - From: Blaine Alex Bell <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, November 21, 1999 2:44 AM Subject: Re: [JAV

[JAVA3D] Parallel Projection

1999-11-16 Thread Marco Lohse
Hi, I want to switch between perspective and parallel projection without changing the "viewpoint". But when I just switch to parallel mode, I get too large objects. How can I enlargen the portion of the world which is rendered in my canvas? Thanks for any hi

[JAVA3D] hashCode() Function ?

1999-11-10 Thread Marco Lohse
-1.0, -1.0, 1.0) hashCode() 1065353216 Tuple3f (-1.0, 1.0, -1.0) hashCode() 1065353216 ... This must be a miracle ;-( Marco. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "

Re: [JAVA3D] Alpha interpolation

1999-11-08 Thread Marco Lohse
look at the SplineAnim.java in the java3d demos-directory. Marco. Magnus Andersson wrote: > > Hello! > > I have a problem using the alpha interpolation. I want an object to move > in different ways without interruptions. > > So I am thinking of using some alhpa interpolations

Re: [JAVA3D] Behavior.setEnable(false)????

1999-10-28 Thread Marco Lohse
branch including the Behavior. Marco. "Leung, Sunny" wrote: > > Hi, > > I have tried to use Behavior.setEnable(false) to disable a behavior at > run-time but the behavior still working at the background. So what is the > real function of Behavior.setEnabled(false),

Re: [JAVA3D] Alpha and PathInterpolator

1999-10-27 Thread Marco Lohse
whole thing starting with the stored values of the Transform3D and the rest of the animation data starting with lowerKnot. Then I reatched the Behavior. I know this is not the best solution but maybe someone has a better idea, like usinf an Alpha Object with pause-function. Marco. - Original

Re: [JAVA3D] Multiple views of same Universe.

1999-10-23 Thread Marco Lohse
Hello, if you are not using SimpleUniverse you just have create two branches from Locale down to two different viewplatforms and insert a TransformGroups with different Transform3D to  each branch. This Transform3D will give you two different views of the same Universe.   Marco

Re: [JAVA3D] Using Quaternions and RotPosPathInterpolator

1999-10-22 Thread Marco Lohse
qt1 to qt2 on the four-dimensional union-sphere is taken. But I am really not sure about that... Marco. - Original Message - From: Pascal Christian Fenkam <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 22, 1999 2:49 PM Subject: [JAVA3D] Usi

Re: [JAVA3D] Help on Transform Group

1999-10-07 Thread Marco Lohse
Hi, I guess your behavior resets the TransformGroup´s Transform3D. One solution is to use two TransformGroups, one for the scaling and one for the behavior, like ScaleTransform.addChild(behaviorTransform); Marco. >Hi!!! > >I've wrote a Java3d program which loads a vrml model, l

Re: [JAVA3D] Behaviors

1999-09-25 Thread Marco Lohse
Hi, on live graphs you can only attach BranchGroups. So you have to create a new BranchGroup, add your Behavior to the BranchGroup and add the BranchGroup to your graph. The node in the graph where you add this new BranchGroup needs the right capabilities. Marco. -Ursprüngliche Nachricht

Re: [JAVA3D] Using WakeUpOnBehaviorPost

1999-09-16 Thread Marco Lohse
)); } } 2.) Now you can post postId(someIntegerValue); Hope it helps, Marco. >Hi, > >Is there any examples available which demonstrates the use of >WakeUpOnBehaviorPost(). I am planning to use WakeUpOnBehaviorPost() to >perform tasks once the WakeUpOnCollisionEntry() is activated? >

Re: [JAVA3D] Detaching BranchGroup

1999-09-16 Thread Marco Lohse
Hi again, try Behavior.setEnabled(false); Marco. >Hi, > >I have tried to detach a branchgroup inside a WakeupOnCollisionEntry() >behavior, although I can detach the branchgroup successfully, but the >behavior node which attached to that particular branch group seemed to still