Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Terrain access #406540
08/23/12 13:37
08/23/12 13:37
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline OP
Member
jenGs  Offline OP
Member
J

Joined: Jul 2010
Posts: 283
Germany
Hi,
How do I access every vertex of a chunked terrain.
I am loading a heightmap and want to deform it on base of this data.
I success with a normal model file, but not with a terrain.
I am using ent_getvertex/ent_setvertex and the contact struct.
My problem with my first try is, that not every vertex is modified as if ent_getvertex count's the double verts of the terrain. But the manual say's it shouldn't.
Another problem is, that ent_fixnormals only fixes the first chunk.
Does anybody have some experience with this.
Gruß,
Patrick

Re: Terrain access [Re: jenGs] #406586
08/24/12 20:54
08/24/12 20:54
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
yes, it does not work properly in latest A8.40.1 beta too, but I placed a post and a terrain deformer demo in that thread, and as I see in the "Bug List", it will be okay in A8.40.2. moreover in that demo you can find a temporary solution for your problems...


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Terrain access [Re: sivan] #406588
08/24/12 22:53
08/24/12 22:53
Joined: Jul 2010
Posts: 283
Germany
J
jenGs Offline OP
Member
jenGs  Offline OP
Member
J

Joined: Jul 2010
Posts: 283
Germany
Thank you, nice to know that this is going to be fixed.
Your answer was very helpful. I just noticed your post in the update forum.


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