Re: [JAVA3D] TextureLoader - and WindowsNT?

1999-10-21 Thread Rob Cranfill
Vladimir et al, No, I am a first-time user of Java3D, and figured I'd start with the latest-and-greatest. Why? Do you advocate using the older version? I have stumbled upon one new piece of info that fixes my problem on my machine here at home (JDK1.2.2, Win2K, hardware-accelerated video): the

Re: [JAVA3D] Position in Virtual Universe

1999-10-21 Thread Vladimir Olenin
Usually u would like to attach ViewPlatform to TrasformGroup, so that viewpoint could be moved around the scene. The rest is quite simple. As soon as u like to know where the platform is u just call getTransform(Transform3D t3d) function on that TransformGroup. In t3d class there would be informat

Re: [JAVA3D] TextureLoader - and WindowsNT?

1999-10-21 Thread Vladimir Olenin
Did u have similar problems with Java3D 1.1.2? vladimir -=V=- >---<=>---< Join in Java community now! http://JavaCafe.VirtualAve.net/ >---<=>---< In your previous letter u wrote: RC> All, RC> I am having a pro

Re: [JAVA3D] TexCoordGeneration

1999-10-21 Thread Vladimir Olenin
This class is for Texture coords generation when u set texture on some shape. U can find info in many different places, among which are Java3D spec, Java3D documentation and Dave's tutorial at http://www.sdsc.edu/~nadeau/Courses/VR99/. -=V=- >---<=>---< Join in Ja

[JAVA3D] Question on Collision Detection

1999-10-21 Thread Leung, Sunny
Hi, I have created a scene graph which consists of a behavior node (wakeupOnCollisionEntry() and wakeupOnCollisionExit()). I am modelling an object which moves according to a set of coordinates stored in an array. At the moment, I am experiencing some problems between the collision detection beh

[JAVA3D] Position in Virtual Universe

1999-10-21 Thread Steve Grenier
Hello,   Is there an implementation built into Java3D that will return either the current position of the ViewPlatoform in the VirtualUniverse (x, y, z), or that will return the position of a mouse click in the VirtualUniverse?  Any suggestions would be appreciated.

Re: [JAVA3D] ask again

1999-10-21 Thread Tria
I've tried , but there is no change. I've tried making one TransformGroup for mouserotate and put TransformGroup for RotationInterpolator and the shape under the first TG, and vice versa. Should I put something else? Maybe there is a class to make it wake up or something.. Thanks... Tria -

[JAVA3D] TexCoordGeneration

1999-10-21 Thread Tria
What is TexCoordGeneration for? What is the form of this class? Where can I get more information about this class and how to use it??   thanks,   Tria

[JAVA3D] geometry compression

1999-10-21 Thread Jianzhong Mo
Hi All, We are trying using Geometry Compression APIs. After we loaded OBJ files into our application, then we compressed these geometries, and saved out. When we loaded those compressed geometries, we found the spatial relationships among them missed, that is, all the geometries were put at the

Re: [JAVA3D] Problem with grouping several objects (transparency)

1999-10-21 Thread Steve Grenier
Ok, in response to the message below.  Thank you for responding to my question!  Your response was very helpful actually.  It does turn out that my problem was due to (a bug?) with Transparency and overlapping objects.  The problem occurs even if the Appearance of your objects which are "ove

[JAVA3D] Picking a GeometryArray that has been generated by a GeometryInfo Object

1999-10-21 Thread Blaine Bell
I have generated a GeometryArray Object using GeometryInfo (because I wanted to use the NormalGenerator. I then use GeometryInfo.getGeometryArray() to set the Geometry of my Shape3D object, in which I need to capture the result and call setCapability(ALLOW_INTERSECT) on it in order to pick the ge

[JAVA3D] picking exception

1999-10-21 Thread Olivier fillon
Win NT 4, j3d openGL 1.1.2 When picking my objects with: SceneGraphPath[] sgp = pickScene.pickAllSorted(xpos, ypos, pickMode); I sometimes get the following: ### Exception occurred during Behavior execution: java.lang.ArrayIndexOutOfBoundsException: 1 >= 1 at java.util.Vector.el

Re: [JAVA3D] Problem with grouping several objects

1999-10-21 Thread Anselm Hook
Are any of your objects partially transparent?  I heard there was a defect with how translucent objects were drawn when overlapping each other.   This bug you're seeing might not have anything to do with the fact that your Shape3D's happen to be in the same group.    - Anselm Hook    www.ope

[JAVA3D] Problem with grouping several objects

1999-10-21 Thread Steve Grenier
Hi All,   I'm wondering if anyone out there has some insight on this.  I created a class which defines several different custom Shape3D objects.  All of these objects in the class are add to a single 'Group' object, and the getShape() of this class returns the Group object.  This is so that

[JAVA3D] TextureLoader - and WindowsNT?

1999-10-21 Thread Rob Cranfill
All, I am having a problem with java3d1_2alpha1-win-opengl-sdk and *any* use of a TextureLoader. All the demos that try to use a TL fail. All my attempts to get such to work have failed. I don't know if this is a Windoze issue - I've tried Win2K RC2, and also NT4SP3. On both my desktop machine,

Re: [JAVA3D] Creating a cube with GeometryInfo

1999-10-21 Thread Doug Gehringer
You are dealing with two problems here: determining the faces that define the surface of your points and generating triangles and normals for those faces. The Triangulator utility helps with the second problem but not the first. If the points are completely "unstructured" (that is, if you have n

Re: [JAVA3D] Problem picking points using USE_GEOMETRY

1999-10-21 Thread Doug Gehringer
> From: Victor Raymond <[EMAIL PROTECTED]> > > I have a simple scene with 4 points displayed using > a Shape3d node. > > In response to a mouse click I use a PickObject > and invoke pickClosest(). > > If I pass USE_BOUNDS to the pickClosest() method, > the points get picked. But if I pass USE_GEOM

Re: [JAVA3D] Is Java3D fully applicable over internet ?

1999-10-21 Thread Vladimir Olenin
KJ> But is there a single method where I can make the Java3D available KJ> to client over the internet. I cant assume every client who wants KJ> to view my Java3D applet to install Java3D and ask them to No, since Java3D is a platform dependent library and uses native calls to platform dependent

[JAVA3D] JMVS 2.0

1999-10-21 Thread Allistair Crossley
Dear Xiao, Yes I am aware of the project that you are working on with the Cytokine database. > In this project JMVS is needed to display moleculars directly on the web > so that user do not need to download PDB files and use local software to > view them. JMVS will be just fine for this but rem

[JAVA3D] Is Java3D fully applicable over internet ?

1999-10-21 Thread Kurien Joseph
  Dear Gurus !       I know the method in which Java3D application can be viewed using Plug-in and installing Java3D in a machine and move up the requried dlls and JAR files.   But is there a single method where I can make the Java3D available to client over the internet. I cant assume ever

Re: [JAVA3D] ask again

1999-10-21 Thread Chris Wewerka
Hi, the RotationInterpolator overwrites the transform of the transformgroup every time when its processStimulus is called. So you see no effect of your MouseRotate. You have to use a third TransformGroup for your MouseRotate. Regards Chris =

[JAVA3D] ask again

1999-10-21 Thread Tria
sorry..I'd like to ask again.. I want my object to rotate itself and also can be rotated by user. I make one TransformGroup for scaling, and one more TransformGroup (as a child of the previous one ) for rotation. I define RotationInterpolator etc to do animation for the second TransformGroup and

[JAVA3D] Self-Illumination-Map

1999-10-21 Thread Chris Wewerka
Are selfillumination-maps supported in Java3D? I read in the api-doc that there is a format called LUMINANCE in the texture-object. Is this format doing what I want? If yes, how could i specify a normal texture and luminance texture in only one appearance-object? I want to use this kind of map to

[JAVA3D] Environment Mapping with TexCoordGeneration

1999-10-21 Thread Chris Wewerka
Hi Java3d fellows! How do I use the EYE_LINEAR and SPHERE_MAP options in the TexCoordGeneration-Object to achieve environment mapping? Is there any good documentation about these features in Java3D, or the general technique to achieve environment mapping? What kinds of textures do I have to use?

Re: [JAVA3D] Texture loading

1999-10-21 Thread Chris Wewerka
Hi, this is no solution for everyone but if you want to use tiff's or png (because they have 8 bit alpha values!) you can use the Java Advanced Imaging Api without the need of using a component. Here's my code: RenderedImage src = (RenderedImage) JAI.create("fileload", file); BufferedImage b

Re: [JAVA3D] Another Stereo??

1999-10-21 Thread Tan Dongquan
I am working on Stereoscopic for NT (and suppose to be on IRIX) too. First at all, I am afraid that Diamond Viper is not support stereoscopic shutter glasses. I was told that by sales in Diamond Company and also staff in stereographics.com. At the same time, I want to get some experience on it too