[JAVA3D] Java 3D FAQ Weekly Posting (19 Mar 2001)

2001-03-18 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday March 19 2001 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If the

Re: [JAVA3D] Rotating stuff

2001-03-18 Thread Eric Reiss
I think you might want to check out : http://www.sigda.org/Eric/java3d/behaviors/index.htm I'm not sure but the latest release of Java3D might have fixed the problem you're having. At 09:33 PM 03/17/2001 -0800, you wrote: >I have an object in a viewer which I rotate by dragging either up/dow

Re: [JAVA3D] Rotating stuff

2001-03-18 Thread Geoff Morris
Fiasco: I also struggled with the same problem. The following link may be useful to you: http://www.et.byu.edu/~ered/ME537/Read_HW_Labs/ch1-537.pdf "If we postmultiply a transformation representing a frame (relative to base axes) by a second transformation (relative to the frame of the first tr

Re: [JAVA3D] MIPMap

2001-03-18 Thread David
Java3d supports tri-linear mipmapping, which would smooth things considerably. But you have to set up your mip-mapping to do this, its not done automatically: Magnification filter - the magnification filter function. Used when the pixel being rendered maps to an area less than or equal to one tex

Re: [JAVA3D] MIPMap

2001-03-18 Thread Leyland Needham
> The mipmaps work at the texel level. When a texel is going to be rendered > Mipmapping uses a variety of techniques to determine what color to draw. Actually according to that demo, it seems its working at the pixel leve. Also I think this varies from renderer to renderer. (some renderers prob

Re: [JAVA3D] Optimization for shared appearances

2001-03-18 Thread David
Thanks Daniel, thats a very informative response. Dave Yazel Cosm Development Team http://www.cosm-game.com/ - Original Message - From: Daniel Selman <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 18, 2001 11:50 AM Subject: Re: [JAVA3D] Optimization for shared appearanc

Re: [JAVA3D] Optimization for shared appearances

2001-03-18 Thread Daniel Selman
Dave, In there absence I'll have a go... 1. Yes, Java 3D does try to do this sort of optimization. You have probably seen the RenderMolecule, RenderAtom classes reported in exceptions etc. Operations to be sent to the native renderer are described using a RenderMolecule (which has an associated

Re: [JAVA3D] MIPMap

2001-03-18 Thread David
What a neat test!  Yes I think I can explain it.  Mipmapping is not an all or nothing technique.  When I first started working with textures I thought that a mipmap level was picked and used for the entire shape, but in fact that is not the case.  The mipmaps work at the texel level.  When

[JAVA3D] MIPMap

2001-03-18 Thread Alex Terrazas
Hey- I am working on an example of MIPMapping.  I generate a series of BufferedImages each with Text indicating the image size (e.g. 256 x 256, 128 x 128 ...1 x 1). If the viewer is on the size of the box and goes forward and backward, the MIPMap works as expected and changes BufferedImages as ex

[JAVA3D] RenderMolecule NPE running 1.2.1 with Locales

2001-03-18 Thread Daniel Selman
All, I recently upgraded to Java 3D 1.2.1 and have been testing some of my Java 3D programs. Most things seem to work (better, even! ;-)) but I am seeing the following exception in one of my programs that uses HiResCoords and multiple Locales: java.lang.NullPointerException at javax.medi

Re: [JAVA3D] ObjectFile not loading materials and as a result textures? (bug)

2001-03-18 Thread Andrey
Hello Leyland, Sunday, March 18, 2001, 2:03:18 PM, you wrote: I had this problem to, so what I've changed some in Sun's files, so you can try to use it (see attach. It has a package you need) >> It has come to my attention that the ObjectFile loader class, does not >> function properly with re

Re: [JAVA3D] ObjectFile not loading materials and as a result textures? (bug)

2001-03-18 Thread Leyland Needham
> It has come to my attention that the ObjectFile loader class, does not > function properly with relative files that use external files (like material > files). Correction, it works with relative files, but it does not work with files with out some type of path. Here is an example of a working l

[JAVA3D] ObjectFile not loading materials and as a result textures? (bug)

2001-03-18 Thread Leyland Needham
It has come to my attention that the ObjectFile loader class, does not function properly with relative files that use external files (like material files). If you do this for example with the demo obj file loader program... java ObjLoader model.obj if the model.obj file uses model.mtl, then it