[JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Desiree Hilbring
Hi, sorry this question is off topic and not related to Java3D. I am working under Solaris in a tcshell and tried to expand my classpath. Okay it is very long about 12 lines and now the shell states "word too long" during source .tcshrc. Is there a limitation for the length of the classpath varia

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Justin Couch
Desiree Hilbring wrote: > classpath. Okay it is very long about 12 lines and now the shell states > "word too long" during source .tcshrc. Is there a limitation for the > length of the classpath variable? Most shells have a limit of 1024 characters. The real question is why on earth you have a c

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Joachim Diepstraten
Hi > Desiree Hilbring wrote: > > > classpath. Okay it is very long about 12 lines and now the shell states > > "word too long" during source .tcshrc. Is there a limitation for the > > length of the classpath variable? > > Most shells have a limit of 1024 characters. The real question is why on >

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Justin Couch
Joachim Diepstraten wrote: > Good question why not move the jars all in one directory and set the > classpath to there. Because to nominate a JAR file to be included in the classpath you must point at the file explicitly. You cannot just point the classpath at the directory and have the JVM auto

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Desiree Hilbring
On Thu, 21 Jun 2001, Joachim Diepstraten wrote: > Hi > > > Desiree Hilbring wrote: > > > > > classpath. Okay it is very long about 12 lines and now the shell states > > > "word too long" during source .tcshrc. Is there a limitation for the > > > length of the classpath variable? > > > > Most shel

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Desiree Hilbring
> > Because to nominate a JAR file to be included in the classpath you must > point at the file explicitly. You cannot just point the classpath at the > directory and have the JVM automagically pick up all the files in that > directory. There is only one exception to this rule - jre/lib/ext. okay

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Joachim Diepstraten
Hi > > Good question why not move the jars all in one directory and set the > > classpath to there. > > Because to nominate a JAR file to be included in the classpath you must > point at the file explicitly. You cannot just point the classpath at the > directory and have the JVM automagically pic

[JAVA3D] class can't be instantiated

2001-06-21 Thread Thomas Gilbert Giusepe
Hi All, I am working around the following bug message: class can't be instantiated. java.lang.InstantiationException: at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:241) at sun.applet.AppletPanel.createApplet(AppletPanel.java:508)

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Anand Pillai
Hi Desiree, Well... probably you could reduce the number of jar files by re-archiving the source files ? Regards, Anand Pillai DELMIA Solutions India. 680, 8th Main, JP NAGAR II Phase, Bangalore 560 078, INDIA. Tel: +91-80- 658 9858/59 Fax: +91-80- 658 9855. [EMAIL PROTECTED] Desiree

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Justin Couch
Desiree Hilbring wrote: > okay fine, or not fine, it is not my decision to use about 20 jar files. > So is there a solution? Is it possible to expand the limitation of 1024? I don't know with tcsh - I personally use BASH. > And I do not want to move them all in jre/lib/ext, because of the proj

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Justin Couch
Joachim Diepstraten wrote: > but you still could save a lot by adding a PATHPARAMETER for example POJ > instead of full directory for each JAR. Should save a lot of characters I'm not sure that would work because at the point the variable is expanded (for example 'echo $CLASSPATH') it will expan

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Nikolai V. Chr.
Desiree Hilbring wrote: >>Because to nominate a JAR file to be included in the classpath you must >>point at the file explicitly. You cannot just point the classpath at the >>directory and have the JVM automagically pick up all the files in that >>directory. There is only one exception to this ru

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Desiree Hilbring
Hi, the construction of the classpath looks like this now, I tried some of your suggests: setenv CLASSPATH . #setenv GISTERM /net/ipfy/hilbring/PRJ/GIS/GISterm setenv GISTERM /net/ipfy/hilbring/GISterm setenv GISLIB ${GISTERM}/lib setenv UISLIB /net/ipfy/hilbring/uisjars setenv CLA

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Víctor
You can expand environment space in Windows by running "command.com /e:4096" if you want to set systen environment to 4K. I can't remember how to do it in Linux, sorry. Víctor Joachim Diepstraten ha escrito: > Hi > > > > Good question why not move the jars all in one directory and set the >

[JAVA3D] watcher Thread

2001-06-21 Thread Daniel Balaguer Yagan
hi there again, has anyone of you guys implemented a Thread that watches the state of the live scene graph? this Thread specifically watches which of the objects in the live scene have changed their Geometry and Appearance components, and then performs a certain action. daniel ==

[JAVA3D] Shading differences between OpenGL and DirectX versions

2001-06-21 Thread Lluís Pineda
Hello, maybe I'm doing something wrong, but I appreciate differences between the two java3D versions in terms of specular shines (loading same model under same conditions). I load a 3DS model, that has a texture mapped, and I set the material with the following values: material.setLightingE

Re: [JAVA3D] Background Geometry

2001-06-21 Thread Corysia Taware
How are you generating your starfield? It sounds like it's just a bitmap. I did some work on this a few months back and borrowed ideas I'd seen from Orbit, OpenUniverse, and Celestia. At first, I'd tried to use a JPG of the Tycho starfield, but it looked terrible and was slow. Instead, render y

Re: [JAVA3D] Background Geometry

2001-06-21 Thread Christian Bartel
Hi Corysia! Thanks a lot for that hint! It actually gave me a very fast and nice possibility to put system! > How are you generating your starfield? It sounds like it's > just a bitmap. First I used a bitmap, yes. > I did some work on this a few months back and borrowed ideas > I'd seen from

Re: [JAVA3D] Shading differences between OpenGL and DirectX versions

2001-06-21 Thread Joachim Diepstraten
Ehlo > model perfectly shining, the OpenGL version seems not to be affected for the > specular light (the scene contains two one ambient and two directional > lights ). > Is this behavior a bug? How can I manage to get the same behavior between No that's actually a limitation in OGL if I remembe

Re: [JAVA3D] LineArray

2001-06-21 Thread Anand Pillai
Hi Carlos, I think this is the way to do it. // tg is your TransformGroup and assuming you added // the two point arrays at index 0 and 1. TransformGroup tg; Shape3D pnt1 = (Shape3D) tg.getChild(0); Shape3D pnt2 = (Shape3D) tg.getChild(

Re: [JAVA3D] Background Geometry

2001-06-21 Thread Corysia Taware
- Original Message - From: "Christian Bartel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 10:00 AM Subject: Re: [JAVA3D] Background Geometry > But, if I travel to a star in Celestia, this star is glooming a little bit. > If I were able to make my sun look so

Re: [JAVA3D] Background Geometry

2001-06-21 Thread Christian Bartel
Hi! > I'm sorry, no I don't. I haven't tried to figure that out > yet. It looks > like the corona is done with some sort of lens flare > algorithm, but I don't > have any experience with simulating that yet. Yes, seems to be some lensflare stuff. I had the idea to easily use a .gif-file of a s

[JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)

2001-06-21 Thread Jean Laleuf
You might be able to hack this effect: Make a quad that's always oriented towards the camera. Give it a texture that looks like the corona effect you're after (make sure it's transparency around the edges of the corona). Scale the quad so the corona matches up well with the geometry of the star/su

Re: [JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)

2001-06-21 Thread Christian Bartel
Hi Jean! I had this idea (see my posting before). My Problem was: How to make it always face the camera (remember, I am a NEWBY :-))) Thanks Christian > -Original Message- > From: Jean Laleuf [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 21, 2001 6:55 PM > To: [EMAIL PROTECTED] > S

Re: [JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)

2001-06-21 Thread Joachim Diepstraten
Ehlo Christian > I had this idea (see my posting before). My Problem was: How to make it > always face the camera (remember, I am a NEWBY :-))) Use a Billboard node this will do exactly what you want EOF, J.D. -- Jmark2k+1 (http://www.antiflash.net/jmark) Test the performance of your PC online

Re: [JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)

2001-06-21 Thread Jean Laleuf
Ah, sorry. Use an OrientedShape3D. One caveat: I seem to remember mentions of problems w/ OrientedShape3D objects somewhere in the list archives. You might want to check that out. If it does turn out to be a problem, you can also look at the Billboard behavior class, which I think I've used succes

Re: [JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)

2001-06-21 Thread John Wright
Right... use OrientedShape3D, should work ok for what you want. What is broken for us is a single OrientedShape3D put in a shared group to make multiple objects always face the viewer... Sun has a bug for this... doesn't work. - John Wright Starfire Research Jean Laleuf wrote: > > Ah, sorry. >

Re: [JAVA3D] Shading differences between OpenGL and DirectX versions

2001-06-21 Thread Kelvin Chung
>Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Date: Thu, 21 Jun 2001 18:13:45 +0200 >From: Joachim Diepstraten <[EMAIL PROTECTED]> >Subject: Re: [JAVA3D] Shading differences between OpenGL and DirectX versions >To: [EMAIL PROTECTED] > >Ehlo > >> model perfectly shining, the OpenGL version s

Re: [JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)

2001-06-21 Thread Joachim Diepstraten
Ehlo Jean > well with the geometry of the star/sun. Make sure the center of the quad (ie > the rotation point) is lined up w/ the center of the star/sun sphere. That > way, it should always look like the corona surrounds the sphere. > Let me know if this works. It will only look well if the sun i

Re: [JAVA3D] Do not know how to generate a normal.

2001-06-21 Thread Michael Carter
    Hello JAVA3D world, my name is Michael I am a newbie.  My first project is to port an OpenGL mechanical man to JAVA3D. I am making the torso and feet, which are octahedrons.  I am using TriangleStripArray and QuadArray.  My problem is generating normals for my lighting. I determine that the no

Re: [JAVA3D] watcher Thread

2001-06-21 Thread Kasparian, Raffi J.
Have you considered subclassing your scene graph Nodes (the ones you're interested in) like this? It might require a lot of tedious subclassing but I don't think there is any other way to get the Java3D system to notify you of scene graph changes. The other way might be to have a thread constantly

Re: [JAVA3D] Solar coronas (was: [JAVA3D] Background Geometry)

2001-06-21 Thread Jean Laleuf
By planar mapping effect, do you mean that you'll see where the polygons of the sphere intersect w/ the plane? If so, you could probably get around that by translating the plane in -z by a bit before attaching it to the Billboard-affected transform group. This way it always lies a little behind th

Re: [JAVA3D] Do not know how to generate a normal.

2001-06-21 Thread John Wright
Michael, Take a look at "GeometryInfo", you can use it to generate your normals automatically. - John Wright Starfire Research === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "sign

Re: [JAVA3D] watcher Thread

2001-06-21 Thread Daniel Balaguer Yagan
hi there, thanks for your reply. well, yes, I have almost extended all the classes I need so that every time something has been added/changed (in Geometry and Appearance, Transform3D, etc.) in the live scene, that will inform my Event Catcher. But it seems very very tedious. I need to brow

[JAVA3D] Java 3D Application List

2001-06-21 Thread Michael Schulman
Java 3D Developers and Users - A few months ago, I asked for you to let us know what you are doing with Java 3D. We received a good number of responses, and, as promised here are the results. Thank you to all of you who responded. http://java.sun.com/products/java-media/3D/in_action/application.

[JAVA3D] How to draw in an offscreen canvas3D

2001-06-21 Thread Marc Carrion
Hello, I'm having some problems using an offscreen canvas. Here we go... First of all, I don't want to use an offscreen canvas, I was trying to draw in a canvas but using a clipping region. I didn't find any clipping region in GraphicsContext3D, so I looked for it in Graphics2D class, the

Re: [JAVA3D] Slightly off topic: Java3D Space Simulators (was: [JAVA3D] Solar coronas)

2001-06-21 Thread Jonathan Kelly
Hi everyone, Speaking of solar coronas... I'm creating something like (but not as elaborate as) Celestia/Open Universe using Java3D, and I'd be interested to hear about similar projects that other users are working on. Thanks all. Jonathan Jonathan Kelly University of Alberta ===

Re: [JAVA3D] Slightly off topic: Java3D Space Simulators

2001-06-21 Thread Corysia Taware
Mine is a simple project to help me understand the API. I'm inspired by the OpenGL game Orbit, but I'm not writing an exact clone. I'd like to turn it into a tutorial. - Original Message - From: "Jonathan Kelly" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 3

Re: [JAVA3D] sorry, off topic classpath question

2001-06-21 Thread Oleg Pariser
We've been trying to resolve this issue for a while now(See Java bug reports #4339262 and #4430150). Most of the solutions we considered are real pain to maintain to say the least. But recently a member of our group stumbled upon Sun's Extension Mechanism Architecture: http://java.sun.com/j2se/

Re: [JAVA3D] Java 3D Application List

2001-06-21 Thread Kendall, Shawn
Wow, that is a great list! Michael Schulman wrote: > Java 3D Developers and Users > > http://java.sun.com/products/java-media/3D/in_action/application.html -- ___ Shawn Kendall Full Sail Real World Education Course Director

Re: [JAVA3D] Do not know how to generate a normal - thanks.

2001-06-21 Thread Michael Carter
Thank You John, that was a great hint.  It took me all day but I figured it out. Without you and the JAVA3D mailing-list I would had not been able to figure this out.   Man do I like JAVA3D!   Michael Carter Purdue University Student   - Original Message - From: John Wright Sent: Thursday,

Re: [JAVA3D] Eric, is that a multi-viewPlatform?

2001-06-21 Thread Eric Reiss
Your app works just like it is suppose to in Java3D. The viewer is not always along the Z axis of an object. Think of it as having a universal coordinate system and the objects and viewplatform are relative to that. When you move or rotate and object, it is relative to the universal coordinates

[JAVA3D] Display bug ?

2001-06-21 Thread Thomas
Hi, I've been encountering some weird display behavior regarding the width of lines (LineArray) and the size of points (PointArray) I developped a program where you can draw or leave points on 3D surfaces (imported VRML models). I've been testing my program on Windows 98, Windows ME and Window

[JAVA3D] Help: newby dying here

2001-06-21 Thread Thomas Gilbert Giusepe
Hi All, I am working around the following bug message: class can't be instantiated. java.lang.InstantiationException: at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Class.java:241) at sun.applet.AppletPanel.createApplet(AppletPanel.java:508)

[JAVA3D] LineArray

2001-06-21 Thread Carlos Ariza
Hi all: How may I assign LineArray from two PointArray previously assign to the TransformGroup?. Any hints? Thanks in advance. === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "sig