I think you should use the following codes, and add your created shape
object to the "sbranch" object. Using detach methods can solve it. Any
further questions, please contact me.
BranchGroup sbranch = new BranchGroup();
sbranch.setCapability(BranchGroup.ALLOW_DETACH);
sbranch.setPickable (false
David,
It looks like your method of handling terrain is similar to the tile-based
system described in Game Programming Gems 2. This is the same approach I'm
using. It may not be as sexy as ROAM or VIPM, but it's reputed to be
faster. And I believe it's far more scene-graph friendly. The trick
Hey ian,
I attach two files from the java3d package which is developed by NCSA. If
you want to download the whole package and want to run the application, you
can go to http://www.ncsa.uiuc.edu/~srp/Java3D/portfolio/ . I have run this
application and it has screen capture functionality. If you jus
Wow, thanks for the excellent description! The sophistication of your
approach is impressive.
As for the people who discount the approach, let me say that I'm not one of
them. While your system is vastly more mature, I just started working on a
similar approach in my spare time (based on the Ge
How do I remove shapes from the scene graph? Would the
best way of making bullets be creating shapes, then
adding them, moving them and removing them when they
are off the screen?
=
3790 Colorado Ave. G Mobile: (303)641-8936
Boulder, COeFax: (305)723-2968
80303
I tried the code in the zip file, but nothing appears,
what's wrong. Bill i got your example at "3D graphics
programming in Java, Part 1: Java 3D ", a made a few
changes, to show a 3d text with the word "Gaciv", but
it didn't occur.
Thanks for all, Fábio
___
I just want to weigh in here with an alternate technique. This technique is
optimized for fairly slow movement speeds. Our current implementation can
handle up to 50 meters a second without a problem, but after that it can't
keep up. Not a problem for us, but could be for other people.
The net
has anyone tried using the CapturingCanvas3D class in the j3d repository
code. i tried it as how it suggested to be implemented but nothing came out.
just a blank black image. can anyone healp me with this? here's my code and
the CapturingCanvas3D class.
thanks in advance.
- ian
___
Title: RE: [JAVA3D] ROAM and GPU Usage (off-topic)
Justin and others,
You mentioned that sending the triangles every frame to the hardware is not GPU friendly, because they must be clipped and culled every frame. However, for a GPU, isn't this done in hardware anyway? (According to NVIDIA'
Robert Bergman wrote:
> I'm quite interested to see the results of the ROAM
> implementation you're working on.
Grab it from CVS :)
> What qualifies as "small" with regard to your test terrains?
Using a couple of the smaller test terrains from the VTerrain project -
biggest I'm using is 513 gri
I'm quite interested to see the results of the ROAM
implementation you're working on. What qualifies as
"small" with regard to your test terrains?
Does anyone else out there care to share any
performance statistics they're getting out of their
own Java3D CLOD terrain engines? Ideally, such
numb
Hi all,
is there any way of writing values to the Z-Buffer before rendering the
scene (in the preRender() method)? What I'm trying to do is display a
fixed-perspective 2D-image with depth information (output of the rendering
software) and then display various 3D-objects that can get obscured by pa
I can believe this, although your scene graph must be very big. Here are some
reasons why this is the case. These are not completely specific, but
the general numbers are what is important. In the first case, we are setting an
attribute on a Shape3D node. One thing to note is that Shape3D node
Kevin J. Duling wrote:
> I'm under the impression that ROAM is CPU intensive and not very
> GPU-friendly.
Correct, sorta. At least here on this laptop (ATI Rage M3/833Mhz CPU) it
seems to run reasonably well with the small terrains I'm testing on. Not
sure what is taking the CPU time, but j3D alw
Hi Ewan,
Bug 4633578 -
OrbitBehavior did not reset itself when setting view platform transform
is submitted for this.
This and the other one 4485481 -
OrbitBehavior resets position after ViewPlatform is translated
is fixed in the next v1.3 beta2 release.
In the meantime you can modify t
Here is another report.
Thanks,
-Oleg
>
>
>Your report has been assigned an internal review ID of: 137624
>
>This review ID is NOT visible on the "Java Developer Connection" (JDC).
>
>dateCreated: Thu Dec
Hi Kelvin,
First of all thanks for accepting and filing bug#4632388. Secondly,
I filed a couple of reports in Sun's Bug Database in late December
and since then haven't heard anything from Sun. So I though maybe
it's a good idea to post reports to this mailing list.
Thanks,
-Oleg Pariser @ NA
I'm under the impression that ROAM is CPU intensive and not very
GPU-friendly.
I've done some reading into both ROAM and VIPM. I haven't yet implemented
either, but I've read a few articles recommending VIPM over ROAM.
Opinions?
- Original Message -
From: "Justin Couch" <[EMAIL PROTEC
Title: RE: [JAVA3D] Performance of Appearance Changes
(copied to the J3D list for interested readers)
Doug,
We are talking about the actual execution of the code. The operation that results in that code being executed is done as a single user operation (not interactively), so there is no
> - I take a look for terrain implementation with quadtree..., I'd like to know which
>is the more efficient way to go around the terrain and update the screen with new
>data ? Can someone give an example ?
In the j3d.org repository is a ROAM implementation based on code from
Paul Byrne of Sun.
Hello,
I made an app with j3d who creates a terrain and I have questions to improve
performance of the rendering :
- I tryed view frustum culling from j3d engine using
shape3D.setBoundsAutoCompute(false);
shape3D.setBounds();
and viewPlatform.setActivationRadius(int)
At this time, I don't se
Dear Maung,
I am trying to give you a description about my design, hope that it can help you.
In fact, I am trying to extract the part for you since not all the part of my project
can be viewed by the other.
Actually your problem is the same as what I face, supposed that you now get the
sc
You can create games with Java3d, here's how ...
( see attached, screen capture of BattleShipt Game )
- screen capture, __ Java3d __ SOURCE CODE __ AVAILABLE __
- uses VRML for the models and Sun / Web3d VRML Loaders.
- VRML models also shown in Sun's Java3d Fly Through Demo
and the
And when the members of this list can prove the game (for evaluating of
course :-)?
- Original Message -
From: "David Yazel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 9:58 PM
Subject: Re: [JAVA3D] OT: http://www.sword-and-sorcery.com/
> Yes, I am happy
24 matches
Mail list logo