Merge 2 objs with diffuse and lightmap
Tweet 3d-meshes blitzmax lightmapping obj
How's it going? I can't seem to remember, but I remember reading somewhere that you have provided some sort of merging of obj files with lightmaps with assimp or openb3d. Do you still have this routine or example? Thanks.
No, I've never done anything with OBJ files, you must be thinking of another engine.
Thanks Mark. I knew it has something to do with assimp and obj, forgot to bookmark it last time. Yes, perhaps this was another engine with assimp.
@Rontek>>i have coded a procedure to do just what you want recently (load one mesh with UVs for diffuse texture, load one mesh with UVs for lightmap, merge into one mesh one surface 2 UVs coordsets (one for diffuse, one for lightmap), with Blitz3d, if you are interested... ( i can post it in the code arechives if i understand how to put the code code tags, lol )
Hey RemiD, that would be great, thanks! You can check your previous post here in edit mode and also look at the tag field to add it in the particular section https://www.blitzcoder.org/forum/topic.php?id=217 Don't forget to also add a blitz tool tag to specificy the code file (blitz3d, blitzmax..)
@RonTek>>in case you have not seen the bb code to merge 1 mesh (surface) with UVs for diffuse, and 1 mesh (surface) with UVs for lightmap, in 1 mesh (surface) with UVs for diffuse (coordset 0) and with UVs for lightmap (coordset 1) is here : https://www.blitzcoder.org/forum/topic.php?id=385
Yes, got it. I have tested the one with the download and works great btw, in order to get it to code archives, you also have to set the preferred category tag listed in the code archive index page, same as you did before.
i have added the tags code-archives and blitz3d, what else do you want me to add ?
Reply To Topic (minimum 10 characters)
Please log in to reply