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_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
use the com.sun.utils.primitive.sphere source file that is in your JDK and tweak it up by hand. There is no other solution but this one is pretty fast.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
__________________________________________________________________________________________
Silvere Martin-Michiellot builds the Internet future on www.digitalbiosphere.com __________________________________________________________________________________________
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
=========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".