Re: [JAVA3D] Multiple Subviews in a Java3D applet

2001-04-23 Thread Daniel Moscoso
Thanks for help !! I have another question: Is it possible to show more than one view in a j3d applet ? If it is, has it to be done showing more than one Canvas3D in the applet ? How ? Many thanks !! Dani > One more question: > > So if any change in the object affects all views, and I want to

[JAVA3D] Isometric Perspective

2001-04-23 Thread Daniel Moscoso
Hi all !! I have a question. I know that the projection view policy can be changed with setProjectionPolicy(View.PARALLEL_PROJECTION / PERSPECTIVE PROJECTION). But exists any way to get an Isometric Perspective view of a j3d scene ? Thanks in advanced !! Dani -- Diese E-Mail enthält vertra

[JAVA3D] Raster

2001-04-23 Thread Karsten Fries
Hi there, I use the javax.media.j3d.Raster geometry object to display 2d bitmaps. Everything is fine, but I want the Raster to be centered at the 3d position. How can I do this. The Raster has a offset attribute, but i can't tell neither the BufferedImage nor the ImageComponent2D to use an offset

Re: [JAVA3D] NT4 and Java 3d

2001-04-23 Thread Renoir Sewjee
Hi, Yes the shapes were correct but the colours were all wrong. Regards, Renoir Mike Goldwater wrote: > Hi, > > In your case were the shapes correct and the colours wrong? > > Regards > Mike > ~ > Mike Goldwater > +44 (020) 8949 0353 - telephone / fax > +44 07956 359001

Re: [JAVA3D] Range ordering of transparent objects

2001-04-23 Thread J. Lee Dixon
Doug, I realize that my derived class would probably not have access to protected members of the Group class since I am not in the same package. Otherwise, could I get some guidance concerning the best way to perform the reordering? For example, should I place the whole OrderedGroup in a BranchGr

Re: [JAVA3D] Raster

2001-04-23 Thread Kevin Rushforth
We are adding a new destination offset attribute to Raster in version 1.3 of Java 3D that should do what you want. In the mean time, you'll need to adjust the raster position to compensate (which can be difficult since you have to take the transforms above the Shape3D node into account when compu

[JAVA3D] code

2001-04-23 Thread ktt
hello, after downloading the .class files, i cant see the code, just: Êþº¾· ·- € · Code · SourceFile · ConstantValue · Exceptions · examine · · java/applet/Applet · · Ljava/lang/Thread; · mainThread · · · · · ()V · stop · · · java/lang/Thread · · · · Z · initialized · · · · ·

[JAVA3D] Platform Geometry

2001-04-23 Thread Sackmunky
Is there anyway to move the platform Geoemetry to move it in front of the viewer. As of right now, the geometry shows up behind the viewer.   Zak

[JAVA3D] Using RenderedImage for textures

2001-04-23 Thread J. Lee Dixon
After hearing all the talk about the overhead associated with the Image and BufferedImage classes, I thought I would switch over to using RenderedImage. I have never seen so many classes and interfaces dealing with just images. I did a search and all I found about creating RenderedImages was usi

Re: [JAVA3D] 3D Texture coords as float[]

2001-04-23 Thread Kelvin Chung
Hi Justin, D3D 7.0 port did not support 3D Texture due to its limitation. If you do a Canvas3D queryProperties() the property texture3DAvailable always return false in D3D version. For OGL version it is up to the driver to support it, so always check this property before using 3D Texture. Sam

Re: [JAVA3D] Range ordering of transparent objects

2001-04-23 Thread Doug Twilleager
In 1.1.* there was very little difference between operations when capability bits were set. Things have changed quite a bit since then. For instance, whether we use vertex arrays or display lists in OGL, or vertex buffers in D3D is influenced by capability bits. Thes types of tradeoffs will onl

Re: [JAVA3D] Range ordering of transparent objects

2001-04-23 Thread Doug Twilleager
> >Doug, >I realize that my derived class would probably not have access to >protected members of the Group class since I am not in the same package. >Otherwise, could I get some guidance concerning the best way to perform >the reordering? > We also do a lot more than change a table under the cov

Re: [JAVA3D] Raster

2001-04-23 Thread Karsten Fries
Hi Kevin and Artur, thanks for your replies. I have not yet planed how I will do a workaround, but I will let you know how the story continued. Thanks again, Karsten Kevin Rushforth wrote: > We are adding a new destination offset attribute to Raster in version > 1.3 of Java 3D that should do

Re: [JAVA3D] 3D Texture coords as float[]

2001-04-23 Thread John Davies
Speaking of which, v1.3 beta I mean, roughly when will it be available in EA? -John- Kelvin Chung wrote: > Hi Justin, > > D3D 7.0 port did not support 3D Texture due to its > limitation. If you do a Canvas3D queryProperties() > the property texture3DAvailable always return false > in D3D ve

Re: [JAVA3D] Range ordering of transparent objects

2001-04-23 Thread J. Lee Dixon
Doug, The only way to rearrange the children of the OrderedGroup is to do attaches and reattaches of BranchGroups since I get an exception if I do a "setChild(Node, index)" without the child being a BranchGroup. This is from the Group.setChild() Javadoc: "RestrictedAccessException - if this grou

Re: [JAVA3D] Range ordering of transparent objects

2001-04-23 Thread Doug Twilleager
The only way to get the compile out of the way is to compile the scene without your OrderedGroup's, and then add them in after the compile. Other than that, I don't see any other ways to do this in 1.2.*. Doug Twilleager Sun Microsystems >To: "'Doug Twilleager'" <[EMAIL PROTECTED]>, [EMAIL PRO

[JAVA3D] Deprecated Views

2001-04-23 Thread Gregory X Hopkins
Hi everyone, It seems that the way of I used to show more than one View of a universe has been deprecated, and also broken. Here's what worked in my applet before: Canvas3D myCanvas3D = new Canvas3D(null); add(myCanvas3D); Canvas3D rightCanvas3D = new Canvas3D(null); add(righ

Re: [JAVA3D] OrbitBehavior.maxRadius()

2001-04-23 Thread Andrea Tartaro
There is only a min radius supported in OrbitBehavior, no max radius. All the actions share the same bounds. Sorry. andrea > Sackmunky wrote: > > Is there anyway to make the Orbit behavior not zoom,translate past a > certian radius, without the whole behavior stopping? I set the bounds > to a

Re: [JAVA3D] Let me try to say this more clearly

2001-04-23 Thread Kyle Wayne Kelly
Yes, I now understand.  Wisdom is honey to the soul!  /**  * Kyle Wayne Kelly  * Computer Science Student  * University of New Orleans  * 504-391-3985  * http://www.cs.uno.edu/~kkelly  * Glory to God!  * El temor del hombre pondra lazo;  * Mas el que confia en Jehova sera exaltado. (Proverb

Re: [JAVA3D] Range ordering of transparent objects

2001-04-23 Thread J. Lee Dixon
Doug, I turned off compiling of my scene and placed a BranchGroup above my OrderedGroup. Next, I changed all my child nodes to plain Group nodes. Still was very slow. Then I turned off all reordering and left *just* the detach/attach of my OrderedGroup. Still slow. Finally, I did some profilin

Re: [JAVA3D] Let me try to say this more clearly

2001-04-23 Thread Mauricio Vives
Kyle,   (it looks like you just figured it out, but I was about to send this response anyway; let me know if it is consistent with your newly found wisdom)   It looks like you want to be able to describe an object in world coordinates, and view that object from a camera positioned in world coord

Re: [JAVA3D] Applet with OpenGL instead of java3D is it possible? - security issues?

2001-04-23 Thread Gernot Veith
hi, this is possible. There are several openGL Java APIs. for example Magician. I've worked with some time ago. This is a full featured openGL API, but does not supply any scenegraph facility as Java3D does (IMHO no openGL does this). You have to implement that by yourself. JNI is mostly a very t

[JAVA3D] Canvas3D in a java.awt.ScrollPane ?

2001-04-23 Thread Kyle McDonald
Hi. Has anyone used a Canvas3D in a java.awt.Scrollpane component? If so did you see any problems when you scrolled it? For me the 'newly uncovered' area never gets drawn. If I minimize the window, and then un-iconify it again, the window is drawn

Re: [JAVA3D] Canvas3D in a java.awt.ScrollPane ?

2001-04-23 Thread Kyle McDonald
Correction. It does seem to work on Solaris 8 J2SDK-se-1.3.0_02 Java3D-1.2.1 OpenGL Solaris OpenGL 1.2.1 It doesn't seem to work on: Windows 2000 J2SDK-se-1.3.1rc1 Java3D-1.2.1 OpenGL MS OpenGL I haven't tried DirectX. -K

Re: [JAVA3D] Using RenderedImage for textures

2001-04-23 Thread Justin Couch
"J. Lee Dixon" wrote: > > After hearing all the talk about the overhead associated with the Image > and BufferedImage classes, I thought I would switch over to using > RenderedImage. I have never seen so many classes and interfaces dealing > with just images. I did a search and all I found about

[JAVA3D] Going offline for a while

2001-04-23 Thread Justin Couch
Folks, I'm going to pull up stumps and go offline for a while until I can get this server rebuilt. (ie I'm pulling the plug on it literally). That means this email address and _all_ associated with j3d.org will not be answered for a couple of weeks. There's a secondary MX host, but that won't pro

[JAVA3D] Java 3D working in VPC 4.0.2 on Mac OS 9.1

2001-04-23 Thread Brad Schrick
fyi, Java 2 1.3 and Java 3D 1.2 are working well in Virtual PC 4.0.2 on a 450MHz Cube under Mac OS 9.1 VPC 4 is optimized for G4's, I believe The latest version of WebScope, 1.3, is running as designed under VPC This is more a case of an amazing emulation job than amazing performance, of cours

Re: [JAVA3D] Let me try to say this more clearly

2001-04-23 Thread Mauricio Vives
Oops... I was a bit hasty in typing out one of the matrices in my previous message; the corrected matrix is below. -Original Message-From: Mauricio Vives [mailto:[EMAIL PROTECTED]]Sent: Monday, April 23, 2001 4:55 PMTo: [EMAIL PROTECTED]Subject: Re: [JAVA3D] Let me try to say th

Re: [JAVA3D] Byref blended texture crash ?

2001-04-23 Thread Artur Biesiadowski
Kelvin Chung wrote: > > Hi Artur, > > FYI, bug 4449426 is filed for it. Since Transparency Raster > is not support in v1.2.1 anyway (due to bug > 4401323 - Transparency value ignored for RGBA rasters) > You can workaround it by not using transparecy raster. But this is not a problem with RGBA

Re: [JAVA3D] Let me try to say this more clearly

2001-04-23 Thread Kyle Wayne Kelly
Thanks for the response.  Sounds right to me.  My professor showed me a particular example.  Since the resultant vectors are perpendicular, any point that lies along one of the original axis's are mapped to the new axis. For example, if a point lies on the u-axis, then it will appear on the

Re: [JAVA3D] Range ordering of transparent objects

2001-04-23 Thread Doug Twilleager
Well, it looks like you have found a performance trap in detach/attach of OrderedGroup. Let's try this a different way. If we examine the order of operations in the Renderer thread, it looks like this: Canvas3D.preRender(); Render opaque objects Render OrderedGroup objec

[JAVA3D] how to serialize BranchGroup?

2001-04-23 Thread qxp
I load the vrml file in one machine:     Scene sceneBase =vrmlloader.load( filename );    BranchGroup scene = sceneBase.getSceneGroup();and want to transmit the scene to another machine. to do this, the BranchGroup scene should be serialized. how to manage it? Can BranchGro

[JAVA3D] Canvas3D

2001-04-23 Thread Ben Arbel
Hey 3D Guys A very simple question this time.. any idea why after i set the color for a canvas3D it goes back to being black ? i tried using canvas.setBackground(java.awt.color.Green) and it changes for a split second and then goes back to black.. is this a bug ? am i doing something wrong ? tha

Re: [JAVA3D] Not again....

2001-04-23 Thread John Wright
Justin & Everyone, I'll bring my copy of j3d.org back online this evening. G'luck Justin! - John Wright Starfire Research Justin Couch wrote: > > WellJust when we think things are fine, they aren't. This time the > bastard has taken out the whole box. All I've got is mail > > I found s