Hi again all,
As I have mentioned in the past, we have a rendering engine that supports
skinned articulated rigid bodies. We have used indexed geometry for the
inter-joint polygons and by-copy geometries everywhere else (with judicious
use of our own data caching &c).
Our current problem is due
Title: [JAVA3D] is there ColorPathInterpolator ?
Hello all.
I want to use ColorPathInterpolator
but I don't know it is possible and there is such class.
ColorInterpolator in Java3D have its startColor and endColor.
I want to use multi-knot, N, so that, startColor=Color1, Color2, Color3, .
It looks like the native method:
_Java_javax_media_j3d_GeometryArrayRetained_buildGA
was not found when J3d wanted to call it. This method is in J3d.dll which
means that most likely j3d.dll was not found. Have then follow the generic
instructions for "Unsatisfied link error" that you can find
Im currently carrying out a project where one task requires that i calculate the surface normal of a face from a shape selected by the user. The shape may be rotated/translated/etc before picking. To do this i want to be able to pick a face, return 3 of the vertices making up the corners of the fa
HI Zak,
It looks like you have not added the Behavior to the scene graph.
You should call ViewingPlatform.setViewPlatformBehavior to add the
behavior to the scene.
Rgds
Paul
>Do you have an example on how this works? I have tried it and it keeps spitting
this out. It happens once I try to mo
liming,
The solution is simple. It is true: the only thing that can be added to a
live scene is a branch group. But that is not as restrictive as it may seem
at first because you can add anything to the branchgroup while it is still
not live and then add the branch group to the live scene. So, as
My understanding is that lighting is that each type of light source effects
a different part of the material. The vertex color components are
multiplied with the light source and appropriate material.. Sorry I don't
have my notes with me...
red = vertex_red * (ambient_red * material_diffuse_red)
---
> I guess I've had this trouble for a long time, it's just now getting
> annoying enough to force me to ask about it.
>
:) sounds familiar
> When I create IndexedGeometryArray's with per-vertex coloring and
try to use
> a Material in the Appearance node, the lighting/colorin
> From: Axel Groß <[EMAIL PROTECTED]>
>
> ---
> > I guess I've had this trouble for a long time, it's just now getting
> > annoying enough to force me to ask about it.
> >
>
> :) sounds familiar
>
> > When I create IndexedGeometryArray's with per-vertex coloring and
> try to use
I would assume your correct, but if I change the colors in the Material
object, I definitely get a different appearance at runtime, and it's very
obvious that it's trying to render the Material color as well as the
geometry colors.
Thanks
Don
-Original Message-
From: Axel Groß [mailto:[E
since i suscribe to the discussion list...many people talk about
OrbitBehavior and ViewPlatformBehavior...
but i can't manage de find docs about them...
can someone help me?
===
To unsubscribe, send email to [EMAIL PROTECTE
Hi,
Is it possible to add a behaviour to a live scene?
This problem comes from:
I create an avatar and make it live in the virtual world , then later through interface
(button or menu) I would like to add some behaviour to the avatar. I have tried it but
there is a message displaying that "Res
Do you have an example on how this works? I have
tried it and it keeps spitting this out. It happens once I try to move the
globe.
Exception occurred during event
dispatching:
java.lang.NullPointerException:
at
com.sun.j3d.utils.behaviors.vp.VPMouseBehavior.mousePressed(VPMouseBeha
I guess I've had this trouble for a long time, it's just now getting
annoying enough to force me to ask about it.
When I create IndexedGeometryArray's with per-vertex coloring and try to use
a Material in the Appearance node, the lighting/coloring gets all screwed
up. The coloring is fine if I do
> Zak wrote:
>
> Hello all.
>
> I am trying to do the following. I need to have a viewer to look at
> one spot and stay looking at that spot. I have
> an earth that i always want to look at. Now I want to be able to
> rotate,zoom, and translate the earth with out changing
> the earths transform bu
HI Zak,
Take a look at the com.sun.j3d.utils.behaviors.vp.OrbitBehavior in
Java3D 1.2.1 beta 2. It does exactly what you describe...
Rgds
Paul
--
Paul Byrne Email : [EMAIL PROTECTED]
Sun MicrosystemsP
Hi Pedro,
Java3D did not support 256 color mode display.
It is up to the opengl driver to handle this case,
some OGL driver will fail to create Canvas3D,
other will display strange color like this. In fact,
the D3D version of Java3D will automatically switch
to fullscreen 16 bit color mode in
I have attached a program demonstrating that a Texture image and
TransformGroup don't update synchronously. A cylinder rotates about its y
axis and an image of a small blue rectangle on a yellow background is
created each frame, put into an ImageComponent2D and then into the Texture
of the cylinde
I have a general Java3D question, that may also relate to to hardware.
If I load up a RGB texture that is, say, 256 x 256, that is equal to
65535*RGB = ~ 192 K of texture memory (non-mipmapped)
If I load up a GIF texture that is the same 256 x 256, that is equal to
65535 * 8-bit image = 65535 of
I have seen similar behavior under Windows 2000 where a Java 3D program
runs with software rendering while an OpenGL program runs with hardware
acceleration. In addition the Java 3D program causes all the windows on
the screen to redraw frequently at random intervals (maybe some weird
artifact of
Hello all.
I am trying to do the following. I need to have a
viewer to look at one spot and stay looking at that spot. I have
an earth that i always want to look at. Now I want
to be able to rotate,zoom, and translate the earth with out changing
the earths transform but the viewers.
I
> From: Qiuli Sun <[EMAIL PROTECTED]>
>
> I have a java3D applet. I used NT task manager to see how much memory it
> consumed. Originally, the appletviewer used 21M. After I created a matrix of
> 15000 x 15000, the appletviewer used 81M. Then I deleted the matrix by the
> setting its reference to
Hi.
I work with Java3D Windows version OpenGL in a Windows NT 4.0 system.
I have noticed that JAVA3D appears not to have color dithering.
That is: If i have a display of 256 colors, the colors of the examples
included in the distribution ( and so for any example program i make )
display very stran
Hi Daniel,
Orbit Behavior is designed to move the ViewingPlatform around a
center of rotation while always looking at the center of rotation. So it
won't help you with a Fly behavior, however
The J3dFly demo application we are about to ship includes some extra
behaviors ( Fly, Hover and Driv
Hi,
I have a java3D applet. I used NT task manager to see how much memory it
consumed. Originally, the appletviewer used 21M. After I created a matrix of
15000 x 15000, the appletviewer used 81M. Then I deleted the matrix by the
setting its reference to be null and I called Sytem.gc(). Five minut
My teammate sent this question yesterday, but we haven't heard anything
back yet. The JavaDocs for the JavaSoundMixer (distributed in the Sun
J3D utils) says:
"The JavaSoundMixer Class defines an audio output device that accesses
JavaSound JavaSoundMixer functionality Hae stream data"
I'm not qu
Hello !!
I think that attaching the ViewPlatform under a TG with a Transform3d (rotate the
corresponding degrees all the ViewPlatform) should work.
Dani
Hi,
Does anyone know how to define a viewer's view direction?
I try to make an avatar navigate in a virtual world. I think I need to attach
I found OrbitBehavior in the utils source jar. It looks like something that
would be useful to me, except that I want to navigate by keypresses instead
of mouse movement. What I'm trying to do is create a behavior that would
move the view to create the illusion that the object in view is being
c
Title: Alpha with loopCount = 0
// source line
Alpha alpha = new Alpha (0, Alpha.INCREASING_ENABLE, 0, 0, 0, 0, 0, 0, 0, 0);
PositionInterpolator posInt = new PositionInterpolator (alpha, objMove);
//
I make positionInterpolator to move some object as above.
I thought that if I set loopCount
29 matches
Mail list logo