Hi all !
I'm currently testing the VrmlLoader (provided in vrml97.jar).
What is the exact URL where its javadoc is placed ?
Thanks in advanced !!
Dani
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn
Sie nicht der richtige Adressat sind oder diese E-Mai
Sorry for the resend but the first one got no takers.
I want to use the
Branchgroup.pickClosest(PickRay)
Form of picking rather than use a PickCanvas. The pick is nothing to do
with the mouse.
There is a tolerence (rather large) being applied from somewhere which I
want to reduce or turn off.
Thank you Morten
My problem stemmed from unfamiliarity with the links resulting in not
accessing the sharedGroup deeply enough compounded with then accessing
Shape3Ds which responded to getGeometry by returning null (but which
getAllGeometries returned two components, a null and then something re
Hi,
Can I excute a java command from a .java file? How
can I do it?
Regards,
ishwari
Hi Ishwari
> Can I excute a java command from a .java file? How can I do it?
Hmm first I think this is not the right place for asking this.
Second check Runtime in JAVA2 JAVADOC.
There is something like Runtime.exec which should do what you want
EOF,
J.D.
--
Realtime Raytracer in JAVA
(http://
Thanks a lot Joachim :-)
Regards,
ishwari
- Original Message -
From: "Joachim Diepstraten" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 6:40 PM
Subject: Re: [JAVA3D] Java Command Execution from the program
> Hi Ishwari
>
> > Can I excute a java command from a
Hi
> As I stated last time I have some major problems with GeometryUpdater
> when there are more shapes. I already wrote an optimizing routine to
> cut down the number of shapes (by joining them together) but that's not
> enough as it already gets rather slow when having more than 5 or 6 shapes
>
So you set up the geometry by-ref and then just change those vertices
directly without using a GeometryUpdater?
1. To my knowledge this is a big no-no. What if Java3d is in the middle of
reading those data elements and you are half way into changeing them?
2. I don't understand why it would be
Hi David
> So you set up the geometry by-ref and then just change those vertices
> directly without using a GeometryUpdater?
Yep
> 1. To my knowledge this is a big no-no. What if Java3d is in the middle of
> reading those data elements and you are half way into changeing them?
Hmm yes this woul
Are these really big shapes? You are talking rendering times in seconds...
thats scary. Are you running on really low end equipment, or do you have
super high density shapes? We are running at 10 ms a frame with hundreds of
shapes. If you are using really high density shapes then its doubtful
You can load VRML into your Java3d and
display complex scenes with animation easily
with the old VRML-97 Loaders ( late 1999 era ).
With mine Web3d's H-Anim Avatars come to life
complete with Run / Walk / Jump / Throw
" Gestures " & Sensors & I make movies with
the JMF ( Java Media Framework )
Hi David
> Are these really big shapes? You are talking rendering times in seconds...
No that's the funny part some of them only contain below 100 vertics. But
there are a lot and that's problem. Rendering time is absolut fine, no
problem. Just updating the Geometry with GeometryUpdate takes "ag
Hello!
Can some body give some tips to me about the
following:
I have multiple primitives on the screen and I want to
join them with lines using mouse (This I have done).
Suppose that all these primitives along with lines
make a group, like one can translate, rotate and zoom
as one object.
Now
Hi David
I also found the other problem why it stalled without using GeometryUpdate
that was because somewhere inbetween I had a System.gc() call which he
didn't like. But after synchronizing all the methods I don't have any
problems any more and it's going fst. 1000 times faster as with
Well if you are doing this from within a behavior then perhaps you are safe
from a collision with a threaded java3d read.
But it makes me very nervous. Can the Sun guys please respond to the
viability of updating by-ref geometries outside the GeometryUpdater? What
is the risk? Why is it so muc
Title: zero mail
thanks very much Chris,
if i understood correctly:
for culling my terrain, scenegraph culling is good.
so what to to for that ?
i got the terrain organized in little pieces ( each part is a unique
BranchGroup with a Shape3D added)
---
| 8 | 9 |10 | 11|-
Hi there,
good new for NVidia GForce2 users: I've got stereo running on my setting
(Nt4.0).
The clue is the latest driver plus a patch (follow the link in the
quoted mail).
Activate Stereo buffers and go!
Have fun,
Karsten
From: "David Atkinson Ph.D." <[EMAIL PROTECTED]>
Date: Tue, 3 Jul 2001
My graphics card is a 32 MB Diamond Vipor 770D
NIVIDIA Ultra.
Can someone tell me how to turn off the
vertical sync?
Thanks.
Ron
--- Corysia Taware <[EMAIL PROTECTED]> wrote:
> Just out of curiosity, do you have 'vertical sync'
> enabled? It's probably
> called different things on diff
David,
Is the code for your new FPS counter available?
Thanks,
Ron
--- "Yazel, David J." <[EMAIL PROTECTED]> wrote:
> Good point. First of all if you are counting frames
> in a behavior other
> than elapsedFrame(0) then you are not guarenteed it
> will run when the
> criterion is up. For
Start | Settings | Control Panel | Display | Settings tab | Advanced...
>From here, you'll have to find it yourself as I've an ATI card on the
machine I'm on now.
- Original Message -
From: "Ronald Mourant" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 12:35 PM
Hi Java3D family: I am still having problems with the JVM abending. I believe it have something to do with my texture loading. The log kept giving a complaint about the C:\WINDOWS\SYSTEM\IMAGEHLP.DLL. What is this this dll? I already downloading a copy of my program to Kelvin Chung ( Sun Microsys
Hello guys,
Thanks to the list I have solved my previous problem,
now I have a question, how do you set up per-vertex
alpha? ... in OpenGL there is a function like
glBlendFunc( src, dst ), I tried to use Appearance but
the whole geometry is transparent, I want just one
vertex to be transparent an
Has anyone else seen this? Normally, I don't let my Java3D apps run for
several minutes without some sort of keyboard input. This time, I got
distracted and my screensaver kicked in. My app crashed, giving this
message in the console:
An unexpected exception has been detected in native code ou
Hi Java3D: I have a robot that walks. I have five music clips. I want the robot to start walking on the 5th music clip. I am using an alpha with behaviors. Do I need to extend a class with Behavior. I want to be able to turn the walking on and off. Can somebody give me a clue? Michael Car
Hi: I am having the same problem. I think it have to do with texture loading. I am not using a screensaver, my program crashes occassionally. with the complaint about C:\Windows\system32\imagehlp.dll. Do your program always crashes when the screensaver kicks in? Are you loading textures? M
Hello guys, and gals,An appletizing problem (yum)
for you here.Ive been turning my java3d standalone program into an
applet for erm about a week now. Ive had a few tricky problems and this one I
think somone else would have experienced before.In accessing a file
(.jpg texture) I am using FIL
Its because your graphics driver and your O.S. don't agree on where the java
app window is in the alpha stack. Just be sure you've got the latest driver
for your graphics card. Unless you're using the embedded intel graphics chip
and not an additonal graphics card(32 bit, openGL, etc) - then you'r
Nathan, Unfortunately, applets can't access files from the
local file system. The only way around it is to sign the applet. You do this
with the jar-signer.
Here's some sites to show you what I mean.
http://developer.java.sun.com/developer/technicalArticles/Security/Signed/
http://java.su
Could somebody explain me why do my aplication
texture not show up correctly at my home computer but it does at the
Universty´s? Both computers are similar...could it be because of the graphics
card/drivers?
Texture shows up as color.e.g: Bicks look kind of
like a pink blemish.
I'm using a
Daniel Moscoso wrote:
> I'm currently testing the VrmlLoader (provided in vrml97.jar).
> What is the exact URL where its javadoc is placed ?
Which JAR file is this? Is it the one that comes with J3D-Fly? If so, I
don't believe the javadocs exist anymore. You'll have to hand generate
them from so
Hi
I think that you can use Applet.getCodeBase(), which will return a URL for
the location of the applet. Then, you can add the rest of the URL onto that
and use Applet.getImage(). For example:
URL u = new URL(getCodeBase() + "/img.jpg");
You can only call this from applet methods such as init(
Thanks for the reply.
I am actually using something similar to this now - except that I pass the
URL as a parameter rather than using global variables.
The problem that arises is that I have to turn the url into a string so that
I can use it in a FILE declaration (to open a datafile), and this d
Hi
Try using TextureLoader. Pass in the file URL in the constructor:
TextureLoader(java.net.URL url, java.awt.Component observer)
observer can be null.
Then, you can get an image using TextureLoader.getImage() or a Texture
object using TextureLoader.getTexture()
B.D.
>From: Nathan Bower <[EM
Hi
I have two vector3ds. I want to rotate one so that it falls along the same
line as the other. Does anyone have any suggestions on how to do this? I
know how to compute the angle between the two vectors, but how do I go from
there to a rotation matrix? Thanks in advance.
B.D.
_
Well if they are really vectors then they are origin based, so all you
really need to preserve is the scale. Take the scale of the second vector
and apply it to the normalized version of the first. This will effectively
use the rotation of the first and the scale of the second.
Vector3d temp =
35 matches
Mail list logo