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
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
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
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
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
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
;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
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
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
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
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
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
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
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
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.
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]
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.
===
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,
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
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
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
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,
>
&
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
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
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?
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
is
really jerky. Any help or comments to make this code faster would be very
helpful.
Regards,
Marco.
LookAtBehavior.java
HelloUniverse.java
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.
all things. I use jdk1.3rc1 and j3d beta1.
Regards,
Marco.
offscreenbug.zip
](..)-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
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
). 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
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
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: &
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>
...
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
, 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
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
>
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
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
>
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
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
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
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
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
-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 "
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
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),
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
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
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
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
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
));
}
}
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?
>
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
55 matches
Mail list logo