[JAVA3D] MULTITEXTURE

2001-07-05 Thread Alvaro Zabala
Hello everybody!! I know I would be very boring, but I´m very interested in some Multitexture ticks: Why multitexture costs so much in performance? It is a very heavy process. If I compare multitexture to Java2D image processing tasks, Java2D is more efficient. For blending textures, I think

Re: [JAVA3D] Sorry Iam sending this message again. Somebody please help.

2001-07-05 Thread Joachim Diepstraten
Hi Jyothi 3D object ( a bottle created from multiple polygons). I need to stick a label on to the bottle. The label is available as a gif file. I am able to map the image to one of the planes on the side of the bottle. I need to know how to stretch the label across multiple planes i;e, I

Re: [JAVA3D] Loading animation behaviour from 3ds files

2001-07-05 Thread Daniel Moscoso
Is there any program to convert 3ds animation to LWS scenes ? __ Bob Dengle wrote: I am pretty sure that there is currently no loader capable of loading animations. Sorry for the late post, but the Lightwave loader loads animations. //Rikard

Re: [JAVA3D] Jesus! can run it in sun's applet viewer but can't run in IE5.5

2001-07-05 Thread Daniel Moscoso
You just have to pass the file as an URL: URL textureURL = new URL(file:./background.jpg); TextureLoader loader =new TextureLoader(textureURL, this); Dani --- Like I said, I don't think you reference a file by name like that. The browser supports a higher level

[JAVA3D] Picking

2001-07-05 Thread Marianne Lund Jacobsen
Hello I have another question about picking. I'm displaying a graph on the canvas, and some points that are used to specify the values of the graph. The points are pickable, and when the user drags them, the graph changes acoordingly. But sometimes it is just impossible to pick a point. It's

Re: [JAVA3D] MULTITEXTURE

2001-07-05 Thread Artur Biesiadowski
Alvaro Zabala wrote: Why multitexture costs so much in performance? It is a very heavy process. If I compare multitexture to Java2D image processing tasks, Java2D is more efficient. I think it depends heavily on your graphics card. Also remember that if you prerender, you have to do it

Re: [JAVA3D] how can I show selected objects to user?

2001-07-05 Thread Carolina Prieto Muñiz
Hi! you can try changing the appeareance of selected objects. If all objects in the scene are solid, maybe you could change its appeareance to alambic or dots. The user would easily notice which one is selected. Hola Borja, por qué no cambias la apariencia de la/s figura/s seleccionadas?

[JAVA3D] What's better?

2001-07-05 Thread Joachim Diepstraten
Ehlo I wonder what's better performance wise. Having many shapes with the same material or having one shape with the same material but having many geometry nodes? I know that Performer for example makes a material sorting to cut down costs for OGL setMaterial calls. EOF, J.D. -- Realtime

[JAVA3D] Displaying a line...

2001-07-05 Thread Tor Einar Kjørkleiv
I have tried to display a line with the code under, but no line appears in the applet. Simple solutions/tips available? Thanks Todda import com.interaction.i3d.*; import java.applet.Applet; import java.awt.BorderLayout; import java.awt.Frame; import java.awt.event.*; import

Re: [JAVA3D] MULTITEXTURE

2001-07-05 Thread David Yazel
There is a bug in multi-texturing right now. They do not use display lists for multi-texturing, only vertex arrays. Also, if you are using more texture units than is supported on the card then it is rendered in mutliple rendering passes. And I don't think you can compare Java2d and Java3d in

Re: [JAVA3D] Win2000 vs. WinNT

2001-07-05 Thread Daniel Selman
Ronald, Could it be that *preparing* the scene for rendering is the bottle-neck? If you are running behaviors of computing positions for objects this could be taking longer than rendering the frames. You could also try disabling V-sync for your cards to see if that pushes the frame-rate up (at

Re: [JAVA3D] Displaying a line...

2001-07-05 Thread Alvaro Zabala
Maybe you must modify Clipping planes of your view. (nearest to you) -Mensaje original- De: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]En nombre de Tor Einar Kjørkleiv Enviado el: jueves 5 de julio de 2001 12:39 Para: [EMAIL PROTECTED] Asunto: [JAVA3D] Displaying a

Re: [JAVA3D] MULTITEXTURE

2001-07-05 Thread Alvaro Zabala
Hi, David! Thanks for your answer. Maybe I didn't explain well. I realized that using multitexture was a too much cost process for frame rating, so I tried to make the multitexture in an offscreen pre-rendering process. Why is better Java3D multitexture? I must use Java2D anyway, to getting

[JAVA3D] How many different tolerences for tolerence for picking??

2001-07-05 Thread Alex Bowden
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 being applied from somewhere which I want to reduce or turn off. I can find various references to picking tolerences but non of them

Re: [JAVA3D] Displaying a line...

2001-07-05 Thread Tor Einar Kjørkleiv
I tried to set the front- and backclipdistance, but it did not work. Did I do it right? simpleU.getViewer().getView().setFrontClipDistance(2); simpleU.getViewer().getView().setFrontClipDistance(2); Todda From: Alvaro Zabala [EMAIL PROTECTED] Reply-To: Discussion list for Java 3D API [EMAIL

Re: [JAVA3D] Displaying a line...

2001-07-05 Thread Tor Einar Kjørkleiv
Sorry it should be: simpleU.getViewer().getView().setFrontClipDistance(2); simpleU.getViewer().getView().setBackClipDistance(2); But it still not work... Todda From: Alvaro Zabala [EMAIL PROTECTED] Reply-To: Discussion list for Java 3D API [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:

Re: [JAVA3D] Displaying a line...

2001-07-05 Thread Alvaro Zabala
Hi! try: simpleU.getViewer().getView().setFrontClipDistance(0.1); simpleU.getViewer().getView().setBackClipDistance(30); Regards! === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the

Re: [JAVA3D] MULTITEXTURE

2001-07-05 Thread Mark Ferneau
Alvaro, Let's say that you want to apply two textures, Ta and Tb to one or more shapes. If the effect that you want is for Ta and Tb to be overlaid on each other such that the texture coordinates for the two are always the same and the sizes of Ta and Tb are the same, then combine them into a

Re: [JAVA3D] By reference or by value

2001-07-05 Thread Christopher Collins
Hello Nikolaos, I'm pretty sure that the appearance is assigned by reference. I am using several Shape3D with IndexQuadArrays, all assigned the same appearance object. To change the appearance fill state of the entire scene, I just retrieve one appearance and change the PolygonAttributes, and

[JAVA3D] setting capabilities on data loaded by VRML loader

2001-07-05 Thread Alex Bowden
Having loaded a VRML model I can pick it with BranchGroup.pickxxx(PickRay) but cannot use either shape3D.intersect(PickRay, PickRay, Double[ ]); as ALLOW_INTERSECT isn't set. Similarly PickResult result = pickCanvas.pickClosest(); PickIntersection pickIntersection =

Re: [JAVA3D] 3D GUI [ Urgent ]

2001-07-05 Thread Marianne Lund Jacobsen
On Thu, 5 Jul 2001, SIVAVAKEESAR wrote: Since I am new, can somebody advice me as to where I can find useful tutorials, demos, sample program etc related to 3D. Lots of links to tutorials and stuff was posted very recently. Have a look in the archive at the Thread 'I need Java 3D

[JAVA3D] 3D GUI

2001-07-05 Thread SIVAVAKEESAR
Dear Friends :I am very new to Java 3D. I am now in the process of creating an GUI in 3D [ something like Sonique OR Winamp player ] for my VoIP application. Can anybody tell me how can I do it using Java 3D ? Since I am new, can somebody advice me as to where I can find useful tutorials,

Re: [JAVA3D] Win2000 vs. WinNT

2001-07-05 Thread Ronald Mourant
--- Jason Taylor [EMAIL PROTECTED] wrote: Errmm What software do you get 28fps with? If it's java based what version of JRE (1.2,1.3,1.3.1 ?) and Java3D (1.1,1.2,1.2.1, openGL on both?) have you got? Jason, We are using JRE 1.3 and OpenGL but on Win2000 we have Java3D 1.1 and and

Re: [JAVA3D] 3D GUI [ Urgent ]

2001-07-05 Thread Carolina Prieto Muñiz
Hi! These are the links Marianne told you about. Links: http://www.j3d.org/ -- The Java 3D Community (Justin Couch) http://www.java.sun.com/products/java-media/3D/collateral/-- Sun Java3D Tutorial http://www.java3d.org/tutorial/ -- Beginners guide

Re: [JAVA3D] Win2000 vs. WinNT

2001-07-05 Thread John Wright
Ronald, Upgrade the Win2000 machine with Java 3D 1.2.1 and you should see a huge performance increase. Your situation was intriguing because assuming equivalent setups the faster machine should have been easily faster unless there was a software throttle keeping the frame rate from going up. -

[JAVA3D] About Vrmlloader: how can a Java3d-based applet load VRML files?

2001-07-05 Thread SUBSCRIBE JAVA3D-INTEREST Wu AnBo
I have to use java3d applet to load VRML files to enrich my scenegraph, but I don't know how can the Vrmlloader access the vrml files in a file system or in a website. Thanks a lot! Wu Anbo ===

Re: [JAVA3D] Jesus! can run it in sun's applet viewer but can't run in IE5.5

2001-07-05 Thread Will Holcomb
On Thu, 5 Jul 2001, Daniel Moscoso wrote: You just have to pass the file as an URL: URL textureURL = new URL(file:./background.jpg); TextureLoader loader = new TextureLoader(textureURL, this); Another useful way to do it is to use getClass().getResource() for instance you could do: URL

Re: [JAVA3D] Jesus! can run it in sun's applet viewer but can'trun inIE5.5

2001-07-05 Thread Artur Biesiadowski
Will Holcomb wrote: Does anyone know a way to write one path that will work both places? I guess you could get a url for the current class and see if it begins with jar: or not and make your path accordingly but that seems like a bit kludgy to me.

Re: [JAVA3D] Another shot at particle system

2001-07-05 Thread Jenkins, Todd (HOU)
VERY COOL. Definitely need this in the Java3D.org CVS. Todd -Original Message- From: Artur Biesiadowski [mailto:[EMAIL PROTECTED]] Sent: Monday, July 02, 2001 4:31 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Another shot at particle system

Re: [JAVA3D] using j3d on SGI irix 6.5

2001-07-05 Thread Joachim Diepstraten
Ehlo already tried other APIs like Inventor or Sense8's Toolkit. They have How about Performer? I think on SGI platform this is still the best solution (and also the fastest). Supporting Multipipe and multiprocessor. EOF, J.D. -- Realtime Raytracer in JAVA (http://www.antiflash.net/raytrace)

[JAVA3D] unsubscribe

2001-07-05 Thread Mark Kahrl
=== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message signoff JAVA3D-INTEREST. For general help, send email to [EMAIL PROTECTED] and include in the body of the message help.

Re: [JAVA3D] Win2000 vs. WinNT

2001-07-05 Thread Corysia Taware
Just out of curiosity, do you have 'vertical sync' enabled? It's probably called different things on different cards. But it's one reason why a small app (spinning cube) will only get 60 fps on a GeForce2. It will sync to your refresh rate (60 hz). Turn off vertical sync and you'll see

Re: [JAVA3D] Another shot at particle system

2001-07-05 Thread Kendall, Shawn
I can't run this thing or unpack it. I get this error when I unjar it. created: META-INF/ java.util.zip.ZipException: oversubscribed dynamic bit lengths tree at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:139) at

Re: [JAVA3D] Another shot at particle system

2001-07-05 Thread Artur Biesiadowski
"Kendall, Shawn" wrote: I can't run this thing or unpack it. Some web browsers are known to corrupt jar files on download (nestcape for example). You might want trying to download thenut.eti.pg.gda.pl/~abies/j3d/particle2.zip and either unpacking it or renaming to jar and running. Artur

Re: [JAVA3D] Win2000 vs. WinNT

2001-07-05 Thread Nathan Bower
Sofar everyone has assumed its the jre / hardware that is causing the bottleneck. How about if the fps couning code is defunct? N === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

Re: [JAVA3D] Win2000 vs. WinNT

2001-07-05 Thread Yazel, David J.
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 example the elapsed time behavior is notoriously inaccurate. Our first FPS counter used elapsed frames (40) and examined the view

Re: [JAVA3D] Another shot at particle system

2001-07-05 Thread Kendall, Shawn
Thanks! I got it working. Very nice, I like the moiton blur/trailing effect. Artur Biesiadowski wrote: Kendall, Shawn wrote: I can't run this thing or unpack it. Some web browsers are known to corrupt jar files on download (nestcape for example). You might want trying to download

[JAVA3D] Behaviors and Swing events

2001-07-05 Thread Fred Klingener
Can someone help me get my brain around this. I'm working to get Swing events into the scene graph, and I'm generating some pretty awful code. There must be a sensible pattern to this that I'm missing. I take my basic pattern from the AWT_Interaction demo program. This pattern calls for an

Re: [JAVA3D] setting capabilities on data loaded by VRML loader

2001-07-05 Thread giles
However the BranchGroup returned by the VRML loader is a pretty odd beast made of Links, Nodes, SharedGroups , ElasticBands and PaperClips and it isn't obvious how to find the geometry in it all. I was wondering where my paperclips went! So, a) can one tell the VRML loader in advance how

Re: [JAVA3D] Win2000 vs. WinNT

2001-07-05 Thread Philip Taylor
just as an fyi to anyone running the DX version of Java3D on W2k, there is a known kernel issue wrt to AGP memory that affects vertex buffer performance. installation of DX 8, DX 8 drivers, and WK SP2 will result in better poly thruput. nvidia has a sample, benmark5, that can be useful to

[JAVA3D] Scenegraph Culling

2001-07-05 Thread Michael Nischt
Title: zero mail hi all, i am wondering how efficient Java3D's scenegraph culling is ? AFAIK i konw a quadtree is used for culling, so it should no too bad.. i guess everything is culled with the viewplattform bounds, so are the six projection planes put in a BoundingSphere or the like that

Re: [JAVA3D] Scenegraph Culling

2001-07-05 Thread Michael Nischt
Title: zero mail Kendall, Shawn wrote: You will find most of what you are looking for if you search the mailing list archives and also check out www.j3d.org. well, i looked at www.j3d.org before, but din'T find anything, and after your mail i also did a search a the mailing archive. i

Re: [JAVA3D] Scenegraph Culling

2001-07-05 Thread Chris Thorne
Hi Michael, FYI below is the info I gathered on culling for the Performance Sutras (I'll have to do an update).. As to actual stats on *how* efficient it is I can't say. cheers, Chris LODS/Switches and culling Application Culling 1.Using the application to cull nodes at a gross level (e.g.

Re: [JAVA3D] Displaying a line...

2001-07-05 Thread Tor Einar Kjørkleiv
Thanks Anand, Alvaro and aant! I´ve tried all suggested solutions but still no line will display itself on the screen. I did not quite understand Anand what you ment by the line geom.setColor(1, setColor);. Is it possible for you to explain closer? And I´m very happy for any new suggestions that