PDA

View Full Version : Texture problem in wrl files


Wildtiger2005
2nd July 2004, 05:20 PM
Hi,i'm a new user of the ac3d program,tha's an excelent program.nut I have only one question.When I make an object,I put a texture on the object's surfaces,and then export it in VRML2.but when I open the link to the wrl file,there is no texture on the object.but when I open the object with ac3d,the texture is still there.how can I make the texture appear in the wrl file?

Andy
2nd July 2004, 06:04 PM
check the texture path in the vrml file and see where it's expecting the texture to be.

Andy

pauldb
2nd July 2004, 08:14 PM
This sounds very similar to my problem, see:

http://www.ac3d.org/forum/viewtopic.php?t=263

When I open a file exported in .3ds format in Java3D, the texture is lost BUT when I open it in AC3D again, it magically reappears.

This happens even if I import an existing .3ds file and export it again, even without doing anything in between. (The original .3ds file works fine in Java3D).

Are the export routines working properly?

Otherwise, I agree AC3D is a great application.
-Paul

Wildtiger2005
3rd July 2004, 04:55 AM
I use a program called Cortona to view the wrl file.how can I fix it from there as you said,andy.and paul,thanks,but you didn't help me anyway.and another question,it will help If I will download an old version of ac3d?

Andy
3rd July 2004, 09:58 AM
Look at the texture paths in the VRML file. If they are without a path e.g. texture.jpg, ensure the tectures are in the same folder as te VRML file. If they have a full path - check it's valid. It may need to be "file:// etc".

Andy

Wildtiger2005
3rd July 2004, 06:36 PM
I opened the vrml file with cortona,and the texture file is in the same folder as the wrl file,but in the program,there is no texture path to the vrml file.There's no place to enter a texture path in the vrml file.what should I do?do you have better 3d worlds showing programs than cortona?