Views: 20,068,218 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-27-24 07:52 AM |
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: 110 Posts: 2524/3604 EXP: 14207100 Next: 201786 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 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: 96196 Next: 6079 Since: 07-08-12 Last post: 3343 days ago Last view: 2316 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: 1239630 Next: 74559 Since: 07-07-12 Last post: 2218 days ago Last view: 594 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: 325054 Next: 13199 Since: 03-02-13 Last post: 3888 days ago Last view: 3596 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: 96196 Next: 6079 Since: 07-08-12 Last post: 3343 days ago Last view: 2316 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: 1239630 Next: 74559 Since: 07-07-12 Last post: 2218 days ago Last view: 594 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: 375656 Next: 29115 Since: 08-31-13 Last post: 1949 days ago Last view: 225 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: 1239630 Next: 74559 Since: 07-07-12 Last post: 2218 days ago Last view: 594 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: 96196 Next: 6079 Since: 07-08-12 Last post: 3343 days ago Last view: 2316 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: 375656 Next: 29115 Since: 08-31-13 Last post: 1949 days ago Last view: 225 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: 96196 Next: 6079 Since: 07-08-12 Last post: 3343 days ago Last view: 2316 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: 1239630 Next: 74559 Since: 07-07-12 Last post: 2218 days ago Last view: 594 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: 96196 Next: 6079 Since: 07-08-12 Last post: 3343 days ago Last view: 2316 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: 1125102 Next: 32017 Since: 09-05-13 Last post: 2380 days ago Last view: 1941 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: 110 Posts: 2912/3604 EXP: 14207100 Next: 201786 Since: 07-07-12 From: Colorado Last post: 3104 days ago Last view: 1261 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: 96196 Next: 6079 Since: 07-08-12 Last post: 3343 days ago Last view: 2316 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: 1125102 Next: 32017 Since: 09-05-13 Last post: 2380 days ago Last view: 1941 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: 1125102 Next: 32017 Since: 09-05-13 Last post: 2380 days ago Last view: 1941 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: 50 Posts: 168/613 EXP: 945194 Next: 2123 Since: 09-13-13 Last post: 228 days ago Last view: 221 days ago |
Jesse |
| ||
Member Normal user Level: 53 Posts: 91/688 EXP: 1125102 Next: 32017 Since: 09-05-13 Last post: 2380 days ago Last view: 1941 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.022 seconds. (2048KB of memory used) MySQL - queries: 27, rows: 233/233, time: 0.010 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |