i think ypou have modifed the Sphere class to make some change and create your pyramid. Make sure that the SetAppearence is use inside your pyramide method. If not i do not see. Or send the code of your clas so we could have a look at.
 
A+
-----Message d'origine-----
De : Dale Brett <[EMAIL PROTECTED]>
Ŕ : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date : lundi 21 juin 2004 11:50
Objet : Re: [JAVA3D] Custom divison appearances

I've applied the appearance to several other objects and it works, it's only when I specify the number of divisons in a primitive's construcor that the appearance won't apply.

hterrolle <[EMAIL PROTECTED]> wrote:
hi,
 
does the same append when you use colorcube object. If the same append so it is your appearence which is wrong.
-----Message d'origine-----
De : Dale Brett <[EMAIL PROTECTED]>
Ŕ : [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date : lundi 21 juin 2004 11:26
Objet : [JAVA3D] Custom divison appearances

Hi,
 
I'm having a little trouble trying to set the appearance of primitives when I define the number of divisions in the constructor, specifically Cone; which I'm using to create a pyramid.
 
pyramid = new Cone ( 0.5f, 0.2f, Primitive.ENABLE_APPEARANCE_MODIFY , 4, 2, pyramidAppearance );
 
I've tried setting the overall appearance and the apperance of each sub-group after instantiation, but the cone remains the default white.
 
Any help would be greatly appreciated.
 
Thanks,

Dale
=========================================================================== 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".
=========================================================================== 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".

Reply via email to