Views: 23,013,776 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
11-05-24 11:44 PM |
Guest: |
0 users reading obj2bdl - Convert Wavefront OBJ to BDL | 1 bot |
Main - Archived forums - SMG hacking tools development - obj2bdl - Convert Wavefront OBJ to BDL | Hide post layouts | New reply |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 111 Posts: 2524/3604 EXP: 14521037 Next: 347323 Since: 07-07-12 From: Colorado Last post: 3296 days ago Last view: 1453 days ago |
On line 35287 starting it all with f 1/40 2/41 21/2
All of Glem's models have been doing this as of a while ago when we were working on sky high and riddle ruins stuff, and fnar's models have done it too. ____________________ "I hate playing musical chats" ~ Quote of the month |
blank |
| ||
Normal user Level: 26 Posts: 88/129 EXP: 98323 Next: 3952 Since: 07-08-12 Last post: 3536 days ago Last view: 2509 days ago |
The line it crashes on is line 36048 which reads "f 339 345 346". |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 258/709 EXP: 1267023 Next: 47166 Since: 07-07-12 Last post: 2411 days ago Last view: 787 days ago |
It's a problem where for some reason, no texture coordinates are defined for some faces. I solve that by catching the exception that comes up, and filling in 0 for the texture coordinates. |
FnarGod |
| ||
The official shader for SMG 2.5 -------------------------- Green Yellow Blue Level: 37 Posts: 240/296 EXP: 332651 Next: 5602 Since: 03-02-13 Last post: 4081 days ago Last view: 3789 days ago |
Remember to triangulate all your faces, and texture them all. ____________________ (layout nuked; unclosed style tag) |
blank |
| ||
Normal user Level: 26 Posts: 90/129 EXP: 98323 Next: 3952 Since: 07-08-12 Last post: 3536 days ago Last view: 2509 days ago |
Posted by Marionumber1 That is a possibility, but I don't really like that solution. There is two reasons why a face would not have texture coordinates: Either the creator forgot to texture it, in which case using some default texture coordinates would result in the converted model looking different from what was intended and would have to be recreated anyways, so the program might as well give an error. Or the face was somehow introduced by the modeling software, in which case it would be better to just skip the face. What might help is better error reporting. The errors messages at the moment are pretty useless to the normal user. |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 260/709 EXP: 1267023 Next: 47166 Since: 07-07-12 Last post: 2411 days ago Last view: 787 days ago |
I've used that workaround on a few models (the Escher planet, Mario's house) and nothing seems to have been wrong with them. I do agree, though, that it's better to prevent the problem from happening. |
mibts |
| ||
Panser =Josh65536 (Programmer) Level: 39 Posts: 7/331 EXP: 384843 Next: 19928 Since: 08-31-13 Last post: 2142 days ago Last view: 119 days ago |
This tool is awesome! However, can someone please fix it so it can work with pytex1 and bmdview2? ____________________ Current hack: Excerpt from Super Mario 256 |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 267/709 EXP: 1267023 Next: 47166 Since: 07-07-12 Last post: 2411 days ago Last view: 787 days ago |
Which model are you having trouble with using PyTEX1? There errors with PyTEX1 that cause it to not work on all BDLs. If you give me the model, I can apply the texture manually. |
blank |
| ||
Normal user Level: 26 Posts: 95/129 EXP: 98323 Next: 3952 Since: 07-08-12 Last post: 3536 days ago Last view: 2509 days ago |
It's not a matter of fixing obj2bdl so it works with bmdview2, but a matter of fixing bmdview2 so it works with obj2bdl. All it requires is the addition of two lines of code, but somebody has compile and distribute it. |
mibts |
| ||
Panser =Josh65536 (Programmer) Level: 39 Posts: 8/331 EXP: 384843 Next: 19928 Since: 08-31-13 Last post: 2142 days ago Last view: 119 days ago |
In the discoveries page, someone said to patch the translucent texture into the .bdl using pytex1.
Here is the model: https://kuribo64.net/get.php?id=2ZU0AvfNaeqUHkau Look for BeeMushroomSection under the Bee Mushroom folder. There is a shallow water texture that needs 50% translucency. ____________________ Current hack: Excerpt from Super Mario 256 |
blank |
| ||
Normal user Level: 26 Posts: 97/129 EXP: 98323 Next: 3952 Since: 07-08-12 Last post: 3536 days ago Last view: 2509 days ago |
Version 0.4 of obj2bdl has been released. Vertex colors are now supported and you no longer have to texture your model. See the first post for more information and the download link. |
Marionumber1 |
| ||
Wii U hacker Level: 55 Posts: 276/709 EXP: 1267023 Next: 47166 Since: 07-07-12 Last post: 2411 days ago Last view: 787 days ago |
If you try to use obj2bdl 0.4 to import an OBJ that wasn't exported with your Blender exporter, will it still work or fail? Also, what happens if you use an earlier version of obj2bdl to import a model that was exported with your Blender exporter? |
blank |
| ||
Normal user Level: 26 Posts: 98/129 EXP: 98323 Next: 3952 Since: 07-08-12 Last post: 3536 days ago Last view: 2509 days ago |
You can use any normal Wavefront OBJ file with the new version. I also think earlier versions can handle models exported with the Blender exporter, but I haven't tested. |
Jesse |
| ||
Member Normal user Level: 53 Posts: 81/688 EXP: 1152648 Next: 4471 Since: 09-05-13 Last post: 2573 days ago Last view: 2134 days ago |
yeah so I saw that it don't "convert" the alpha on alpha textures. is there a way to make it so? |
NWPlayer123 |
| ||
Member Imma Snuggle You Level: 111 Posts: 2912/3604 EXP: 14521037 Next: 347323 Since: 07-07-12 From: Colorado Last post: 3296 days ago Last view: 1453 days ago |
You have to do it manually using szs explorer from chadderz' ctools, making the png into a bti, and then splicing it in with MN1's pytex1. It's complicated, which is the derp part. Should work as-is, but when there's no reason to improve existing tools, nothing better happens. ____________________ "I hate playing musical chats" ~ Quote of the month |
blank |
| ||
Normal user Level: 26 Posts: 100/129 EXP: 98323 Next: 3952 Since: 07-08-12 Last post: 3536 days ago Last view: 2509 days ago |
The alpha channel is already included. But alpha is not the same as transparency. Transparency is handled in the materials and as there is no way for you to edit materials there is no way to achieve transparency. |
Jesse |
| ||
Member Normal user Level: 53 Posts: 82/688 EXP: 1152648 Next: 4471 Since: 09-05-13 Last post: 2573 days ago Last view: 2134 days ago |
so I can make like water? and will there be ever transparency possible with obj2bdl? |
Jesse |
| ||
Member Normal user Level: 53 Posts: 89/688 EXP: 1152648 Next: 4471 Since: 09-05-13 Last post: 2573 days ago Last view: 2134 days ago |
does somebody know if you can export textures from both sides with the extended obj exporter of blender? |
skyl |
| ||
Keep Calm and Inject Some Lysol Level: 51 Posts: 168/613 EXP: 968386 Next: 45552 Since: 09-13-13 Last post: 420 days ago Last view: 413 days ago |
Jesse |
| ||
Member Normal user Level: 53 Posts: 91/688 EXP: 1152648 Next: 4471 Since: 09-05-13 Last post: 2573 days ago Last view: 2134 days ago |
Posted by planetaryplayer yes I have another problem with converting with obj2bdl. I have the download the latest version and I used the extended obj exporter for blender. I hope there is a solution for this |
Main - Archived forums - SMG hacking tools development - obj2bdl - Convert Wavefront OBJ to BDL | Hide post layouts | New reply |
Page rendered in 0.019 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 235/235, time: 0.009 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |