Let me clarify this. In Java3D, the BufferImage format is only used for
retrieving data from the BufferImage. The ImageComponent is
stored internally according to the ImageComponent format;
if format specifies RGB, R3_G3_B2, RGB4, RGB5, RGB5_A1, RGB8, RGBA, RGBA4,
RGBA8, then the image will be sto
Title: [JAVA3D] Help! : rotation of object
There is a TransfomGroup node that have (3, 0, 0)) by its translation component.
and then I made rotationinterpolator. Its target TG is above TransformGroup node.
however the rotationinterpolator rotates at origin.
Why?
Actually, TG has translation co
Hi,
i have a little problem...
How can i retrieve the coordinate of the viewplatform, after i move this
viewplatform using Transform3D?
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the mess
Or support for Iterators/ListIterators instead of just enumerations. (With
remove support of course). Granted this does require using J2SE...
-Jamie
Qiuli Sun wrote:
> I think it will be extremely useful if Group.remove( Node node ) is added in
> the future API. When I use removeChild(int inde
Will this function do something??
void getLocalToVworld(Transform3D t)
Ahmed
-Original Message-
From: UNG Leng [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 31, 2001 12:33 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Viewplatform coordinates?
Hi,
i have a little problem...
How c
I've been experimenting with GeometryInfo for producing triangulations of
arbitrary polygons, and according to the docs/examples, you should create
an array of coordinates, assign them to a GeometryInfo, and then call
Triangulator's triangulate() method to triangulate the polygon. However,
in the
I tried posting this earlier, but it never showed up on the list...
I have put this off far too long, but before I dive into this I have a few
questions.
First how I think it is supposed to work.
1. My understanding is every single alpha blended shape has to be sorted by
our own code, if not o
To clarify this a step further, Java3D can support GIF textures as 8-bit
textures, but this doesn't happen by default. The current TextureLoader will
load your texture into an RGBA format, so you'll get 32 bit textures from your
GIF file.
If you want to load a GIF as an 8 bit texture, you'll nee
I think it will be extremely useful if Group.remove( Node node ) is added in
the future API. When I use removeChild(int index) to remove object, I always
hope to have a more convienient method to do it.
Qiuli
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECT
Hi Gregory,
The Group.remove( Node node ) method has already been added to the proposed
Java3D 1.3 API specification.
Rgds
Paul
--
Paul Byrne Email : [EMAIL PROTECTED]
Sun MicrosystemsPhone : (650) 786
Ok. Thakx for the info, Kelvin :)
Pedro
Kelvin Chung wrote:
> Hi Pedro,
>
> >Ok, so this means a Windows NT 4.0 user ( wich must use OpenGL versions ) must
> >run in 64K color mode, right ?
>
> Yes.
>
> >More: On the D3D version, if the user is in 256 color mode, it switches
> >AUTOMATICALLY t
Shawn,
Java3D will send down 8-bit image as 8-bit image to OpenGL or DirectX.
So it's up to the driver if they can texture natively using the 8-bit image.
Charmaine Lee
Java3D Engineering Team
> X-Accept-Language: en,pdf
> MIME-Version: 1.0
> Content-Transfer-Encoding: 7bit
> Date: Tue, 30 Ja
Hi,
We are trying to make animation with Alpha class : we have to
create a movement from one point to another,
and after from this one to another again and
etc...
We are using the PositionInterpolator class and we would like
to know if we have to use many Alpha classes or only one.
For the
This email answers several OrbitBehavior questions...
> Zak wrote:
>
> How can I swap the way the mouse moves? Whenever I move it left it
> (the object ) goes right. I want it to go the way the mouse does...
>
> Thanks in advance
>
That is because you are actually moving the view instead of the
To All,
I quickly looked at the Java 3D API documentation before writing this
note, so my apologies if I missed something and my knowledge is
incorrect.
But, this small issue brings up something about the Java3D API that has
always irritated me personally. I believe there should be a removeChil
Hi Pedro,
>Ok, so this means a Windows NT 4.0 user ( wich must use OpenGL versions ) must
>run in 64K color mode, right ?
Yes.
>More: On the D3D version, if the user is in 256 color mode, it switches
>AUTOMATICALLY to 64K full screen ? What happens to the components other than
>Canvas3D. By ful
> How can I swap the way the mouse moves? Whenever I move it left it (the
> object ) goes right. I want it to go the way the mouse does...
Check the flags. The mouse behaviors have flags which invert the action.
Doug Gehringer
Sun Microsystems
==
I assume you mean the translate behavior. There is a method called
invert() for the behaviors that is used to switch the direction things
move but this is usually used on the viewer since the viewer and an
object react opposite to each other.
But before you do anything, let me ask you, are you
This message is really from Kevin Rushforth <[EMAIL PROTECTED]> who
can't post right now due to a mailer error:
One point of clarification. When lighting is enabled, per-vertex
colors in Java 3D override the diffuse color in the Material only. The
ambient color is left alone. Sorry for any co
How can I swap the way the mouse moves? Whenever I
move it left it (the object ) goes right. I want it to go the way the mouse
does...
Thanks in advance
Zak
Hi Firas,
By triangulating the polygon, you seem to be trying to "close" the top and
bottom faces of the extruded solid, which you probably don't want to
do (on the other hand, that would be a nice feature in addition to
extrusion, I guess). Even if you do close the faces, the core problem of
ext
I have posted may times on similiar problems.
The short of it is that in the current versions 1.2.x, the only work
around for MOST sync problems is to guarantee execution in the same
behavior. We use a custom behavior manager to get around this.
Unfortunately, it means we have to "adopt" any comm
Hello,
I am new to Java3D and I have the following problem :
I need to visualize 3D shapes which are extruded from 2d ones. Which
means that the base is a 2d surface and the volume
is only the extrusion for a certain height (or thckness) of this surface.
My problem is that my 2d shape could be an
Thank you all for replying.
It seems to be a little trick. I never thought of that the index operates in
such a mechanism. It should be mentioned in the api.
Liming
===
To unsubscribe, send email to [EMAIL PROTECTED] and i
Ok, so this means a Windows NT 4.0 user ( wich must use OpenGL versions ) must
run in 64K color mode, right ?
More: On the D3D version, if the user is in 256 color mode, it switches
AUTOMATICALLY to 64K full screen ? What happens to the components other than
Canvas3D. By fullscreen you mean someth
i think i never saw so many similiar responses to the same question.. lol
that was original.. keep up the good work guys : ))
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of J. Lee Dixon
Sent: Wednesday, January 31, 2001 8:44 AM
To: [EMAIL P
As you remove each child the number of children in the branch group is
reduced. If you want to remove the child nodes do this:
for( int i = (bg.numChildren() - 1); i >= 0; i-- ) {
bg.removeChild( i );
}
This removes the child nodes from the back of the list rather than the front
as you were d
When you remove a child, they all shift down by one.
Try this:
for( j=0; j 0 )
{
bg.removeChild(0);
}
-Lee
J. Lee Dixon
SAIC - Celebration, FL
407-566-1438
[EMAIL PROTECTED]AOL: LeeOrlando
> -Original Message-
> From: Liming CHEN [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, Janu
Try removing them from last to first. Once you have removed 0, all the
others are shifted down, leaving 0..5. So basically by the time you go to
remove the 4th, you only have 0..3 left.
Dave Yazel
- Original Message -
From: Liming CHEN <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent:
That's kind of a joke!!!
are you aware that removing children could cause the numChildren() to decrement
This was refreshing!
Cheers,
Karsten
Liming CHEN wrote:
> Hi,
>
> I add seven children (Behaviour) to a BranchGroup. Then I try to remove all these
> children by the following codes
>
On Wed, 31 Jan 2001, Liming CHEN wrote:
> Hi,
>
> I add seven children (Behaviour) to a BranchGroup. Then I try to remove all these
> children by the following codes
>
> int childNum = bg.numChildren();
> for( int j =0; j System.out.println(" test child number" + childNum + " "
children always count from 0, so if you remove 1 child from your 7, the
remaining occupy indices 0-5, and so on,
int childNum = bg.numChildren();
for( int j =0; j0)
{
bg.removeChild(0);
}
is probably neater
David Turland
> ---
I was told that there was a
setViewingPlatformBehavior method. Is there such a thing? And does anyone know
how to use the OrbitBehavior class?
Zak
Hi,
I add seven children (Behaviour) to a BranchGroup. Then I try to remove all these
children by the following codes
int childNum = bg.numChildren();
for( int j =0; j= 3
at java.util.Vector.elementAt(Vector.java:417)
at javax.media.j3d.GroupRetained.doRemoveChild(GroupRetained.java:3
is there a way in java to know if the graphics card support directx or
openGL?
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send emai
Good question Shawn.
I have been wondering about this for some time too, but have been too busy/lazy to
write a post or run a test.
I'd love to know the answer too! (..hint, hint j3d team..).
Thanks
Young.
::
Young Ly
Liquid Edge Games
http://www.rob
36 matches
Mail list logo