I am looking to do a specific type of picking and could not find an example
in the archives... I want to be able to click on one of the objects in my
scene and add a wire frame sphere to it on the fly. Is this possible and if
so how? Does anyone know where I can find a copy of the implementatio
Hey All,
I'm having a particularly vexing rotation problem. I want to be able to
rotate around multiple axes simultaneously. Currently, I perform the
multiple rotations by creating 3 Transform3D's, and using rotX(xAngle) on
one, rotY(yAngle) on another, and rotZ(zAngle) on the third. Then I
mu
Ok, Frederic... I tried the HelloUniverse example and it worked perfectly
on my drivers in NT and 98. Well, almost perfectly. It seemed slow.
Unaccelerated slow.
I attempted to run Bench J3D through my browser (apparently I'm missing
MainFrame so I can't run it from the command line?!) but I w
Dear Java3d users
I have a Canvas3d object which has a pixel x and pixel y position (say a
mouse click) for which I'm interested
in finding my data value.
To explain, I've put into my 3d model only PointArray objects whose
coordinate values are between -2000.0 and
2000.0 on any of the three axis
AxisAngle is the right thing to do, and the most efficient. There is
a direct relation from axis/angle to the 4 by 4 3D transformation
matrix. You can find the formular from any robotics text book--look
for the twist/screw representation. Another alternative is the
quaternion, but that still in
Hello ,
Is there some short version of the VRML97 loader that loads only
geometry and attributes (textures, colors, ...) or VRML 1.0
files loader?
Im rhythmus bleiben,
Alex mailto:[EMAIL PROTECTED]
ICQ: 29889167
...Commanded by UNIQUE combination of SOF
Yes I thought it was slow. Previous incarnations (both alpha opengl and beta
directX versions) have been noticiably quick.
Anyone else seen this or knows about it?
Matthew Gahan
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Evan Drumwrigh
Hi all,
can anyone explain to me this phenomen:
I implemented a small VRMLViewer panel that loads a .wrl-file and
displays it, allowing navigation with mousedrags.
If I start this viewer (wrapped in a Frame), rendering of the scene is
very fast and navigation is fluently - like it should be.
But
Julien,
Check your the back clip distance on your view object. It may be set to 50
units and therefore anything beyond 50 units will not be rendered.
Dean
- Original Message -
From: Julien Piaser <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 24, 2000 7:04 AM
Subject:
Jimmy Talbot wrote:
Hi,
This is more a general java programming question, but here goes:
The 'const' keyword in C++ is really useful, as it allows the compiler
to
make some serious optimizations and helps detect bugs at compile-time.
The more-or-less Java equivalent is 'final'. Yet, in almo
Hi All,
I have a question regarding the rendering
quality. Currently when I run my application, the line created by to
objects against each other looks very saw-toothed or jagged, not small jagged
edges but large ones. The scene that is rendered is not as crisp as I
think it should be.
Hi Eric,
I didn't do the on the fly modification with picking
but dabbled with picking. This is how it works:
Have a class which extends PickMouseBehavior and
overrides the method updateScene(int xPos, int yPos).
Add this MousePick instance to the Root of the graph.
public class MousePick exten
I expected the HelloUniverse to work ok with the NT diamond drivers
(only the nvidia detonator NT drivers give problems with HelloUniverse).
But did you try the ReadRaster example with the NT diamond drivers ? (I dont
think that rasters work)
Thanks a lot for your help !
Fred
Evan Drumwright
Gregory,
Couple of questions to clarify your problem:
- your data defines a cloud of points within a cube centered at 0,0,0.
- how are you going to map 2D pixel coordinates to 3D cube coordinates? It
doesn't sounds like you want to intersecting with any of the points... do
you want to intersect w
Const methods and references to const are covered by
Java RFE 4211070 in Sun's bug database under
http://developer.java.sun.com/developer/
. It now has 70 votes, and is (barely) in the top 25 requests for enhancements.
To stay there, it will need more votes.
-Original Message--
Hello.
I have a application that textures a height-grid built using
IndexedTriangleStripArray.
In 1.2B1 the method:
setTextureCoordinateIndices(int index, int[] texCoordIndices)
is deprecated and replaced by
setTextureCoordinateIndex(int texCoordSet, int index, int texCoordIndex)
I am a litt
Hi,
What is really annoying is when classes (like awt...GeneralPath) are
declared final and can't be usefully extended. Sun please note
Regards
Mike
~
+44 (0)20 8949 0353 (Work)
+44 (0)7956 359001 (Mobile)
+44 (0)20 8395 7587 (Home)
Mike Goldwater: [EMAIL P
If you un-jar the java3D source file, you can find the directory with the
behaviors and the two relevant subdirectories mouse and picking.
You definitely want to use the callback method of the picking behaviors and
there is an example of this in the java3D tutorial (Section 4.6). There
are also
Hi folks.
Can anyone recommend a good IDE which allows good debugging of Java 2 and
Java3D?
Andy
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For gen
Hardy,
Nice
explanation. I am also a C++ programmer first and a Java programmer second. I
use "final" in my code as I would use a const reference... At least
that way I can tell from a method signature or documentation whether an object
is intended to be "const" or not.
I also
use "sta
I'm trying to write a MovementBehavior class that moves (translates/rotates)
the view in a way that looks like the object is rotating instead of the
view. I want to use keystrokes to increase and decrease the angle in each
plane that the object appears to be rotated through. In reality, my view
Hello everyone,:)
I just wanted to let those of you who read my previous emails know that
the problem with the stereo has been solved. As suspected, I had to set
the correct left and eye positions in the Canvas3D class AND the
distance between the two eyes in the PhysicalBody class. I hope that
t
In the LineAttributes node there is an anti-aliasing bit which can be set,
it does affect performance if the scene is complex.
LineAttributes(float lineWidth, int linePattern, boolean
lineAntialiasing)
(Antialiasing is available for point, line, and polygon attributes)
I usually create a
> From: Dean Keeler <[EMAIL PROTECTED]>
>
> I have a question regarding the rendering quality. Currently when I run my
> application, the line created by to objects against each other looks very
> saw-toothed or jagged, not small jagged edges but large ones.
This sounds like what happens when th
Dean,
You
can switch on Anti-aliasing for lines (LineAttributes). Also make sure you have
relevant rendering modes set to NICEST. E.g. ColoringAttributes,
Texture.
Sincerely,
Daniel
Selman
[EMAIL PROTECTED]http://www.tornadolabs.com
-Original Message-From: Discussion
As part of my debugging effort, I wanted to display the Canvas3D's framerate
in the window somewhere. I'm overriding Canvas3D, and trying to draw the
string directly into the Graphics of the Canvas3D in postSwap, and it draws,
but with lots of flickering. What would be the best way to do this sort
At 04:23 PM 1/25/00 -, Andrew Phelps wrote:
>Can anyone recommend a good IDE which allows good debugging of Java 2 and
>Java3D?
Real Programmers (tm) debug with System.err.println()
Trying to get the combination of j3d and the visual stuff working together
is IMHO not cost-effective. And I'
I've got a simulation that draws the trajectory for a missile and a kill
vehicle. I've also allowed the user to "view" from the interceptor or
targets perspective. This works great up to a point, but at some random
points in the scene, when viewing from the kill vehicle, the
interceptors lines d
Hello,:)
Does anyone know of any problems between Swing and being able to have
stereoscopic view?Thanks in advance.
Mojtaba
===
To unsubscribe, send email to [EMAIL PROTECTED] and incl
Hi Dag,
MultiTexture has been added to Java3D 1.2 beta 1. A GeometryArray
object or an IndexedGeometryArray object can now include multiple
sets of texture coordinates. A TexCoordSetMap can then be defined to map
a texture coordinate set to a particular texture unit. The texCoordSet
I've had mostly good luck with JBuilder 3.
On Tue, 25 Jan 2000, Andrew Phelps wrote:
> Hi folks.
>
> Can anyone recommend a good IDE which allows good debugging of Java 2 and
> Java3D?
>
> Andy
>
> ===
> To unsubscribe, send
Where can someone get Bench J3D ?
Evan Drumwright wrote:
> Sorry it is taking so long for me to post my results with NT- I have had to
> repartition and reformat part of my drive.. I should be able to tell you
> if I have any problems with it in the next day or so... However, I did try
> Hell
Hi,
The problem is that the redering process necessarily looses information
in the conversion from 3D to 2D and there is no way to go back and
explicitly reconstruct it. If you think about a perspective view and the
view frustrum, the pixel data at any x - y coordinate on the image plate
origi
> From: Juergen Neubauer <[EMAIL PROTECTED]>
> using the Vrml97Viewer from the examples that came with the
> vj3d0.90.2.src [...]
>
> My question is about the navigation in the examine-mode.
> Is it somehow possible to separate the navigation from the object view ?
>
> The problem:
> The zoom is
Dag,
Just pass in zero for the first parameter for the pre 1.2 behavior.
Also check the README file for setting the shared display context property
to false to get your textures working again. This will be set by default in
subsequent releases.
Sincerely,
Daniel Selman
[EMAIL PROTECTED]
http:
Daniel Selman keeps it and other fine utilities at:
http://www.tornadolabs.com/News/news.html
Evan Drumwright
-Original Message-
From: ArtMotion <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, January 25, 2000 9:41 PM
Subject: Re: [JAVA3D] bug with Nvidia dr
http://www.tornadolabs.com/News will lead you there.
lmd
> X-Accept-Language: de, de-AT, en
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Mon, 24 Jan 2000 18:36:59 +0100
> From: ArtMotion <[EMAIL PROTECTED]>
> Subject: Re: [JAVA3D] bug with Nvidia drivers
> To: [EMAIL PROTECTED]
>
dear all:
i try to animate the process of unfolding a box, and the box is formed by six planes
of rectangle. But when i rotate the rectangle with 90 degree along the share edge, it
is found that the rectangle is rotate around the centre. It is roatate around centre
with 90 degree ,but not the
First of all thanks for your help, Lily Lee. AxisAngle is the solution to
rotating about an object's coordinate system rather than the absolute
coordinate system...
However, I am still confused about something. Let's assume I carry out
rotations about the x axis first, then about the transforme
39 matches
Mail list logo