Real Soon Now (TM).
Doug Twilleager
Java 3D Team
Sun Microsystems
>Subject: Re: [JAVA3D] textures are not behaving anymore in beta2
>To: [EMAIL PROTECTED]
>MIME-version: 1.0
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
>Content-transfer-encoding: 7bit
>X-Priority: 3
>X-MSMail-priority: Normal
>Delivered-to: [EMAIL PROTECTED]
>
>when will this release be available?
>
>----- Original Message -----
>From: "David Yazel" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, July 01, 2002 1:00 AM
>Subject: Re: [JAVA3D] textures are not behaving anymore in beta2
>
>
>> I ran into the same problem. It seems to be fixed in the final release
>> (which I have tested).
>>
>> Dave Yazel
>>
>> ----- Original Message -----
>> From: "Matt Carlson" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Sunday, June 30, 2002 7:05 AM
>> Subject: [JAVA3D] textures are not behaving anymore in beta2
>>
>>
>> Hi,
>>
>> I have a mapping application that inits the scene graph with about 200
>> shape3d objects. it then uses those objects to display images and
>> geometries... so i do alot of swapping of images and geometries for my
>> shape3d objects.
>>
>> this code was working under java3d api beta1, but then ceased to work when
>> the beta2 download came. the geometries still swap fine, but the textures
>> are very flaky.
>>
>> it's kind of hard to explain but i'll get textures that load into my
>shape3d
>> objects at random, when their not supposed to. the code i use every time
>to
>> swap my images is :
>>
>>
>****************************************************************************
>> ************
>>
>> private void swapImg(int res){
>> image = null;
>> texture = null;
>> appear = null;
>>
>> appear = new Appearance();
>> appear.setTransparencyAttributes( new
>> TransparencyAttributes(TransparencyAttributes.NONE, 0.1f));
>> appear.setPolygonAttributes(new
>> PolygonAttributes(PolygonAttributes.POLYGON_FILL
>> ,PolygonAttributes.CULL_NONE,10.0f));
>>
>> image = new ImageComponent2D( ImageComponent.FORMAT_RGB , MyImage[res]
>> ,true, false );
>> texture = new Texture2D(Texture.BASE_LEVEL, Texture.RGB,image.getWidth(),
>> image.getHeight());
>>
>> texture.setImage(0, image);
>> texture.setEnable(true);
>> texture.setMagFilter(Texture.NICEST);
>> appear.setTexture(texture);
>> this.setAppearance(appear);
>>
>> }
>>
>>
>****************************************************************************
>> ************
>>
>> this function is called from a class that extends shape3d.
>>
>> like i said, it was working perfectly in beta1. why the funny behavior in
>> beta2? i'm recreating all the objects from the appearance up everytime
>> because if i didn't, i experienced frequent crashes.
>>
>> I can't call updateData from the ImageComponent object because my
>> BufferedImages are various sizes.
>>
>> thanks,
>> matt
>>
>>
>===========================================================================
>> 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".