Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Position relative to what?
jorgeas80 Offline
Junior Member

Posts: 21
Threads: 7
Joined: Jan 2014
Reputation: 0
#5
RE: Position relative to what?

(02-21-2014, 01:52 PM)Romulator Wrote: Well, I know you're working with Penumbra, but I turned to AAMFP assets to look at sizes.

The 4x8m road which can be found in the streets for static_objects is what I used in this example.

I took the long side of the road and put it down at 0,0,0, without rescaling or rotating. At 0.25 snap, there are 32 squares along the Z-Axis. At 0.5, there are 16, and at 1.0, there is 8. Therefore having a 1.0 set as the snap sep. is equivalent to 1m.

Not ENTIRELY sure if it is the same for Penumbra, because I cannot develop with those if I don't have the game (Tongue) but those were my findings with that Smile

Edit: And no, not arbitrary. It is primarily the centre point of the whole map, the area which can be seen first in the perspective view, where the 3 Axis cross over (again, do not know if this is in Penumbra's dev tools).

Interesting finding. Thanks!

When you say "I took the long side of the road...", which tool have you used to get those numbers? I have Blender installed, not Maya or 3DMax.

Currently, I'm diving into the code, looking for the place where the world coordinates are set. If I know where is the (0, 0, 0) point in the World3D object (this is an actual object in the code), I can define this point in my space, and translate the position of the objects from one system (the game) to the other one (my own space)
02-21-2014, 02:06 PM
Website Find


Messages In This Thread
Position relative to what? - by jorgeas80 - 02-20-2014, 08:37 PM
RE: Position relative to what? - by WALP - 02-21-2014, 06:41 AM
RE: Position relative to what? - by jorgeas80 - 02-21-2014, 01:25 PM
RE: Position relative to what? - by Romulator - 02-21-2014, 01:52 PM
RE: Position relative to what? - by jorgeas80 - 02-21-2014, 02:06 PM
RE: Position relative to what? - by Romulator - 02-21-2014, 02:17 PM



Users browsing this thread: 1 Guest(s)