3 registered members (Ayumi, Akow, AndrewAMD),
1,505
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: save hmp file dll
[Re: sivan]
#450185
04/08/15 09:40
04/08/15 09:40
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
OP
User
|
OP
User
Joined: Mar 2012
Posts: 927
cyberspace
|
thanks superku.
@sivan well tga ,bmp worked okay when I tested , jpg dds png however is a different story .
Compulsive compiler
|
|
|
Re: save hmp file dll
[Re: sivan]
#450221
04/09/15 16:47
04/09/15 16:47
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
OP
User
|
OP
User
Joined: Mar 2012
Posts: 927
cyberspace
|
can you give me a code example ?
I couldn't reproduce the problem .
Compulsive compiler
|
|
|
Re: save hmp file dll
[Re: sivan]
#450237
04/10/15 08:08
04/10/15 08:08
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
OP
User
|
OP
User
Joined: Mar 2012
Posts: 927
cyberspace
|
the test I did was , I loaded a hmp with textures applied (which is what I presume you do) then I replaced the skins with different textures , I then saved it ,removed the entity , and loaded it ,everything were correctly saved and applied ..
I also tested with ent_reload but this one seems to have a problem , because it doesn't reload the whole mesh , possible a bug there with terrain and ent_reload?
are you saving your modified files before saving the hmp ? or are you altering the skins bmp's then saving just the hmp ?
I wil conduct some bmp_lock ,with alterations on the pixels tests today .
Compulsive compiler
|
|
|
Re: save hmp file dll
[Re: sivan]
#450245
04/10/15 09:33
04/10/15 09:33
|
Joined: Mar 2012
Posts: 927 cyberspace
Wjbender
OP
User
|
OP
User
Joined: Mar 2012
Posts: 927
cyberspace
|
the pointer of data I am using to fill the data pointer of the hmp before saving , is the pointer available to palettized pixels of the original image .
oh and the manual states that a bmap_save's image format can only be read back with bmap_load and can not be used for BMAP definitions or textures. .
I see the issue , thank you.
Last edited by Wjbender; 04/10/15 09:45.
Compulsive compiler
|
|
|
|