> -Original Message-
> From: Chad Zalkin [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 23. Juli 2002 18:47
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Animated textures
>
>
> I've yet to try this in any way, shape, or form, but I
> thought I'd see what
> everyone thinks first.
>
> I have a
Doing that:
for(i = 0; i < tableNo; i++)
Gives a Null Pointer Exception when the program is
run... I can't seem to shake it!
Any ideas?
KP
--- "Raj N. Vaidya" <[EMAIL PROTECTED]> wrote: >
>for(i = 0; i > tableNo; i++)
>
> Typo ? Did you mean "i < tableNo" ?
>
> Regards
>
> Vaidya
>
>
You've created your array, be you actually create any objects in the array.
Object[] array = new Object[100];
Only creates space for 100 Objects, it creates no actual objects... you need
to do a
array[i] = new Object();
for each element.
Kev
Karl Parry wrote:
[EMAIL PROTECTED]">
D
Karl Parry wrote:
> Hi,
> I have an object that specifies a table, I want to be
> able to create an array of these objects (the uses
> says how many). Then these objects are placed in the
> scene.
>
> I have the following snippit of code:
>
> Table[] table = new Table[tableNo];
>
> for(i = 0; i >
Hi Kelvin,
I've tried your program and everything was OK.
So, I changed the program to reflect my case (you can find the files as
attachment).
The class DummyJFrame has two buttons:
"One Frame" - when you push the Button one MultiCanvases is
instanciated and made visible. If I close this wind
Hi
In my application (which displays ans manipulates OBJ files), I created
an option whiwh allows the user to capture and print the canvas3D. My
code was largely inspired by the demo PrintCanvas3D by Sun.
My problem is when I start this option, the canvas3D is freezed and I've
got this message er
I find that if I run with a fairly large printcanvas I need to increase
java's memory as well. These days I run with 500Mb:
java -Xmx500m
David Bourgais wrote:
> Hi
>
> In my application (which displays ans manipulates OBJ files), I created
> an option whiwh allows the user to capture and print
Octavian Nasarimba wrote:
> So, it might be a driver problem after all.
>
> I would appreciate if somebody from this list could test the program
> (especially on NVidia cards!!).
Works ok in all cases. GeForce 256, detonator 29.42, WinXP, JDK1.4RC,
java3d 1.3.
Artur
===
Title: Message
Hi,
just
use :
TransformGroup tg =
(TransformGroup)myShape3DObject.getParent();
Hope
this helps,
Andreas
-Original Message-From: Discussion list
for Java 3D API [mailto:[EMAIL PROTECTED]] On Behalf Of
Jonathan SmolarskiSent: Dienstag, 23. Juli 2002
Morning all,
I've been looking at improving the performance of my old project as it looks like we
may be needing the code again for the next version of my friends PBeM game.
The basic context of the 3D components is to visualise information gathered on the
galaxy around you to aide your strate
If I understand you right,
you wanted an animated camera move ?
Then you should write your own Behaviour,
which uses the WakeUpOnElapsedFrames Criterion.
For every Frame you have to calculate the new camera position.
The Behaviour should stop running when the new position has been
reached.
See
Hi Mattijs !
It works better now. Thanks !
David Bourgais
===
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 PROTECT
Hi,
Yes, it is true, I have an older version of Detonator (28.32) but I
would like
to keep it since the new versions can not be patched with SoftQuadro
anymore and
I really need stereo.
Artur Biesiadowski wrote:
>
> Octavian Nasarimba wrote:
>
> > So, it might be a driver problem after all.
> >
Jason Taylor wrote:
> I know that having a single PointArray with 300 points is more efficient then 300 of
>them with 1 point but I need the stars to switch LOD independent of each other and
>there's four different colours.
Still, it will probably be better to use single PointArray. Use verte
Title: Re: Re: [JAVA3D] Live Object
The getParent() method only work on non-lived, non-compiled object. What I need is a way to retrieve the parent node of a lived-object. For example, I want to get the Transform3D associated to the TransformGroup of a picked object from my sceneGraph.
Cordi
Title: Re: Re: [JAVA3D] Live Object
Arn't there some capabilities you can set on the shape to allow getting the
parent on a live node?
Kev
Jonathan Smolarski wrote:
000201c23316$0fa90f30$420a@Active3DSt3">
The getParent() method only work on non-lived,
non-compiled object. What I
Title: SceneGraphFileWriter
Hi, <<...>>
I'm trying to use the SceneGraphFileWriter to save simpleUniverse on a file.
Problem is : I keep getting CapabilityNotSetException even when I set all capabilities on all Group nodes of the scene.
I join a simple example of what I do. If someone co
Alas my IDE has died so I can't check this myself but what I do is setUserData all my
nodes and then do searches from the root when live. As long as all the capibilities
are set I'm sure you should be able to find the object you need.
Of course I maybe talking complete cr*p! :)
Jase.
Title: Message
mmmh.
thought I use getparent on live scenegraph... I maybe wrong, can not find
example yet.
-Original Message-From: Discussion list
for Java 3D API [mailto:[EMAIL PROTECTED]] On Behalf Of
Jonathan SmolarskiSent: Mittwoch, 24. Juli 2002
15:29To: [EMAIL PRO
I found the problem in my code!
I had built up an array of objects:
Table[] table = new table[tableNo];
but I hadn't intialised them in the for loop! whoops!
Anyway the code now works and is as follows:
Table[] table = new Table[tableNo];
for(i = 0; i < (tableNo); i++)
{
table[i] = new Ta
Hello,
One of my top-most group nodes is a TransformGroup that is
used for non-uniform z-scaling. When the z-scale changes
I'm experiencing darkening of all my objects.
Uniform scaling does not show this problem.
There are no headlights and it does not seem to matter
whether I add the lights bel
Thanks for your reply Justin
Well I'm working on a p3@800 wirh 512 Mb and a geForce 2 GTS with 64 Mb (with Win98), so I tryed the labelOverlayDemo sample and I get 1 or 2 FPS (do you have similar performance ?) I take a look at the overlay library and it is really a great job, and I don''t understa
Hi all,
I previously sent a tooltip implementation using a JWindow to another
list that will solves your problem also. The code is in the forwarded
email far below. This is how you can use it in a Canvas3D:
public class ViewDlg extends JDialog
{
private View3D view3D;
private SiteTree siteT
Hi Octavian,
I can't reproduce the crash under our GeForce card
and Solaris. I believe it is a driver issues.
- Kelvin
--
Java 3D Team
Sun Microsystems Inc.
>Date: Wed, 24 Jul 2002 11:49:01 +0200
>From: Octavian Nasarimba <[EMAIL PROTECTED]>
>Subject: Re: [JAVA3D] JVM crash: is i
>>> [EMAIL PROTECTED] 07/22/02 22:07 PM >>>
>to call View.setTransparencySortingPolicy(View.TRANSPARENCY_SORT_GEOMETRY),
I tried this in my app and it fixed a load of depth sorting issues with transparent
and antialiased point/line arrays. How ever I've just found a really bizarre bug.
With thi
Does anyone have an idea what the target
release is for this bug fix? The web site indicates that it has been
qualified as a bug and is 'in progress' but no date as to when a fix would be
available or what release of the VM they are targeting the fix for.
Peter
Peter Worth[EMAIL PROTECTE
Re: Re: [JAVA3D] Live ObjectHi Jonathan and others on this thread,
there were too many "might be ..."s and "is'nt it that ..."s in
this thread, so, in short: RTFM.
In long: please (re)read the excellent Java3D tutorial chapter
4.6 Picking; it explains it very well. Specifically look at
Figure 4-
Hi everyone,
Question for all of you. i have install Java(TM) 2 SDK, Standard Edition and i'm
unable to find the javax.jar.
I'm missing something.. ?
Any Suggestions.
Thanks in advance..
Sumit
==To
unsubscribe, send
> Date: Wed, 24 Jul 2002 10:58:47 -0400
> From: Robert <[EMAIL PROTECTED]>
>
> One of my top-most group nodes is a TransformGroup that is
> used for non-uniform z-scaling. When the z-scale changes
> I'm experiencing darkening of all my objects.
> Uniform scaling does not show this problem.
> Date: Tue, 23 Jul 2002 15:42:28 +0530
> From: "Nitin.Jain" <[EMAIL PROTECTED]>
>
> I have a point array in my view. I want to have a pick utility which picks
> one of these points, even if it is not clicked very near to the point. I'm
> creating a Cylindrical PickRay for that with the re
> Date: Wed, 24 Jul 2002 20:16:10 +0100
> From: Jason Taylor <[EMAIL PROTECTED]>
>
> With this enabled I can no longer travel my live tree to search for certain
> nodes. I'm still trying to locate which node is causing a Cant read children
> exception, as far as I'm aware the numbers I get
> Date: Mon, 22 Jul 2002 17:12:21 +0530
> From: Srikanth Vavilapalli <[EMAIL PROTECTED]>
>
> I'm a beginner in Java3D and I'd like to know how to Convert a 3D point from
> Virtual World to Scree Points/Coordinates(2D). Presently I am having code
> for converting screen coordinates(2D) to 3
In Mr. Selman's book, there is a section that mentions a way to index your
node using the setUserData method. You can then remove the node using a Group's
removeChild method. The only thing I don't understand is that setUserData takes
ClassificationObject as an arguement. What exactly is a Classif
hi all,
two way for do this :
first:
in your PickBehavior (you can find a exemple in the
J3d Demo)
pickcanvas = new PickCanvas(canvas,rootBG);
pickcanvas.setMode( PickTool.GEOMETRY_INTERSECT_INFO)
;
public void updateScene(int xpos, int ypos)
{
PickResult pickResult = null;
pickCanvas.setShapeL
34 matches
Mail list logo