Merge 2 objs with diffuse and lightmap

(Posted 1 year ago) RonTek

Hey Mark,

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.

(Posted 1 year ago) markcwm commented:

No, I've never done anything with OBJ files, you must be thinking of another engine.

(Posted 1 year ago) RonTek commented:

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.

(Posted 3 days ago) RemiD commented:

@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 )

(Posted 3 days ago) RonTek commented:

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 Don't forget to also add a blitz tool tag to specificy the code file (blitz3d, blitzmax..)

(Posted 3 days ago) RemiD commented:

@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 :

(Posted 3 days ago) RonTek commented:

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.

(Posted 2 days ago) RemiD commented:

i have added the tags code-archives and blitz3d, what else do you want me to add ?

(Posted 2 days ago) RonTek commented:

category like effects, shaders, it's indicated on the code archives index pageĀ

Reply To Topic

Please log in to reply