Title: RE: [JAVA3D] Invisibility Differences
We are using the rendering attributes with good/acceptable performance. The trick is that we turn off the rendering of the scene before we touch the attributes. After the attributes are set, we turn on the rendering again.
Pasi
-Original Mes
When you use the method getImagePlateToVworld of a
Canvas3D,
you can get a transform3D that contain a
matrix.
I want to know this matrix how to be calculated
?
What's the mean of Virtual world ?
Thanks very much
Greg Huang
Yes, I believe the Geometry object normally makes copies of all data (coordinates,
normals, etc.).
Have you looked into using the by-reference capability provided by the Geometry
classes? This allows you to store your data in a particular representation (point
array, strips, etc.) and have an G
I have not used setVisible().
The Switch node approach I use all the time. It mostly works, but I have
run into problems when the Switch is part of a SharedGroup and I add
new/more nodes to the SharedGroup. Seems the Switch "forgets" what its
settings are so what I have turned off becomes visibl
> * use setVisible() on its rendering attributes
I tried this and it was unacceptable in that when it was making
something invisible, I can actually see the objects disappear one by one, and
the same when it was making something visible. This was unacceptable for my
application.
> * use
Dear All,
There seem to be three ways to make something 'invisible':
* use setVisible() on its rendering attributes
* use setWhichChild() on a Switch above the shape
* use TransparencyAttributes
I was wondering what differences there are between these approaches,
if any?
- Andrew
-
Hi All,
I was wondering if anyone out there has had any experience writing sound
drivers/engines for java 3D? If so would it be possible to post how you went
about it and any tips/hints? or would you please be able to
get in contact with myself.
I'm wondering how you went about it? software or
Michael Saunders wrote:
When delivering points to a GeometryArray or one of it's subclasses does
the Java3D library make copies of this data if display lists are used
(when I say "copies" I don't mean the display lists I mean an
intermediate representation before the display lists are generated)?
I am resending this message in the hope that the subject line will
attract a response unlike my previous post for which I did not receive
any responses.
When delivering points to a GeometryArray or one of it's subclasses does
the Java3D library make copies of this data if display lists are used
(w
I need to texture mapping some text such as "C A R" to a sphere. First I create a
text2D object then I use TextCoordGeneration. The problem is the text is textured to
the metaball properly, but there is also a reflection of the text is also textured. I
use OBJECT_LINEAR. I can't figure it out.
Read http://www.j3d.org/faq/capturing.html
That should help.
-mike
On Tuesday 05 November 2002 04:05 pm, Risto Rangel-Kuoppa wrote:
> Hello everybody I am trying to get the frame that is actually been
> displayed, as an image, bidimensional array, whatever... I have created
> a behavior that rea
Hello everybody I am trying to get the frame that is actually been
displayed, as an image, bidimensional array, whatever... I have created
a behavior that reacts on each frame, but, How can I get the displayed
frame? If anyone could help I would appreciate it ... I have spend some
time on this and
Hi Raju:
> When the scene is alive, How to hide a geometry of the
> shape3d in a branch group?. I have tried detach() and removechild() methods
> of a branchgroup. These methods are taking lot of time. Any alternative or
> workaround ?.
The Switch class works well for me.
For the shape in the first post. I did another test.
I added one more function (as below) into my WindowPickBehavior class. This
function checks if the left most point (-0.9779, 0, 0.397007) is inside the
PickShape or not?
I run my code and found if my pick window encloses the left most point on
Hi Group,
I am working on some collision detections, when i
place more objects within a branchgroup and try
defining the collision domain, its not functioning
properly. If i just place two objects are that in
collision domain then that works well and good.
So is there any changes i need to make or
You need to set the ALLOW_DETACH capability on the branchgroup.
-mike
On Tuesday 05 November 2002 01:39 pm, Rodrigo Obando Restrepo wrote:
> hi, I need to remove or replace a node from a TransformGroup object, but,
> it´s return the exception:
>
> javax.media.j3d.CapabilityNotSetException: Group:
hi, I need to remove or replace a node from a TransformGroup object, but,
it´s return the exception:
javax.media.j3d.CapabilityNotSetException: Group: no capability to detach
BranchGroup
I have set the transformgroup capabilities for read and write children, also
to it parent branchgroup.
Can so
Wednesday, October 30, 2002, 10:48:00 AM, Joachim Bratteli wrote:
>> This updated code is in CVS, but there is no dev release for it. We
>> were going to put one out today, but a couple of other issues held
>> us back. There will probably be one tomorrow.
> Thanks. I have also been testing with the
I guess the file didn't make it. Here is a cut n paste.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.media.j3d.*;
import javax.vecmath.*;
import com.sun.j3d.utils.universe.*;
import com.sun.j3d.utils.behaviors.vp.*;
import com.sun.j3d.utils.picking.behavio
Definitely recommend those few books...
1 - Computer Graphics using OpenGL author: F.S. Hill, Jr
2 - Real-Time Rendering authors: Tomas Akenine-Moller and Ericd Haines
3 - Computer Graphics Principles and Practice authors: Foly, vam Dam, Feiner
and Hughes
Those three books, IMHO, should get y
First time poster long time listener here..
I jave a group of JToggleButton's, some are pressed, some
are not, within a JPanel within a JMainFrame attached to a JApplet.
I have a Canvas3D in another part of the JMainFrame. I have a
Behavior setup to fire when the mouse is clicked inside the canva
Zak Nixon wrote:
I have all the Java3D programming books that are out, and I was
wondering what other books are out that let me learn about the
underlying techniques of graphics programming. I was also curious if
there were any links to any detailed information on how Java3D is
built, and how the
Hi
Kev,
Once again thanks for great support.
Raju
-Original Message-From: Kevin Glass
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, November 05, 2002 5:21
PMTo: [EMAIL PROTECTED]Subject: Re: [JAVA3D]
detach() of BranchgroupRenderingAttributes
render;//
RenderingAttributes render;
//* CREATING SHAPE *
// when creating your shape, use an appearance with RenderingAttributes set
render = new RenderingAttributes();
Appearance app = new Appearance();
app.setRenderingAttributes(render);
// allow control the rendering attributes when live b
Hi Kevin,
Thanks for your quick response. can you send some sample code
using RenderingAttributes which is of great help to me?.
Thanks,
Raju
-Original Message-
From: Kevin Glass [mailto:avatar@;CUSTARD.ORG]
Sent: Tuesday, November 05, 2002 3:34 PM
To: [EMAIL PROTECTED]
Subjec
RenderingAttributes:
setVisible(false);
Appalaraju.Kvrapati wrote:
Hi Group,
When the scene is alive, How to hide a geometry of the
shape3d in a branch group?. I have tried detach() and removechild() methods
of a branchgroup. These methods are taking lot of time. Any alternativ
Hi Group,
When the scene is alive, How to hide a geometry of the
shape3d in a branch group?. I have tried detach() and removechild() methods
of a branchgroup. These methods are taking lot of time. Any alternative or
workaround ?.
Thanks,
Raju
==
Brad Christiansen wrote:
As stated in the comments, I need to check wether the resulting
roation is greater than 90 d in the x-axis. If it is then I want
to set the rotation to 90d.
What is the best way of doing this?
There are two cases.
1) You are using only rotation around X axis. In such
Hi,
I wish to limit the a rotation around the X axis to a maximum of 90 degrees (absolute
value, can be +'ve or -'ve 90). The
following code is what I am using to do the rotation based on input from the
navigation system:
t3d = new Transform3D();
if(direction == NEGATIVE) {
t3d.ro
We have released a new version, 357, of "Jun for Java".
The major changes since the version 347 includes:
* JunScreenRecorder is a class to generate QuickTime movies
from an entire screen or a part of a screen.
http://www.sra.co.jp/people/aoki/Jun/Topics/ScreenRecorder/index
30 matches
Mail list logo