Re: [JAVA3D] appearance problem

2003-10-14 Thread Florin Herinean
All the capabilities must be set *before* the object is compiled or made live. After that, if you have set the correct capabilities, you can change what ever you want. Cheers, Florin -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Madeti, Hen

[JAVA3D] Mapping textures on the inner surface of a sphere

2003-10-14 Thread Paul Brown
I want to be able to map a texture to the uppermost hemisphere of the inside of a sphere. It's actually a picture of the sky and I'm using a sphere rather than putting it straight on to the background (so that it's not fixed when I move around as is the case when using the background). Being lazy,

Re: [JAVA3D] surface of revolution

2003-10-14 Thread Michael Pfeiffer
Thats a really interesting documentation. But what happened with the seven first chapters? Le Tue, 14 Oct 2003 12:49:27 +0700, á͹´ÃÙÇì à ´ÇÔà ѹ <[EMAIL PROTECTED]> a écrit: http://fivedots.coe.psu.ac.th/~ad/jg/ch95/index.html -- Virtual Worlds Productions Software Development Group http://www.v

Re: [JAVA3D] Mapping textures on the inner surface of a sphere

2003-10-14 Thread Michael Pfeiffer
You have to use the flag GENERATE_NORMALS_INWARD when you create your sphere. Le Tue, 14 Oct 2003 09:51:09 +0100, Paul Brown <[EMAIL PROTECTED]> a écrit: I want to be able to map a texture to the uppermost hemisphere of the inside of a sphere. It's actually a picture of the sky and I'm using a sphe

Re: [JAVA3D] Mapping textures on the inner surface of a sphere

2003-10-14 Thread Paul Brown
Hi Michael, thanks for your message but that's not the problem. I am using the GENERATE_NORMALS_INWARD flag. I can successfully map the texture to the inside of the sphere. My problem is that I only want to map it to the upper hemisphere and not the whole sphere. Cheers, -Paul =

Re: [JAVA3D] appearance problem

2003-10-14 Thread Madeti, Henu S. (UMR-Student)
Hi Florin and Micheal, thanks for your feedback. I am having problems managing the appearnance dynamically. I have two shape3d's. I wish to turn one shape3d invisible. I plan to do this by setting the rendering attributes to invisible. When i set the capabilities and apply new appearance to one

Re: [JAVA3D] appearance problem

2003-10-14 Thread Lewis Walker
Just a quick thought - Do you have separate Appearance instances for the two shapes? What you are describing would happen if they were in fact sharing the same Appearance instance. Lewis. -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] On Behalf Of Madet

[JAVA3D] Pics up of Xj3D running on SGI Onyx

2003-10-14 Thread Justin Couch
A couple of weeks ago I went over to one of our clients at North Dakota State University. The new release of Java3D for IRIX had just been released, so one of the things I did while there was to test out Xj3D on their Onyx/Powerwall combo. It worked with barely any changes (actually, just makefile

Re: [JAVA3D] appearance problem

2003-10-14 Thread RWGRAY
If you wish to make one Shape3D invisible, I suggest you use a Switch node rather than changing the Appearance. I assume you are setting the transparency attributes to make it invisible. I have had all kinds of problems with transparency, so I would not suggest using it to make objects invisib

Re: [JAVA3D] Mapping textures on the inner surface of a sphere

2003-10-14 Thread Silvère Martin-Michiellot
At 11:03 14/10/2003 +0100, you wrote: Hi Michael, thanks for your message but that's not the problem. I am using the GENERATE_NORMALS_INWARD flag. I can successfully map the texture to the inside of the sphere. My problem is that I only want to map it to the upper hemisphere and not the whole spher

Re: [JAVA3D] Mapping textures on the inner surface of a sphere

2003-10-14 Thread Peter Bliznak
just look at Sphere source code at line 100 and change for loop from going to 4 quadrants to 2 ... hack - i agree - but fast Silvère Martin-Michiellot wrote: At 11:03 14/10/2003 +0100, you wrote: Hi Michael, thanks for your message but that's not the problem. I am using the GENERATE_NORMALS_INWAR

Re: [JAVA3D] surface of revolution

2003-10-14 Thread á͹´ÃÙÇì à´ÇÔÊѹ (Andrew Davison)
Michael, > Thats a really interesting documentation. But what happened with the seven > first chapters? > http://fivedots.coe.psu.ac.th/~ad/jg/ The first 7 chapters are mainly about 2D Java gaming. The code is written, but the explanations aren't. Right now I'm having to concentrate on other thi