I m trying to implementing Terrain following
for that i am using a pick tool class
Setting its PickRay to Start at My current Postion
and Pointing Vertically down
Then i pick the closest result into a PickResult
Object and from this result i query intersection(0)
This is working absolutely fine
Hello,
The orbit behavior is somewhat limited. If you need precise control over
movement, you may want to write your own behavior.
As for 2 and 3, yes to both. To reset the position, simply modify the
transform group that the orbit behavior is operating on. To get the
position, read the transform
Mike Pilone wrote:
Hello,
The orbit behavior is somewhat limited. If you need precise control over
movement, you may want to write your own behavior.
Ok, i've think on it.. pheraphs it's better if i write a "root"
Transofrm3d and manipulate it for rotate-translate-size the object. If i
rotate all
You may also want to look at using Behavior's and WakeOnAWTEvents so you can
better synchronize with the renderer.
I'm not positive but I think there are some examples in the Java3D tutorial
for this.
-mike
-Original Message-
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTE
Hi,
I'm just getting into Java3D and was wondering
whether there are any sample java files on the internet which produce a very
basic first person perspective on a bumpy terrain. I've looked and ran the
purple dude program from newview and would like something like this only with
the camer
I
don't know about sample files - I haven't seen any, or maybe I did, but not for
a long time and I don't recall where- but if you follow through that
tutorial you should be able to sort out a roaming camera approach from it with a
bit of extension of the existing behaviour, perhaps looking
hi,
there's a nice code-example for using/developing an own Behavior at
j3d.org called KeyBehavior, which
show how a "Doom"-Key-Naviagtion works and how to handle processStimulus
& friends
best regards
rolf
Mike Pilone schrieb:
You may also want to look at using Behavior's and WakeOnAWTEvents so yo
Hi all,
theres a newer 3dsLoader at j3d.org developed by Josh DeFord & Eric Miller.
Has anbody seen the docs or maybe a correct e-mail to any of the developers?
thanks in advance
rolf
--
Rolf Gabler-Mieck
c/o
LGI-Geographisches Institut der CAU-Kiel
Ludewig-Meyen Str. 14
24098 Kiel
Tel: +49 431-880
Ben, quality tutorial. I wonder if you could help
me modify it slightly?
I've attached this to the BranchGroup and it
happily lets me look around with the mouse.
oMouseRotate_1 = new
MouseRotate(MouseBehavior.INVERT_INPUT);
oMouseRotate_1.setTransformGroup(ourView.getView
Colleagues,
In December 2000 KRK posted a note http://archives.java.sun.com/cgi-bin/wa?A2=ind0012&L=java3d-interest&F=&S=&P=36521
to the list. His application runs out of memory when he attaches and detaches screen
graphs in succession. I can’t find any reply, but I have the same
proble
As I'm
sure you can tell, what I'm doing there is rotating the transformgroup in the Y
direction - what you want to do is change the translation to step you left or
right in the same way that it currently steps you forward.
Once
you've compensated for the fact that I don't think you can pi
Mike Goldwater,您好!
an old topic.I find a mail about it on 2004-07-30:
Open the Java Plug In Control Panel
(Start|ControlPanel|JavaPlugIn) and click"Advanced" tab and at "Java Runtime
Parameters" write -Xmx256m
You can increase the amount of max memory available to
JVM just setting a valuegr
Alessandro,
Thank you for your hint. However I am up
to 512MB (I have 2GB in my computer but any more than -Xm512M makes the ATI
driver blue screen â a question for another day.) Eventually whatever value I
use I get the out of memory problem back. KRK in his problem got the out of
mem
Cheers. I'm still having difficulties though. When
I go up it works fine, but left, right and back it just stalls the
program?
Here's the methods in question as it is (all
other methods are similar to the original):
I've not used stepper because he tends to shoot off
in the distance if the
ï
Try forcing the garbage collector to collect? -
System.gc()
public void refresh(){
System.gc() mainBranchGroup.removeChild(0); objRoot=
null; objRotate= null;
mainBranchGroup.addChild(createSceneGraph(canvas3D));}
- Original Message -
From:
Mike Goldwater
To: [EMA
I remind that there was a bug (it was in j3d 1.2x) due
ImageTexture using jpg's bigger then 1mb (or any rasterimage..unsure)...
try to downsample bigger jpgs...
thats the way I'd managed this 3 years ago...maybe today there's a
better solution...
I never try that what goalsgoals2004 has written...
Justin Couch wrote:
M. Halpin wrote:
Anyway, so I was wondering if anyone knew of a way to load/convert
SVGs into something Java3D
can render as polygons?
Since SVG is an XML-based language, with a bit of XSLT hacking, you
could transform it to X3D and then use one of the loaders available for
tha
Hi,
Is it possibleto run J3D application within applet
and if it is what should be done,
where to put the jar file: vecmath.jar,j3dcore.jar
so the applet will recognize it ?
Regards
David
===
To unsubscribe, send email
Dudi Gil wrote:
Is it possibleto run J3D application within applet and if it is what should be done,
where to put the jar file: vecmath.jar,j3dcore.jar so the applet will recognize it ?
Because these files interact with a DLL, you have to have Java3D
installed on the machine. There is a way of doin
Hi David:
> Is it possibleto run J3D application within applet and if it is what should be
done,
> where to put the jar file: vecmath.jar,j3dcore.jar so the applet will
recognize it ?
Another option is you can also run Java 3D programs via Java Web Start;
that works very well for us.
che
Its really not _that_ complicated. If you can use Java WebStart instead of
an applet, Sun offers everything you need for an automatic installation at
https://j3d-webstart.dev.java.net/
Le Tue, 7 Sep 2004 12:12:09 -0700, Justin Couch <[EMAIL PROTECTED]> a
écrit:
Dudi Gil wrote:
Is it possibleto run
[EMAIL PROTECTED] wrote:
Its really not _that_ complicated. If you can use Java WebStart instead of
an applet,
Note that he specifically requested an applet, and that is difficult to
do reliably and convoluted. If he had asked for something else, I would
have given a different answer. We offered Xj
Le Tue, 7 Sep 2004 12:20:56 -0700, Justin Couch <[EMAIL PROTECTED]> a
écrit:
[EMAIL PROTECTED] wrote:
Its really not _that_ complicated. If you can use Java WebStart instead
of
an applet,
Note that he specifically requested an applet,
For me thats no reason to keep secret possibly better alternativ
As I understand what you are saying it's best runing a j3d via the web using
WebStart.
Any suggestions as to where to start, tutorials, information examples etc ?
David
- Original Message -
From: "Justin Couch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 07, 2004
You can use my JNLP-file from http://www.3dchat.org/webstart/vu.jnlp as
template. A detailled documentation about this file format can be found at
http://java.sun.com
Michael
Le Tue, 7 Sep 2004 22:32:04 +0200, Dudi Gil <[EMAIL PROTECTED]> a
écrit:
As I understand what you are saying it's best runin
Hello,
Current Issue 25 is filed for " Memory leak of removed scene graph objects".
The issue is not very detailed and lacks a test case. I know there was talk
previously about removing a branchgroup and the retained graph not cleaning
up properly, but do not remember the work around.
If you work
Mike Pilone wrote:
Current Issue 25 is filed for " Memory leak of removed scene graph objects".
The issue is not very detailed and lacks a test case. I know there was talk
previously about removing a branchgroup and the retained graph not cleaning
up properly, but do not remember the work around.
I
Hi,
In my scene I have a big Box with four Shperes.
Like this:
front: side:
+-+ +
|() ()| (|)
| | |
|() ()| (|)
+-+ +
The user may click on one of the Spheres or on the big
box.
I am using the PickCanvas class for this.
But my problem is that for some
Thank you all for the information it's been very helpful.
David
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 07, 2004 9:37 PM
Subject: Re: [JAVA3D] Runnig VirtualUniverse within Applet
> You can use my JNLP-file from http://www.3dchat.o
Denis,
> But my problem is that for some of the Spheres, when I
> click on them. PickCanvas returns the Box!?
>
> How can I fiz this???
> Any one can help me?
Some? Not all?
If some work and some don't, it seems to be a logical problem,
not a methodical.
Are all the spheres created identically?
Hi,
Everything must be fine with the Spheres because when
I remove the Box. all the Spheres are identified
correctly!
Thanks
Denis
--- Andre Bialojahn <[EMAIL PROTECTED]> wrote:
> Denis,
>
> > But my problem is that for some of the Spheres,
> when I
> > click on them. PickCanvas returns the Bo
The latter, although more verbose, could be manipulated by standard XSLT
methods. The former requires deep XPath kung fu and declarative
recursion programming to pick apart. The SVG folks went for conciseness
rather than ease of transformation. :-(
If you're lookiing for a good SVG reader, you co
32 matches
Mail list logo