Re: [JAVA3D] Multi-texture bugs by the bucket-load

2003-03-21 Thread Kelvin Chung
Hi Justin, The first thing you should see is a single polygon in front of you with a white background textured geometry behind it. Everything is turned on at this point, so by rights you should be seeing the reflected text, a bump map, stencil map and light map all applied to the polygon. This is

Re: [JAVA3D] TextureCubeMap and DirectX

2003-03-21 Thread Kelvin Chung
Christian Zanardi wrote: Hi! first of all thanks for the answers and hint on the problem (the textureCubeMap from Alessandro Borges was a life savior). I found out that the problem came from the following lines of code: texCmap.setMagFilter(Texture.NICEST); texCmap.setMinFilter(Texture.NICEST); w

Re: [JAVA3D] popup menus not working in applet under windows (works fine under linux)

2003-03-21 Thread Juergen Kreileder
Daniel L. Pasco <[EMAIL PROTECTED]> writes: > Figured it out! The problem wasn't really the drawing operation, > but the fact that > > MouseEvent.isPopupTrigger() works differently under Windows than it > does under Linux. I changed my check from e.isPopupTrigger() to > > (e.getModifiers() & Inp

Re: [JAVA3D] popup menus not working in applet under windows (works fine under linux)

2003-03-21 Thread Daniel L. Pasco
Figured it out!  The problem wasn't really the drawing operation, but the fact that MouseEvent.isPopupTrigger() works differently under Windows than it does under Linux. I changed my check from e.isPopupTrigger() to (e.getModifiers() & InputEvent.BUTTON3_MASK) == InputEvent.BUTTON3_MASK) Wo

Re: [JAVA3D] popup menus not working in applet under windows (works fine under linux)

2003-03-21 Thread Monica Sleumer
In my experience, popup menus work in windows just as well as in linux, but you have to mouseover them before they appear. After the code to create the popup has been executed, move your mouse into, over, and out of the space you expect to see the popupmenu, and it should come up. Also, make sure y

[JAVA3D] popup menus not working in applet under windows (works fine under linux)

2003-03-21 Thread Daniel L. Pasco
arrgh.  I am confounded. I am using popup menus in my java3d applet  I have included the line JPopupMenu.setDefaultLightWeightPopupEnabled( false );=3D20 in my initialization code and my menus work fine under linux.  They do not work at all under windows, with any combination of JVM and

Re: [JAVA3D] SetCoordinates or setCoordRef3f ?? Which one updates the vertex faster ??

2003-03-21 Thread JOSEPH ROSS JEYNES
hi people, there must be someone who knows how to implement a way of preventing walking through walls in a java3D virtual building. i've looked for collision detection/avoidance, but i need as simple a coded example as possible. i'm getting desperate now, i keep walking through walls and its awful

Re: [JAVA3D] SetCoordinates or setCoordRef3f ?? Which one updates the vertex faster ??

2003-03-21 Thread Kelvin Chung
Jefferson Samuel wrote: Hello All, All the Shape3D's in my scene are created in GeometryArray By-Ref mode. Note in Java3D API: Class Behavior "Modifications to geometry by-reference or texture by-reference are not guaranteed to show up in the same frame as other scene graph changes." 1. Are ther

Re: [JAVA3D] implementing collision detection

2003-03-21 Thread JOSEPH ROSS JEYNES
i have looked at lots of web sites for code concerning collision detection, but it means very little to me. i'm loading an object into a java3D scene in the form of a building that you can walk through, i.e. a virtual computer science department. i need to prevent the viewer from moving through wal

Re: [JAVA3D] SetCoordinates or setCoordRef3f ?? Which one updates the vertex faster ??

2003-03-21 Thread Jefferson Samuel
Hello All, All the Shape3D's in my scene are created in GeometryArray By-Ref mode. Note in Java3D API: Class Behavior "Modifications to geometry by-reference or texture by-reference are not guaranteed to show up in the same frame as other scene graph changes." 1. Are there any workaround for thi

[JAVA3D] How to wake up different Shape3Ds at different times?

2003-03-21 Thread A. Murat Tanyer
Dear all, I am trying to make an animation of my scene. I have thousands of Shape3D objects. I want to wake up different Shape3Ds at different times. e.g. every three Shape3Ds with the interval of two seconds? I attached a sample program that tries to do this. As you see there are four cubes on th

[JAVA3D] AW: [JAVA3D] PrintCanvas3DWorking

2003-03-21 Thread Florin Herinean
Usually .obj files are written with any 3d graphic tool like Wavefront Advanced Visualizer, Maya, Bryce3D, Poser, 3DStudio, etc., and exported as .obj file. Nobody writes them by hand, even if they are text files.   If you are really interested about the file format specs, here is a good li

[JAVA3D] PrintCanvas3DWorking

2003-03-21 Thread Marco Lombardo
Hi, I'm Marco Lombardo from Italy. I'm Electronic Engineer and I work in a Informatic Company in Italy. Now I'm writing a source .java with java 3d API and I woul'd like to know better how work PrintCanvas3D file (in demo J2SDK 1.4.1) and specially how is written files like galleon.obj or be