Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Loading TVM From Packages  (Read 459 times)
kraken
Customers
Community Member
*****
Posts: 379


« on: October 05, 2007, 09:37:58 AM »

Hello Smiley

When we try to load a TVM from Package, TV3D Load the tvm but not the textures if in TVM file the texture names are for example : "..\Textures\MaTexture.jpeg"

It's only work when the filenames are without any path.

It is possible to introduce in loading method a function that extract filename and try to load it from package ? or it's not possible ?

I thik it's a bug because we can separate the TVM and the Textures files into differents directory when we edit TVM ....
Logged
darqSHADOW
Administrator
Community Member
*****
Posts: 2737


« Reply #1 on: October 05, 2007, 10:55:30 AM »

It already attempts to load the textures from the package, however your file contains a path.  Try removing the path "MaTexture.jpeg" from the model (same directory) and reexport and rebuild the package, this should work fine.

John
Logged

TrueVision3D Project Manager
The fast and simple way of 3D development.
kraken
Customers
Community Member
*****
Posts: 379


« Reply #2 on: October 05, 2007, 11:31:09 AM »

Yes, but I need to save my TVM in another directory than textures ....

If I save Both Texutes and tvm into the same directory, I can't easly find my tvm's .....

In fact the probleme don't really come from TV but my package managment : When I load the texture to the same package than the TVM, I set to Texture's PackageFilename the filename without path. It's logic for me ....

But in fact, if we want to extract files from packages, it's interesting to keep the full relative path .... so pearhaps I will set for Package Name the full texture name with path ....

But I think when TV Load Textures from Package he can attempt to load full TVM's texture name .... and if fail, attempt to load only filename without ext.

I think it's a good Idea Smiley Do you agree with it ? Wink
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks