필터 지우기
필터 지우기

Transparent ImageTexture in Simulink 3D Animation

조회 수: 1 (최근 30일)
Yiming
Yiming 2013년 8월 14일
Hello, I'm modifying a VR scene. I created a rectangle with an image texture of tree. The rest of the image is transparent so that only the tree can obstacle the vision. When I viewed it with web browser, it works as I expected. When I viewed it with internal 3D viewer, the transparent part became white. How can I deal with this problem? Please help me. Thanks.

답변 (1개)

Jan Danek
Jan Danek 2013년 9월 4일
Simulink 3D Animation Internal Viewer accepts the following file formats with transparency:
GIF: Transparent colour has to be Colour 0 in the palette PNG: Transparent colour can be any colour in the palette, also alpha blending is supported.
I recommend you to convert your image into the PNG format, you should be able to render it correctly.
Hope this helps,
Jan

카테고리

Help CenterFile Exchange에서 Animation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by