PGD Home

P-152: Virtual World Concept Update 164: Planet-sized Terrain: Part 43

by on Aug.28, 2016, under Astral Realms, P-0, Software and Games, Spiritus Astrum

I have uncovered a major issue with the current system.

The spherical terrain code basically works, but I am having serious problems moving the rendered nodes so that they are returned to the origin along with the player as part of the floating origin system.

I cannot simply move the terrain object itself, since the rendered node positions would then render out of the terrain objects bounds, and the collision, texturing, and subdivision code would then not work.

I need to find a way to adjust the position of the nodes correctly from code.

I am currently working on factoring the section of the code where the 64-bit to 32-bit translation is being done, since I believe that is where the issue is. I am trying to remove the term in the algorithm that I think is causing the issue (the player position) and replace it with another term that doesn’t change as the player moves (such as the planets radius, or similar).

I believe that the main work of the spherical terrain is correct, ie, the terrain is “paging” in new data as the player moves. It is difficult to tell at the moment because there is no real detail on the terrain surface yet, but I think it is safe to assume that this is working for the moment.

I have tried various methods of moving the terrain nodes to compensate for the players movement, but so far, none have worked. This problem seems to be much more serious that I realised.

P152_DEBUG 25/08/2016 , 02:05:18 AM Torque 3D MIT - P152

P152_DEBUG
25/08/2016 , 02:05:18 AM
Torque 3D MIT – P152

P152_DEBUG 25/08/2016 , 06:57:18 AM Torque 3D MIT - P152

P152_DEBUG
25/08/2016 , 06:57:18 AM
Torque 3D MIT – P152

P152_DEBUG 26/08/2016 , 05:50:48 AM Torque 3D MIT - P152

P152_DEBUG
26/08/2016 , 05:50:48 AM
Torque 3D MIT – P152

P152_DEBUG 26/08/2016 , 05:18:17 AM Torque 3D MIT - P152

P152_DEBUG
26/08/2016 , 05:18:17 AM
Torque 3D MIT – P152

P152_DEBUG 26/08/2016 , 03:52:53 AM Torque 3D MIT - P152

P152_DEBUG
26/08/2016 , 03:52:53 AM
Torque 3D MIT – P152

P152_DEBUG 25/08/2016 , 08:58:47 PM Torque 3D MIT - P152

P152_DEBUG
25/08/2016 , 08:58:47 PM
Torque 3D MIT – P152

P152_DEBUG 25/08/2016 , 08:55:09 PM Torque 3D MIT - P152

P152_DEBUG
25/08/2016 , 08:55:09 PM
Torque 3D MIT – P152

 

Facebooktwitterredditpinterestlinkedinmail

Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!