Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Export Graphics in Mathematica with Texture

Hello guys i've been having a problem with Mathematica 8.0.

When i export my Graphics3D to 3DS or any other format, texture is always missing. For example in the screenshot attached, Screenshot, u'll see that i created a plane, texturized it and exported to 3DS then when i imported it back, there was no texture.

Is there a way i can export while preserving the texture? Thanks.

like image 321
omarzouk Avatar asked Aug 26 '11 22:08

omarzouk


1 Answers

If you add Elements you can see what Mathematica is importing:

In[1]:= Import[test.3ds", "Elements"]

Out[1]:= {Graphics3D, GraphicsComplex, PolygonColors, 
PolygonData, PolygonObjects, VertexData}

This means that lots of things are discarded in the import. Things like frames, textures, bumpmaps, camera etc.

The texture filenames are linked in the 3DS-format and not included like in Mathematica notebooks.

like image 89
micke Avatar answered Sep 29 '22 04:09

micke