FORUM PTT -

POMOC 3D - Problem podczas eksportowania z 3DS Max 2011

Tx28 - 10-10-2013, 19:41
: Temat postu: Problem podczas eksportowania z 3DS Max 2011
Witam, problem jest prosty, zrobiłem sobie lokomotywę w 3DS'ie i wygląda w nim normalnie :
http://i.imgur.com/yZheyLu.jpg
Lecz po wyeksportowaniu jej w CCP (TS2009) jest cała biała jakby nie miała tekstur... nie wiem w czym problem wszystkie tekstury i inne trzymam w jednym folderze z plikiem.
Proszę o pomoc.
Bzyk - 10-10-2013, 19:45
:
A czy rozmiary Twoich tekstur są potęgą 2 ? Czyli np: 256x256
UAZ - 10-10-2013, 19:48
:
Nie wywala żadnych błędów?

Pamiętaj też, że wszystkie tex muszą być w niekompresowanym .tga, najlepiej 16-bit.
Wujek 082 - 10-10-2013, 19:51
:
UAZ, wiem że chciałeś dobrze, ale tracisz na wiarygodności z takimi informacjami :)

Oczywiście powinno być 24 bit. Bez kompresji RLE.
Tx28 - 10-10-2013, 19:53
:
Mają około 1024x1024 a niewidzialne są możliwe przez to, że mam je w formacie .png
UAZ - 10-10-2013, 20:18
:
Mhm, no racja, walnąłem się z tymi bitami, odruchowo daję potęgę niżej :roll:

Ale jednak sens zachowałem, bitów powinno być mniej niż 32 ;-)
Tx28 - 10-10-2013, 20:24
:
Po zmianie na 24-bitowe TGA wygląda to tak :
http://i.imgur.com/ac1bXE3.jpg
połowa działa a połowa nie.
Bogdan - 10-10-2013, 20:36
:
Do każdej tekstury musi być plik texture.txt, otwórz go i sprawdź czy nazwy i rozszerzenia są te same. Oczywiście wszystkie pliki TGA 24 bit, jeżeli nie ma alfy.
Tx28 - 10-10-2013, 20:54
:
Wszystkie nazwy są poprawne... tutaj jest Log z Exportera:
Exporting...
Progress: Reading data from the scene
Ignoring mesh - Material missing for mesh:Box010
Ignoring mesh - Material missing for mesh:Box011
Ignoring mesh - Material missing for mesh:ChamferBox007
Ignoring mesh - no faces for mesh:Cylinder021
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Transforming and cropping
Progress: Merging meshes
Progress: Building chunks
Progress: Optimizing chunks
Progress: Extracting mesh influence
Material '01 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '09 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '07 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '13 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '19 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '20 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '21 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '03 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '08 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material 'material #45' name is invalid. Materials should be named and have a 'm.' material type suffix.
Material '15 - default' name is invalid. Materials should be named and have a 'm.' material type suffix.
Export completed with 14 Errors and 1 Warnings.

Nie wiem o co w tym chodzi.
RBach - 10-10-2013, 21:22
:
Tx28 napisał/a:
Nie wiem o co w tym chodzi.


Zmieniałeś wpisy wewnątrz texture.txt?
rysztur - 10-10-2013, 21:24
:
Musisz nadać teksturom nazwę wg wzoru:
tekstura.m.onetex.
W nazwie MUSI wystąpić liteka.m, po której następuje odwołanie do rodzaju materiału.
Więcej masz na Trainz Dev Wiki http://online.ts2009.com/.../TrainzDev_Wiki
SM50 - 10-10-2013, 21:25
:
Zasada jest prosta: wszystkie tekstury muszą być w formacie tga, zapisane BEZ kompresji RLE. Rozmiar musi być potęgą dwójki czyli kolejno 2, 4, 8, 16, 32, 64, 128, 256, 1024, 2048, 4096 itd.. Jeśli którykolwiek z tych warunków nie będzie spełniony tekstury nie wyświetlą się. Osobiście obstawiam zły format, ew. włączoną kompresję RLE. GIMP (nie wiem jak inne programy) pyta się przy zapisie czy zastosować kompresję.
RBach - 10-10-2013, 21:44
:
rysztur napisał/a:
Musisz nadać teksturom nazwę wg wzoru:
tekstura.m.onetex.
W nazwie MUSI wystąpić liteka.m, po której następuje odwołanie do rodzaju materiału.
Więcej masz na Trainz Dev Wiki http://online.ts2009.com/.../TrainzDev_Wiki


Nieprawda. Ja używam nazw materiałów "domyślnych" (material#ilestam) i działa. Trainz łyka. Eksporter nie używa nazw materiałów z 3dsa przy eksporcie - a jedynie nazw plików tekstur - stąd są one (nazwy materiałów) nieistotne.
Tx28 - 10-10-2013, 22:13
:
Mimo poprawek jak zalecacie... nadal to samo, może ktoś przejrzy ten projekt czy jest on aby dobrze skonfigurowany ? Jestem w stanie komuś go podesłać by go sprawdził. Możecie napisać na moje GG jeśli jest ktoś chętny 11061451 bo ja już nie wiem co jest nie tak.
samplaire - 11-10-2013, 16:54
:
Wyślij projekt do mnie. Samplaire (przy) onet [kropeczka] eu. Mam 3ds 2012, ale raczej jeśli cos nie tak to i u mnie wyjdzie.