Title: RE: [JAVA3D] Bug in triangulating polygons with multiple contours
Ok, thanks for the input from both of you. I have managed to isolate another case (from a shape of 840 polygons phewww...) where this happens again
and this time changing the sense of the hole doesn't work.
Hi,
I've some problem in compiling a testscript containing
java3d stuff.
By the compiling I get different errors. First an illegal
Startingpoint by the forloop is reported and than there
follows different errors that packages are not found.
When I compile and execute the examples of the api
(Hel
TextureLoader is capable of loading "textures" / "images" of sizes other
than powers of two. It will automatically adjust the image for you. So
it can be flexible if you let it. (I try to make all my textures powers
of two so such adjustments aren't necessary)
- John Wright
Starfire Research
G
-Ursprüngliche Nachricht-
Von: Kelvin Chung [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 14. Januar 2003 23:04
An: [EMAIL PROTECTED]
Betreff: Re: [JAVA3D] Java3D Memory Leaks
> It is a bug if the BranchGroup remove but Node such as Shape3D under it
> is still reference by Java3D.
> Howe
Hi,
Well I think that I become crazy trying to do the following things :
- create a buffered image
buffer=new BufferedImage(width,height,BufferedImage.TYPE_INT_ARGB);
- create an Image2D component
im2d_1 = new ImageComponent2D(ImageComponent2D.FORMAT_RGBA,buffer);
- create a tex
More probably there is a problem with the other code, which is eating
processing power. I mean, from the figures below, the bottleneck are the
calculations that you seem to be performing to update the gui, most probably
at every frame.
I have played with a simplified model, containing 3 spheres, 1
It's probably true that my computation are a big cause...I'll try removing
some and see what speedup I get. I do a lot of calculations for figuring out
the angle between the orbit plane and the sun (Beta angle) and for diplaying
the wedge as the angle...as well as other various calculations.
thank
Hello,
I am wanting to set up some more advanced features for JTabbedPane, such
as:
1) Putting a button on each tab to be able to close that tab.
2) Giving a pop-up menu when a right click is performed on the tab part of
each panel.
Does anyone know if the first one is even possible? The seco
I have an application that I have been installing on multiple computers,
and although most computers have no problems at all, some computers I
cannot get the 3D portion of the application to work properly no matter
what I try. I've updated video drivers, manipulated video settings, tried
using the
Also, I have seen from other emails from you, that you have a behavior that
wakes up every 1 millisecond!!! That's hard to believe. For the normal PC
under windows, the java time resolution is 10 ms. Even so, doing your
calculation every 10 ms, supposing that the entire cpu power is given only
to t
I'm sorry I may have written incorrectly...basically I had the
wakeupon condition set for a sampling time and it was set at 1
For my code, Yes, I try to updated every millisecond..basically as fast as
possible. For my beta angle program I base in on elapsed frames (another
code I have I use the
I've noticed that some z-clipping issues with 3D were fixed if you
just change the color setting under RightClick -> Properties -> Settings ->
colors
to 32 bits...when I had 16 bit colors then I had orbits appear as if they
were
in front of the planet when they should have been around the planet...
Thanks for this suggestion...in this case it is more than a z-clipping
issue. The unsuccessful cases I'm speaking of involve an entire system
lockup when trying to open the panel with the 3D canvas (no errors showing
up in the console window).
Nick
|-+-->
|
Michael P. McCutcheon wrote:
By setting to the correct system/public id AND setting the classpath to the
base dir of the x3d install, IT WORKS! WOO HOO!
Before I did one, but not the other. Did the other, then tweaked the
code..anyway, long story short it was just a confusing mess. Now I see th
John Wright wrote:
TextureLoader is capable of loading "textures" / "images" of sizes other
than powers of two. It will automatically adjust the image for you. So
it can be flexible if you let it. (I try to make all my textures powers
of two so such adjustments aren't necessary)
To add to Joh
Nick,
A standard PC running Win98 with a GeForce video card (with updated
drivers) tends to run Java 3D fairly well. You mention "lock ups".
Most locking up issues that I've seen appear to be memory, networking or
sound related. From my own experience sound is the number one cause of
lock ups.
Mario,
The response to a WakeupOnElapsedTime() criterion is 1.) chunky and 2.)
OS-dependent. 'Chunky' because the behavior event queue appears to be
polled at an OS-dependent period that ranges from 30 or so milliseconds
down to 10ms. Trying to control time with WakeupOnElapsedTime at a
granular
| Hi all,
| I've loaded a VRML file using VRML97 loader (vrml97.jar).
| Now I want to be able to set the capability bit to pick objects in the
VRML
| scene I've just loaded.
| I want to set this bit for every Shape3D...
| How is it possible?
|
| Thank you very much for any help!
|
| Fausto Mancini
| Hi all,| I've loaded a VRML file using VRML97 loader
(vrml97.jar).| Now I want to be able to set the capability bit to pick
objects in theVRML| scene I've just loaded.| I want to set this bit
for every Shape3D...| How is it possible?|| Thank you very much for
any help!||Fausto Mancini
Just to beat up this subject a bit more:
Win98 - 55 ms
WinNT(2000/XP) - 10 ms
Linux - 1 ms
Using WakeupOnElapsedTime can be very handy but it's not precise. I use
it often to wake up once every five seconds or fifteen seconds but I've
abandoned using it for anything under a quarter of a sec
I have the 3 mouse behavior nodes (zoom, translate, and rotate) under a
branch group called mouseBehaviorBranch. Then mouseBehaviorBranch is
under a Switch node, called mouseBehaviorSwitch. We wanted to be able
to turn on and off the mouse behavior - we have basically a "picking"
mode, where user
Nick,
Even though this is not the right place to ask this purely Java-related
question, let me take a stab at it.
At first glance it sounded tricky, but it wasn't too bad - see attachment.
You'd have to provide the close icon, though!
It's definitely not perfect (no control over icon placement),
Hi, every one:
I am looking for solution to this problem. I need to access a detached
BranchGroup later on (not immediately after it was detached). I have saved
it in a static variable , say bGroup,. when I query bGroup.numChildren(), I
got 0. Is this due to the gc removing the children of the Bra
We had this same problem. I wrote a visitor and a traverser, so we can
traverse the scene graph collecting all the visited nodes that we are
interested in, and put them in a list. Then we iterate over the list,
setting various capability bits.
Phos77 wrote:
| Hi all,
| I've loaded a VRML file
Hi,
Can anybody help me with my program? I want to draw an arrow pointing from
one box to another. Now I confront three problems.
1. How can I get the intersection points of the two boxes with a line
whose ends are the center points of two boxes?
2. How can I draw an arrow given the start ane
S3 Savage4 dumps memory on win2K with some 3D operations.
Does not matter if it is Java3D or not.
I have locks/dumps with OpenGL native demos, DirectX demos, GLDirect trial
etc etc.
This card is not suited for 3D, besides the colored box says it.
The last drivers are from 1999, and some "improves
Please ignore my previous message with this title. I found the error in my
code.
At 01:12 PM 1/15/2003 -0500, you wrote:
Hi, every one:
I am looking for solution to this problem. I need to access a detached
BranchGroup later on (not immediately after it was detached). I have saved
it in a static
Florin Herinean wrote:
-Ursprüngliche Nachricht-
Von: Kelvin Chung [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 14. Januar 2003 23:04
An: [EMAIL PROTECTED]
Betreff: Re: [JAVA3D] Java3D Memory Leaks
It is a bug if the BranchGroup remove but Node such as Shape3D under it
is still ref
hi;
i need a little help with java3D.
i have a branchGroup with six children , and all the children are also
branchGroups.
then i do a detach of each child from the parent BranchGroup and append the
child to a frame and finally show it. but when i do that the display both
the child and the pare
Hello there!
I am looking for possibilities to implement spatialized sound with Java3D
and found the AudioDevice3D interface. Is it possible to render multichannel
sounds with this class in order to feed a 5.1 or 4.0 speaker setup? Because
the AudioDevice class is limited to headphone- and stereo-
Isaac,
what exactly do you mean by "...and append the child to a frame..." ?
H.
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send ema
Isaac,
I'd prefer that you PLEASE send your postings ONLY to the j3d mailing list
and not copy me personally!
Since I'm reading the mailing list anyways, I sure will read your postings
too!
Nevertheless, as far as your recent problem is concerned, again I have no
clue at all what you are trying t
Is there any way to remove a capability? If there is
any way, even if that means you have to clone the
object, please tell me. I ask because I want to save
the scene graph and mess with it for a while, but when
it is finally done, I want to (hopefully) increase
performance by clearing unneeded capa
I recently wrote a simple scene traversal algorithm to go through the
BranchGroup that the OBJ loader returns. This should get you started, you
may have to tweak it to do what you need, change the capability bits and
what not.
- Anthony
/**
* Traverse scene graph to set terrain following capa
Hi
I am a new member. I have developed a program which loads vrml and x3d files
and displays it. The problem is when I add new branch group to existing
branch group object it flashes for a second and then disappears. I tried
using update method of canvas3d but that is not working. Does any one hav
Thank you for all your valuable suggestions. I found the following problem:
TextureLoader loader = new TextureLoader(imageAddress, null);
ImageComponent2D image = loader.getImage();
Texture2D texture = new Texture2D(Texture.BASE_LEVEL, Texture.RGBA,
image.getWidth(), image.getHei
Thank you very much to Anthony Arobone and Steve Bement for the help.
Fausto Mancini
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, sen
37 matches
Mail list logo