Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Saving a mesh after deforming with vec_to_mesh #132357
05/27/07 18:12
05/27/07 18:12
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline OP
Expert
Matt_Aufderheide  Offline OP
Expert
M

Joined: Oct 2003
Posts: 4,131
The manual says: "Mesh deformation is not automatically saved by game_save(). If this is desired, store the mesh coordinates in an array. "

What if I want to just save the new version of the mesh over the old file? is this possible?

I'm implementing my own terrain system with LOD, and I want to deform meshes and then save them so I don't have to displace them each time the app is run.. only when i want to update the heightmap.


Sphere Engine--the premier A6 graphics plugin.
Re: Saving a mesh after deforming with vec_to_mesh [Re: Matt_Aufderheide] #132358
05/27/07 18:31
05/27/07 18:31
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
do you use models or terrains?

to save a model file you could use mdl7.lib in a plugin. not sure if it also can be used for terrain files (you would have to ask jcl) but if i remember correctly the hmp format is relatively simple. it's described in the manual.

Re: Saving a mesh after deforming with vec_to_mesh [Re: ventilator] #132359
05/27/07 20:10
05/27/07 20:10
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline OP
Expert
Matt_Aufderheide  Offline OP
Expert
M

Joined: Oct 2003
Posts: 4,131
My method requires that I use models, because the meshes cant be regular grids.. for seam fixing..

Where is mdl7.lib? is it in the SDK?


Sphere Engine--the premier A6 graphics plugin.
Re: Saving a mesh after deforming with vec_to_mesh [Re: Matt_Aufderheide] #132360
05/27/07 21:01
05/27/07 21:01
Joined: Aug 2005
Posts: 1,185
Ukraine
Lion_Ts Offline
Serious User
Lion_Ts  Offline
Serious User

Joined: Aug 2005
Posts: 1,185
Ukraine
No, it is the separate download at 'downloads' page. You can read/write idp2-mdl7 models with this lib.

Re: Saving a mesh after deforming with vec_to_mesh [Re: Lion_Ts] #132361
05/28/07 00:22
05/28/07 00:22
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline OP
Expert
Matt_Aufderheide  Offline OP
Expert
M

Joined: Oct 2003
Posts: 4,131
ok, i see it thanks..


Sphere Engine--the premier A6 graphics plugin.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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