Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (vince, Quad, 1 invisible), 4,052 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
VladMak, Geir, ondrej, mredit, vestriaa
19207 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
clipping bug #234995
11/05/08 14:09
11/05/08 14:09
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
I think I found two possible bugs:

After calling ent_setmesh and manually setting min/max values, the entity is still clipped using the size of the old mesh. For example I have an 8x8x8 box (4 vertices) and I call ent_setmesh to change the mesh to a large terrain (128x128 vertices), the terrain is clipped when the 8x8x8 box is not visible.

Also, ent_setmesh does not work on terrain entities...?

Re: clipping bug [Re: sheefo] #235152
11/06/08 07:48
11/06/08 07:48
Joined: Jul 2000
Posts: 28,093
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,093
Frankfurt
Yes, setting a new mesh does not alter the clip size. We'll find a solution for that.

For terrain entities you need to give the chunk you're setting the mesh for.

Re: clipping bug [Re: jcl] #235293
11/06/08 21:02
11/06/08 21:02
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
Thanks.

The engine crashes when calling ent_setmesh on non-chunked terrain (with "_n" in the filename). It terminates with no warning (and returning strange error codes in VC++).

Re: clipping bug [Re: sheefo] #235345
11/07/08 08:07
11/07/08 08:07
Joined: Jul 2000
Posts: 28,093
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,093
Frankfurt
I could confirm the clipping issue, but can not confirm the problem with the nonchunked terrain, at least not with my test terrain. Can you send that project to the support? Maybe the reason is something else.

Re: clipping bug [Re: jcl] #235818
11/10/08 11:52
11/10/08 11:52
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
I have prepared a new project to test the terrain and it seems to work on it's own. The problem must lie somewhere else in my project. I will investigate. It's probabily not the engine.

Sorry for the trouble.


Moderated by  HeelX, 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