![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Do one filter on this mesh!!
Select filters, go down to texture, select Perwedge to pervertex UV. ![]() |
![]() |
![]() |
#2 | ||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
Quote:
![]() I need to make some cleaning on my HD: I only have 54.4 GB of free space, and meshlab require 54.3 ![]() |
||
![]() |
![]() |
![]() |
#3 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
That's all. The only function we need is that filter.
At one time I was working on the source for Meshlab to have it export proper objs but you would not believe the hoops you need to jump through to get all the needed libraries to build! ![]() Then to use just some source the licenses became more then I was willing to mess with. Easier to write my own sorter. ![]() |
![]() |
![]() |
#4 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
At this stage I just have a few questions: - are we allowed to set more than one material per object? As I have told you before, after processing the balloon model with your sorter (without the meshlab part), Wings only saw one material used for the whole model, rather than the expected two materials. Did it happen because I had skipped the meshlab pre-processing, it is just Wings3d which can't read the sorted file properly, or what else? - have you looked into smoothing groups already? GR2 editor can't process Wings3d-generated obj files containing smoothing groups but, as I have learned today from targor, it has not problems with smoothing groups exported in 3ds max. - should we restore the original mtl file, after exporting from meshlab? |
|
![]() |
![]() |
![]() |
#5 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
gap,
Bear with me as we go through this first part of working with the sorter as you have it now. That is a version I did not want to release as I could fore see the very questions your asking. ![]() It will fix your issues now once you understand the limitations and how to edit things. Future versions will make all this a non-issue and will just be a 'click-done' type thing. ![]() If you've gotten this far? Open the obj file you just exported and search for use. You should have 2. Those will be listed as material_0 and material_1 There should also be a new mtl file. Now you can run the sorter on the obj file exported from Meshlab. Last edited by Madox58; 12-03-13 at 08:09 PM. |
![]() |
![]() |
#6 | ||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() Quote:
![]() I am sorry that I can't test your full method right away, but it is 2 AM here in the old Europe, and my HD cleaning will take some time. I hope to install meshlab within the next 24 hours ![]() |
||
![]() |
![]() |
![]() |
#7 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Take your time Mate.
![]() Your issues have solved several things I was unsure of and could not prove. Now that they are known? I can program around them and help TDW improve his fantastic work with some real great info. ![]() |
![]() |
![]() |
#8 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
![]() I still can not figure out what he is doing on import though. I did take your files and run them through S3D into a dat, exported then imported to a GR2. That GR2 showed a weird ratio compared to going through Meshlab and my sorter. Now I may have a better understanding of 3D file formats and how they work. I don't know for sure. I know TDW is the better at programming once he understands things. Me? I hack along to get things to work. ![]() He creates ART! ![]() As for you doing the most with importing and such? I agree you have the most detailed information and knowledge on useing the GR2 Importer by TDW. I would not be working with you if it was any other way. ![]() Say the problem of messed up textures never happened? I'd never had started up a project that I lost all the source code for. I'm weird that way. ![]() Last edited by Madox58; 12-03-13 at 09:12 PM. |
|
![]() |
![]() |
#9 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Open the obj you exported with Notepad or whatever you use to edit text files.
You'll see this structure. vn 5.528841 -0.572654 0.029990 vt 0.701080 0.382580 v 5.194420 2.167730 -33.668861 TDW's program will puke that up on you faster then I can type! ![]() That's OK, We can work around it till he adjusts for that. As I've said before. Once he adjusts his program? Mine should be depricated and no longer needed. ![]() This is the point where we use the sorter as it is now. It reads the file and writes a new file sorted into the order TDW expects. It adds -sorted to the file name and is saved in the same folder as the original file for now. |
![]() |
![]() |
#10 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
@ privateer
I have saved the texture in jpg format and changed model's mtl file according to your instructions, but everytime I open the model in MeshLab (v 1.3.2_64bit), I receive the following message: ![]() The obj file itself is still the one exported from Wings 3d, of course. What do I do wrong? ![]() |
![]() |
![]() |
![]() |
|
|