[JAVA3D] rendering one shape3d on top of other

2001-07-23 Thread Saurabh Akhauri
hi I posted this querry some time back also but may be my question was not clear enough I want to draw a shape3d (in the scenegraph), always on top of others, even if its coordinates are behind some other shape3ds in the scenegraph Is it possible ?? how ? will highly appreciate any help saurab

Re: [JAVA3D] Picking linestriparrays/linearrays

2001-07-23 Thread Tor Einar Kjørkleiv
Hi Doug! Thanks for answering! I checked my pickTolerance and I saw that I was using the default value(2.0). But even though I try set it higher my picking (of lines) still not work. I have included some of my code. Maybe I´m doing something wrong somewhere? Thanks for helping me. Todda public

Re: [JAVA3D] rendering one shape3d on top of other

2001-07-23 Thread David Yazel
You can use OrderedGroups to force the order of rendering. Dave Yazel - Original Message - From: Saurabh Akhauri <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 23, 2001 4:06 AM Subject: [JAVA3D] rendering one shape3d on top of other hi I posted this querry some time bac

Re: [JAVA3D] Running Java applications

2001-07-23 Thread Fergus Murray
Thanks a lot Charles, Corysia... I've now deleted the Classpath entry thoughtlessly inserted by QuickTime, and it's all working fine. How infuriating (yet characteristic) that Micro$oft completely changed the procedure for editing Classpath, while leaving the old method apparently available but

[JAVA3D]

2001-07-23 Thread matthias sweertvaegher
Hello I have a problem concerning the orbitbehavior class. When I move the mouse for some time (rotate and zoom) , suddenly no more movement is possible, so the app "freezes". I added the boundingleaf of the behavior to the platformgeometry, so the behavior should be always on. I haven't been a

[JAVA3D] Behavior don´t seem to run after minimizing a panel that contains a canvas 3D

2001-07-23 Thread Illarramendi Amilibia, Aitor
Hello everybody:       I want to ask a question a had asked before, only if someone else has noticed something like this.       This is an Java3D application running over IE 5.0 with, Java 3D 1.2.1 OpenGL running over W2K. When I minimize the panel within the Java3D canvas and I Maximize i

[JAVA3D] Scene appearance problem

2001-07-23 Thread gaoming fu
Hi, all I built polyhedrons using IndexedTriangleArray, the normal for each vertex point is (0.0, -1.0, 0.0). I used the following code to set the appearance: PolygonAttributes pa = new PolygonAttributes(); pa.setCullFace(PolygonAttributes.CULL_NONE); pa.setB

[JAVA3D] Scene appearance problem

2001-07-23 Thread gaoming fu
Hi, all Sorry for sending this message without finishing it. I built some polyhedrons using IndexedTriangleArray, the normal for each vertex point is (0.0, -1.0, 0.0). I used the following code to set the appearance: PolygonAttributes pa = new PolygonAttributes(); pa.setCullFace(Polygo

Re: [JAVA3D] array/memory limits

2001-07-23 Thread Lan Wu-Cavener
I crossed somewhere that the default size of Java heap is 16MB. You will need to use the command parameter to increase the max. heap size. But I have not found a development tool that I can set the parameter in advance. Does anyone have better luck? Thanks! At 08:18 AM 7/19/2001 -0600, you wr

Re: [JAVA3D] Controlling unpredictable motion

2001-07-23 Thread Kasparian, Raffi J.
public class Slave extends Behavior{ WakeupCondition wakeup; private Runnable task; public void initialize(){ wakeup = new WakeupOnBehaviorPost( this, 0 ); wakeupOn( wakeup ); } public void processStimulus( Enumeration criteria ){ task.run(); wa

Re: [JAVA3D] Scene appearance problem

2001-07-23 Thread matthias sweertvaegher
7/23/01 4:44:56 PM, gaoming fu <[EMAIL PROTECTED]> wrote: > >I built some polyhedrons using IndexedTriangleArray, the normal for each >vertex point is (0.0, -1.0, 0.0). I used the following code to set the >appearance: i don't really understand why you let all your normals point downwards? m

Re: [JAVA3D] Scene appearance problem

2001-07-23 Thread gaoming fu
Hi, Mattie:Thank you very much. My understanding is that the NormalGenerator works only for  GeometryInfo and GeometryInfo does not support setCapability(). Is this true? I want to give the users opportunity to change the color of side faces and height of polyhedrons. So I used  IndexedTriangleArr

Re: [JAVA3D] Scene appearance problem

2001-07-23 Thread Matthias Sweertvaegher
hi gaoming, i believe you misunderstand the use of the geometryinfo class : you can give your indexedtrianglearray as input to a geometryinfo object do some processing on your array (ie generate normals) then retrieve the modified version of your indexedtrianglearray from the geometryinfo object

Re: [JAVA3D] array/memory limits

2001-07-23 Thread John Barreto
Yeah, I use JCreator. Once you have all your .java files in a project, then Go to the Project menu and choose project settings. There, you choose the JDK Tools tab. In the Select Tool Type pull-down, choose Run Application. If you are going to change the default then highlight it and click

[JAVA3D] Loading Texture in *.obj

2001-07-23 Thread clive.naicker
I am having problems loading materials into my .obj models.  The .mtl are in the same directory so are the jpg images, what could I be doing wrong?   Clive

Re: [JAVA3D] Loading Texture in *.obj

2001-07-23 Thread Paul Pantera
There's a bug where you have to specify the directory of the obj file, even if it's in the same directory. Like this: java ObjLoad ./galleon.obj LMK if that's not your problem. -Paul > Delivered-To: [EMAIL PROTECTED] > MIME-Version: 1.0 > X-Priority: 3 > X-MSMail-Priority: Normal > X-MimeOLE:

[JAVA3D] Xj3D Milestone 2 release

2001-07-23 Thread giles
I'd like to announce a new release of the Xj3D Open Source API for X3D/VRML97 development is available. It can be accessed at http://www.web3d.org/TaskGroups/source/xj3d.html Major changes in this release include: JSAI Scripting support Pluggable Event Models 5 new nodes

Re: [JAVA3D]

2001-07-23 Thread Andrea Tartaro
Please send me the complete source code for this problem and I'll look into it. This code does contain the createSceneGraph() method. Thanks! andrea matthias sweertvaegher wrote: > > Hello > > I have a problem concerning the orbitbehavior class. When I move the mouse for some >time (rotate a

[JAVA3D] System freezes while executing JAVA3D app

2001-07-23 Thread Jyothi Mohan
Hi all, I have this problem right from the day I started working on Java3D (about a month).! This happens too often these days and is quite annoying. My system freezes at times when I execute my Java3D application. I am running a very simple program that just draws boxes and allows the use

Re: [JAVA3D] array/memory limits

2001-07-23 Thread Adrian Jon Brown
If you were using Visual Age 4 Java, you can achieve this using the Properties page of the class you are running, and set the parameter in the "Command Line Arguments" textbox. Adrian. Lan Wu-Cavener <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 23/07/2001 10:54:02 PM Please respond to Discussion list

Re: [JAVA3D] array/memory limits

2001-07-23 Thread Daniel Selman
Lan, I use Kawa (which uses the SUN JDK command line tools). It is simple, pretty reliable and it's reassuring to know you're not buying into a monolithic development environment. You could also try one of the free 100% Java alternatives (Forte CE/NetBeans) which are getting more and more promisi

Re: [JAVA3D] Scene appearance problem

2001-07-23 Thread Renoir Sewjee
Hi, It could be that your front clip distance is too big, try making it smaller using the setFrontClipDistance method of the view class. Hope this helps, Renoir gaoming fu wrote: > Hi, all > > Sorry for sending this message without finishing it. > > I built some polyhedrons using Ind