[JAVA3D] [Java3D] transparancy in object

2001-03-13 Thread SW Keum
hi.   is there anyway to set transparency of object by part?   I mean, is it possible to make some part of 3Dcube transparent? like a transparent-gif file, which shows the object in its real form, and the background is transparent.   thanks in adv. ==

[JAVA3D] Getting world coordinates from screencoordinates

2001-03-13 Thread Fiasco
I'm trying to figure out how I can transform mouse coordinates from the screen into world coordinates.   I'm trying to grab objects of varying z distance and want them to appear to stick to the mouse cursor as I drag them.   Any help appreciatted.   Fiasco

[JAVA3D] hello

2001-03-13 Thread Florin Marghescu
My company is interested to port same Performer applications to Java+Java3D. We have very complex scenes,with 20 000 to 100 000 nodes. Our tests showed that we couldn't even create 10 000 nodes each with a cube. I presume the limitations was because of memory. However my workstation

Re: [JAVA3D] How to create a jpeg file through the canvas

2001-03-13 Thread Justin Couch
David et al, > I don't know where the call to super.postSwap() should be, if it is needed > at all. It is not needed. The superclass postSwap() is an empty method. > understand the documentation, particularly the distinction between > postSwap() and postRender(). postRender is after the 3D gra

Re: [JAVA3D] Getting world coordinates from screencoordinates

2001-03-13 Thread Artur Biesiadowski
> Fiasco wrote: > > I'm trying to figure out how I can transform mouse coordinates from > the screen into world coordinates. I'm trying to grab objects of > varying z distance and want them to appear to stick to the mouse > cursor as I drag them. Look at the source code of com.sun.j3d.utils.pic

Re: [JAVA3D] 3DS Loaders and URL

2001-03-13 Thread John Wright
Boris, No. Since Sun is releasing code that will allow saving scenes in a "native" format (they have support for both file access and URL access) we have decided not to pursue adding URL support to our loader. We consider this loader a way to convert from 3DS to Java 3D. And even though it is

Re: [JAVA3D] Annotation

2001-03-13 Thread J. Lee Dixon
Take a look at the Raster class in Java3D. You will make an "image" of your text, then create a Raster. Place the Raster in a Shape3D and then under the TransformGroup of the item you want to annotate (perhaps give it some offset in the constructor). Haven't done this myself in Java3D, but I've

Re: [JAVA3D] [Java3D] transparancy in object

2001-03-13 Thread J. Lee Dixon
You can definitely use transparency gifs and jpegs. Really your texture would be a mask, totally white, but with an alpha channel to show/hide different areas. Your texture mode would be MODULATE. -Lee -Original Message- From: SW Keum [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13,

[JAVA3D] Java 3D + Animation

2001-03-13 Thread Víctor
Hello, Could anybody tell me if there is any file loader which supports loading animations? Thanks PRISMAKER TEAM === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAV

Re: [JAVA3D] How to create a jpeg file through the canvas

2001-03-13 Thread Alexey S. Kruchenok
Good (timelocal) >> Ideally, I would like to access and write the data raw, not compressed. >What raw data do you need other than the raster information? It looks >like this code is wandering around in various incarnations based off >stuff from my tutorial. In an effort to promote the code repos

Re: [JAVA3D] How to create a jpeg file through the canvas

2001-03-13 Thread Justin Couch
"Alexey S. Kruchenok" wrote: > But what should I do if I wanna apply some image filter like Blur or Zoom to > image produced by Canvas3D in Mixed mode. Do you want to do this to the image that is rendered on screen with the canvas 3D or to the one that is saved to a file on disk? For the former

Re: [JAVA3D] Getting world coordinates from screencoordinates

2001-03-13 Thread Fiasco
I still cant figure this out. All I want to do is take the drag distance from the mouse and convert it to the corresponding 3d world distance. This, of course, would vary depending on how far the object your moving is from the screen. - Original Message - From: "Artur Biesiadowski" <[E

Re: [JAVA3D] hello

2001-03-13 Thread BRANDY Cyril
I load geometries with 1 300 000 nodes (600 000 triangles) and it works fine. I use a GeometryArray structure that i put in one Shape3D. You should try to divide your cubes in 6 quad and put all the quads in a QuadArray or in a IndexedQuadArray. Then you will have only one shape3D. Cyril -Me

Re: [JAVA3D] Getting world coordinates from screencoordinates

2001-03-13 Thread Artur Biesiadowski
Fiasco wrote: > > I still cant figure this out. > > All I want to do is take the drag distance from the mouse and convert it to > the corresponding 3d world distance. This, of course, would vary depending > on how far the object your moving is from the screen. In source code I've pointed to ther

[JAVA3D] Textures on uneven surfaces

2001-03-13 Thread Paula Keohan
I've got three questions to ask... 1) When would you use Texture3D as opposed to Texture2D? 2) I've created a wire model of the outer core of an orange. I now want to put the texture of the skin of the orange onto the model. How can I do this so that it doesn't just look like a repeating pa

Re: [JAVA3D] Java 3D + Animation

2001-03-13 Thread Mark Ferneau
The Lightwave loader in the J3D utils package supports some form of animation. If you have the J3D demos loaded cd to the Lightwave directory and run the demo there. You should see the animation of a red cone in a scene with a green sphere. --mark At 01:48 PM 3/13/2001 +0100, you wrote: > He

Re: [JAVA3D] Java 3D + Animation

2001-03-13 Thread Rikard Elofsson
Víctor wrote: > > Hello, > Could anybody tell me if there is any file loader which supports > loading animations? The Lightwave loader does this fine. //Rikard === To unsubscribe, send email to [EMAIL PROTECTED] and inclu

[JAVA3D] Primitive constructor bug

2001-03-13 Thread Fabrizio Nunnari
Hello everybody, I noticed a problem building objects from the .geometry.* package If I do: Appearance app = new Appearance() ; // set it Box box = new Box(dx, dy, dz, app) ; everything works fine, but I need a separate geometry for each cube, so I tried: Box box = new Box(dx,dy,

[JAVA3D] Picking problem : VERTEX FORMAT capability

2001-03-13 Thread BRANDY Cyril
Hi ! I have this exception when I do some picking, but I can't find this GeometryArray capability Thanks javax.media.j3d.CapabilityNotSetException: GeometryArray: no capability to get vertex format at javax.media.j3d.GeometryArray.getVertexFormat(GeometryArray.java:479) at co

Re: [JAVA3D] Picking problem : VERTEX FORMAT capability

2001-03-13 Thread BRANDY Cyril
I found it : ALLOW_FORMAT_READ -Message d'origine- De: BRANDY Cyril Date: mardi 13 mars 2001 16:53 À: [EMAIL PROTECTED] Objet: [JAVA3D] Picking problem : VERTEX FORMAT capability Hi ! I have this exception when I do some picking, but I can't find this GeometryArray capability Thanks

[JAVA3D] HTML Converter

2001-03-13 Thread Tonz .
Hello could anybody tell me from where I can download the HTML Converter under windows Thanx _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

[JAVA3D] Java Plug-in

2001-03-13 Thread Tonz .
hello i tried to run the *_plugin.html files in the demo/java3d directory. but it doesn't run there's an error apears on the Java Console . java.lang.NoClassDefFoundError: javax/media/j3d/Group at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Unknown Source) at su

[JAVA3D] Frame-based Animation

2001-03-13 Thread Gregory X Hopkins
Hi everyone, I'm trying to do some simple animation where I move several objects between each frame. Is there a way to make sure that all the objects are moved at the same time? Maybe there is a function you can call to tell java3d to stop rendering, then move all the objects and tell java3d to

Re: [JAVA3D] Java Plug-in

2001-03-13 Thread Gupta, Vineet ERDC-TEC-VA
Have you downloaded the opengl95.exe file to you windows/system directory? Vineet Gupta -Original Message- From: Tonz . [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 13, 2001 12:22 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Java Plug-in hello i tried to run the *_plugin.html

Re: [JAVA3D] Annotation

2001-03-13 Thread Brian Eppert
Don't know if anyone answered this already, but here's how I handled it (in a subclass of TransformGroup): { TransformGroup labelTG = new TransformGroup(); labelTG.setCapability(labelTG.ALLOW_TRANSFORM_WRITE); Transform3D topTransform = new Transform3D(); getTransform(topTransfor

Re: [JAVA3D] 3DS Loaders and URL

2001-03-13 Thread Alvin Yue
John, I respect your reasoning. But, your customers are crying for this feature. It would add work to convert from 3DS to SUN's format. If a company want to minimize number of models files, I'd assume that they'd want to standardize on a more widely used format. Hope you'd think about this ag

Re: [JAVA3D] OT: Particle Systems for Dummies using Java3D?

2001-03-13 Thread Martin Baker
Michael, What you describe sounds a bit like 'relaxation method'? I agree, I think this is an interesting area to experiment with Java3D. I have put some ideas at: http://www.martinb.com/physics/graph.htm What do you think? I would welcome any help to improve it. Martin > Hi all, > I am int

Re: [JAVA3D] hello

2001-03-13 Thread Jay Mak
I'm not sure but I believe I've read on the 3D section of www.webreference.com that there is a limitation on the number of polygons of a scene that Java 3D can support.\ - Original Message - From: "Florin Marghescu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 200

Re: [JAVA3D] How to create a jpeg file through the canvas

2001-03-13 Thread Doug Twilleager
> >> understand the documentation, particularly the distinction between >> postSwap() and postRender(). > >postRender is after the 3D graphics rendering has finished and >postSwap() is after any other composition might be finished. Effectively >postSwap() is the last thing to occur before the back

Re: [JAVA3D] How to create a jpeg file through the canvas

2001-03-13 Thread Ashley Martin
Say I am using the NCSA portfolio to grab 2D jpeg images. When I check the resolution of the images they are only 72 dpi. I need to grab them at say 800 dpi. Can I do anything like this. Ashley . >From: Doug Twilleager <[EMAIL PROTECTED]> >Reply-To: Doug Twilleager <[EMAIL PROTECTED]> >To: [EMA

Re: [JAVA3D] How to create a jpeg file through the canvas

2001-03-13 Thread Doug Twilleager
The offscreen rendering feature added in 1.2 is the way to do this. You may create a high resolution offscreen Canvas3D to render into. Doug Twilleager Sun Microsystems >X-Originating-IP: [131.94.166.34] >To: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: [JAVA3D] How to create a jpeg file

Re: [JAVA3D] hello

2001-03-13 Thread Doug Twilleager
Not true. The only limiting factor in the size of a scene is memory. Doug Twilleager Sun Microsystems >X-Originating-IP: [24.64.167.242] >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 >X-Or

Re: [JAVA3D] VRML Loaders

2001-03-13 Thread John Richardson
Hello, >John Richardson wrote: > >> VRML 97 is an ISO standard so it is open source. > >Bzzzt. Wrong answer. ISO != Open Source. In fact, most ISO standards are >incredibly closed due to patent limitations (look at the MPEG spec for a >classic example). Sure anyone can purchase a copy of an ISO s

Re: [JAVA3D] How to create a jpeg file through the canvas

2001-03-13 Thread Justin Couch
Doug Twilleager wrote: > Not quite. postRender() is called when all geometries in the scene > graph have been rendered. This is the last chance for an application > to render into the back buffer before the back buffer is swapped into > the front buffer. postSwap() is called after the back buf

Re: [JAVA3D] 3DS Loaders and URL

2001-03-13 Thread John Wright
Alvin, If anyone would like to step up and pay for the development time I'd be glad to add this feature. So far not a single person has sent any payment and yet our loader is downloaded on average three times per day. As I understood it the reverse engineered URL support is rather convoluted (e

Re: [JAVA3D] 3DS Loaders and URL

2001-03-13 Thread Artur Biesiadowski
John Wright wrote: > > Alvin, > > If anyone would like to step up and pay for the development time I'd be > glad to add this feature. So far not a single person has sent any > payment and yet our loader is downloaded on average three times per day. > > As I understood it the reverse engineered UR

Re: [JAVA3D] Frame-based Animation

2001-03-13 Thread Artur Biesiadowski
Gregory X Hopkins wrote: > > Hi everyone, > > I'm trying to do some simple animation where I move several objects between each > frame. Is there a way to make sure that all the objects are moved at the same > time? > > Maybe there is a function you can call to tell java3d to stop rendering, then >

Re: [JAVA3D] HTML Converter

2001-03-13 Thread Edith
hello, you can download HTML converter from www.sun.com. But if you wish you can use what i attach. By Edith - Original Message - From: Tonz . <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 13, 2001 2:30 PM Subject: [JAVA3D] HTML Converter > Hello > could anybody tell m

[JAVA3D] com.sun.j3d web reference?

2001-03-13 Thread Mona Wong
Hi: Where can I find the web doc on com.sun.j3d.* similar in format to http://java.sun.com/products/java-media/3D/forDevelopers/J3D_1_2_API/j3dapi/ Thanks, Mona == Mona Wong National Center for Microscopy and Imaging Resea

Re: [JAVA3D] Frame-based Animation

2001-03-13 Thread Josh Richmond
Here's a simple behaviour that should do the trick. Just define the updateX() methods to whatever you'd like. I have a similar behaviour that received asynchronous updates, then renders the most recent data for each object every frame. josh

Re: [JAVA3D] 3DS Loaders and URL

2001-03-13 Thread John Wright
{laugh} I should stop responding to these and just rewrite the code. I don't really think writing it using a sequential loading scheme (streams) would be very hard. 3DS format seems to be designed for random access though. - John Wright Starfire Research Artur Biesiadowski wrote: > > John Wrig

[JAVA3D] rotating about centroid

2001-03-13 Thread Mona Wong
Hi: Okay, I feel like an idiot ... but I can't seem to get the object to rotate about its center using the MouseRotate() class. Note: my object is not centered at the origin but rather at the Point3d location named centroid. What is wrong or missing in the following code: Trans

Re: [JAVA3D] Java Plug-in

2001-03-13 Thread Tonz .
hi :) I've downloaded the opengl95.exe file to my windows/system directory ! thanx _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ===

Re: [JAVA3D] 3DS Loaders and URL

2001-03-13 Thread Alvin Yue
John, I couldn't help making my last comment on this. As I just did a research about Open Source Development. The recent trend seems to be offering free version and advanced version (paid version). One of the examples will be NetBeans. I'd think that instead of asking for donation, make a

[JAVA3D] Java 3D-VRML97 Loader - Brief sharing of result

2001-03-13 Thread #LAW YEE WEI#
Personal experience --- I wish there's a more convenient name for the loader even though it's already defunct. I would briefly call it "the loader" in the following. My experience with the loader has been very frustrating. First, nodes supported are kept on a functional level. Seco

Re: [JAVA3D] Java Plug-in

2001-03-13 Thread Alexey S. Kruchenok
Hi there You must check thats j3dauidio.jar,j3dcore.jar,j3dutils.jar,vecmath.jar located at "Current JRE HOME directory"/lib/ext/ for example c:\program files\javasoft\jre1.3\lib\ext\ or d:\jdk1.3\jre\lib\ext\ in the Advanced tab in Control Panel try to select JRE manualy. wbr Alexey -Origin