Gamestudio Links
Zorro Links
Newest Posts
nba2king Latest Roster Update Breakdown
by joenxxx. 10/14/25 06:06
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 9,184 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
save hmp and mdl #401767
05/24/12 12:53
05/24/12 12:53
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
hi
I would be really happy to see official plugins accessible from Lite-C for saving modified model and terrain entities (deformation, or number of skins, or internal skin-texture changes).
I know there is the SDK, but it would require too much effort from me to dig into it...
Or will something similar be published with GED source codes?


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: save hmp and mdl [Re: sivan] #401768
05/24/12 13:35
05/24/12 13:35
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
I have programmed two plugins (ackmdl.dll and ackhmp.dll) for a customer, that can do exactly these things (well, not really modified entities but that can be added easily) - especially when it comes to skin arrangement and -modifications.

If you (or JCL) are interested, you can contact me freely, I could sell you a copy.

Last edited by HeelX; 05/24/12 13:35.
Re: save hmp and mdl [Re: HeelX] #401779
05/24/12 14:35
05/24/12 14:35
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
ahh, so you are ready with it, I remember you mentioned it earlier.

I would prefer the deal with JCL and to add this feature to 3DGS laugh (at the moment I'm spending my little money for upgrading from Extra to Commercial...)

my primary aim with it to add this feature to my free editor. I have some alternative solutions, but they are not really practical...

probably I will personally need it in future (when I'm completely ready with my game AI system), so I keep this good information in mind, and will contact you when really actual! (and if won't be part of 3DGS, and available below Pro edition too)


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: save hmp and mdl [Re: sivan] #401783
05/24/12 15:19
05/24/12 15:19
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Nah, not ready, it is as ready as my customer needed it - the hmp.dll is relatively complete, the mdl.dll is missing some things (which my customer didn't needed). Since I have no need for it to be further developed (atm), I have no intentions to do so, until someone pays for commisional work.

Re: save hmp and mdl [Re: HeelX] #401853
05/25/12 10:09
05/25/12 10:09
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
okay, clear, atm I'm mainly interested in the terrain saving dll, the model version is not so essential for me (but can be in future).


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: save hmp and mdl [Re: sivan] #401856
05/25/12 10:46
05/25/12 10:46
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Here is a full feature list, if you are interested:

ackhmp.dll feature list
  • create hmp
    • from scratch (width/height, rows/cols)
    • from bitmap
      • engine BMAP*
      • file
    • from existing terrain ENTITY*
    • copy constructor
    • from buffer (WRS compatible)
  • saving
    • save hmp to file
    • save modified terrain entity to file, or re-save original file
  • heightfield functions
    • bicubic resizing of heightfield
    • lod generation
    • heightfield to zero or variable
    • copy heightfield from/to rowmajor/columnmajor matrix
  • info functions
    • get lowest/highest coordinate
    • get vertex coordinate
    • get normal for vertex
  • skin functions
    • create skins for internal/external skins, D3D material, embedded shader
    • get/set/add/remove skins
  • entity functions
    • create terrain entity from hmp during runtime
    • transfer terrain entity shape from/to existing hmp
    • normals
      • recalculate all normals of a deformed terrain entity
      • recalculate normal of a specific vertex of a deformed terrain entity
    • get/set vertices (heights)
    • raise vertices by offset
  • brushes (useful for editing terrains)
    • create a brush from BMAP* or bitmap file
    • read floating point data from brush at local/world position
  • hulls - dynamic terrain hull with bicubic interpolation, that is faster than updating the whole terrain in-engine with c_updatehull!
    • Create hull from terrain entity
    • modify hull vertex-wise
    • vertical tracing (super fast)
    • 3D trace (very fast)
    • adapt entity to hull (origin or lower Bbox position) – useful for placing entities on ground
  • bitmap functions
    • save BMAP* as rock-solid TGA
    • create mip map BMAP*'s from source BMAP*
    • merge 4 greyscale bitmaps as R,G,B and A channel into a variable sized blendmap
  • materials
    • create MATERIAL* from scatch from float* arrays and effect char*'s
  • seeding
    • generate a list of position on a hmp by a likelihood map to seed a terrain
    • uses average & minimum distances and relaxaxtion parameters


Re: save hmp and mdl [Re: HeelX] #401868
05/25/12 12:28
05/25/12 12:28
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline OP
Expert
sivan  Offline OP
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
huh, this is really more than I expected with a lot of features I will really need!
can you send me a PM with an approximate price? (but it will be actual only some months later) then I can decide whether to buy your package or to do myself what I can... (first I would like to see GED source codes)


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: save hmp and mdl [Re: sivan] #401881
05/25/12 14:36
05/25/12 14:36
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
I am interested too, please send me the price for the terrain and entity dll too. (PM)
For both i need:
- saving after vertexmanipulation and / or skinmanipulation as *.hmp / *.mdl
- saving with added skins by lite-c code.

Re: save hmp and mdl [Re: Widi] #401882
05/25/12 14:42
05/25/12 14:42
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
Originally Posted By: Widi
saving after vertexmanipulation and / or skinmanipulation as *.mdl


For mdls, this has to be implemented and could involve a lot of work, because the ackmdl.dll is intended for usage with mdl files atm only. Loading from an Entity can be done, but this has to be worked out.


Moderated by  aztec, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1