Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, TipmyPip, VoroneTZ, Quad, 1 invisible), 688 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Terrain Disappears at certain Camera Angle #449487
03/22/15 03:36
03/22/15 03:36
Joined: Mar 2015
Posts: 4
U
UDrema Offline OP
Guest
UDrema  Offline OP
Guest
U

Joined: Mar 2015
Posts: 4
Someone already asked about this a while ago, but i didnt see any answer to it. Does the commercial version have the same bug about everything on screen disappearing due to a certain camera location when a large terrain is loaded? on the free version if i go to a certain position on the terrain, when the terrain isnt centered at 0x,0y, all the 3d elements in the game disappear at certain camera angles....for example, if the terrain is at 500,000x and 450,000y and i move my character with the camera over there, it might have the disappearing bug because the terrain isnt at 0,0.

Last edited by UDrema; 03/22/15 03:42.
Re: Terrain Disappears at certain Camera Angle [Re: UDrema] #449488
03/22/15 07:08
03/22/15 07:08
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
this is most likely a level_ent size issue. make sure its min and max is set to cover the full level.


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: Terrain Disappears at certain Camera Angle [Re: sivan] #449493
03/22/15 09:45
03/22/15 09:45
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Main=53708&Number=447385#Post447385

I had such a problem which I got fixed with a wait (1) ..

you can also try using c_setminmax after each terrain creation , the min max vectors are utterly empty if you dont do it yourself .


Compulsive compiler
Re: Terrain Disappears at certain Camera Angle [Re: Wjbender] #449504
03/22/15 16:53
03/22/15 16:53
Joined: Mar 2015
Posts: 4
U
UDrema Offline OP
Guest
UDrema  Offline OP
Guest
U

Joined: Mar 2015
Posts: 4
what do you mean by adding a wait(1)? where do you want me to add it? also, c_setminmax didnt fix the problem

Re: Terrain Disappears at certain Camera Angle [Re: sivan] #449506
03/22/15 17:30
03/22/15 17:30
Joined: Mar 2015
Posts: 4
U
UDrema Offline OP
Guest
UDrema  Offline OP
Guest
U

Joined: Mar 2015
Posts: 4
sivan, im not using the terrain as a level_ent. im using them as normal entities to load multiple terrain. its min and max are set, but im not sure what you mean by "covering the full level".

Re: Terrain Disappears at certain Camera Angle [Re: UDrema] #449507
03/22/15 17:30
03/22/15 17:30
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
the issue I had was that the engine needed a wait (1) directly after the terrain creation command to do some sort of an update ..

it may very well be that your problem is a level size issue like sivan said , because you mentioned a single terrain being "loaded" , mine were created, but I added the issue here because it sounded so much alike , I had the same problem although perhaps under a different situation .

The c_setminmax was also a terrain creation /modification issue I had , just thought I would mention it too .

good luck.

edit : just saw your new reply , "multiple terrains" put a wait (1) after each

Last edited by Wjbender; 03/22/15 17:32.

Compulsive compiler
Re: Terrain Disappears at certain Camera Angle [Re: Wjbender] #449526
03/23/15 08:33
03/23/15 08:33
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
the level_ent is a pseudo entity. out of it the level is not rendered.


Free world editor for 3D Gamestudio: MapBuilder Editor

Moderated by  HeelX, Spirit 

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