Hi,

  There is currently a bug :

  4364572 D3D: Texture transform for translation or
          combine with TexCoordGen did not work

which affect the functionality of Texture Transform.

For the memory leak bug, can you reproduce it using
OpenGL version of Java3D ? Please also try to run
in Emulation mode -Dj3d.d3ddevice=Emulation (I assume
you are using Java3d v1.2 beta1 for DirectX)
to see if this happen. What graphics card/OS are
you using ? Please give us a test program to
reproduce this problem.

Thanks.

- Kelvin
------------------
Java 3D Team
Sun Microsystems Inc.


>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
>Date: Wed, 13 Sep 2000 15:16:53 -0400
>From: Hongkun Wang <[EMAIL PROTECTED]>
>Subject: [JAVA3D] (Urgent) Serious Memory Leak in
'textureAttributes.setTextureTransform()'
>To: [EMAIL PROTECTED]
>
>Hi Java3D Team:
>
>I am creating an effect of 'Floating Cloud' in the sky with
>setTextureTransform(). So at runtime, I set a new translation of a
>Transform3D and send it to textureAttributes.
>My code is:
>  //=================
>  cloudTextureTrans.get(tempVec1);
>  tempVec1.y += CLOUD_SPEED * interval;
>  cloudTextureTrans.setTranslation(tempVec1);
>
>  Flt.FltScene.skyTextureAtt.setTextureTransform(cloudTextureTrans);
>  //=================
>
>The above code gave me a WONDERFUL effect of 'Floating Clouds', But,
>at same time there is a serious Memory Leak in the calling of
>'textureAttributes.setTextureTransform()', It can eats out 128M RAM within
>10 Minutes and crashs the OS.
>
>I checked the API documents for setTextureTransform(), Doc say:
>===============================
>public void setTextureTransform( Transform3D transform )
>
>     Sets the texture transform object used to transform texture
>coordinates. A copy of the specified Transform3D object is stored in this
>TextureAttributes object.
>===============================
>I am guessing the problem is in 'A copy of the specified Transform3D object
>is stored', this means 'a new copy of Transform3D' is created, but how about
>the 'old' one? Maybe Java3D did not release it.
>
>By the way, when I run my App with MS DriectX, setTextureTransform() does
>not takes any effect, IE, nothing happen, This is another problem for
>DriectX.
>
>setTextureTransform() is a really good feature to Java3D App, so I hope you
>can check the problem and fix it.
>Best Regards
>Hongkun Wang
>IGSS
>
>===========================================================================
>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