Difference between "Offset" and "Position"?

By English definition, “Offset” means to move something out of predicted line. Which means moving something, basically.
Position here also changes / moves / repositions the position of an object.

From what I see in Geometry Nodes, it seems that Offset means adding whatever value that it’s given. That’s why when I inputted Position Node into Offset, the Cube got twice larger because all vertices’ locations got added / moved by their own locations.
But Position could also do the same by getting twice larger when I added the vertices’ locations to themselves.
So, why would I need Offset, exactly?


My questions are:

– What’s the distinction between using Offset and Position in Set Position in Geometry Nodes?

– What’s the reason for adding the concept of “Offset”? Wouldn’t “Position” be able to do exactly whatever “Offset” could do?


Thank you!

The final position of the object is position + offset. If position is not given an explicit input, it defaults to “position”, like from a position node.

It is only a convenience. You could conceivably use a vector math/add node and a position node instead of ever using the offset input.

As an example of someplace where offset is convenient, consider recreating a displacement modifier: normal->vector math/scale->offset->output. Easy to put together, easy to understand. If you added it to existing position explicitly, it would get half again as big.

6 Likes

Thank you!

This makes me wonder, how about only Position? Or only Offset?
“Position+Offset” means repositioning something and then repositioning it some more, in one operation.

Sometimes setting the position directly is more convenient, sometimes setting an offset is more convenient.

That’s why both are available.

5 Likes

Don’t understand the question.

Are you asking what happens if you use only one? If you use only offset, you’ll get position as if from a position node, plus input offset. If you use only position, you’ll get the input position, plus a 0,0,0 default offset.

Are you asking, could GN nodes be made without using both inputs? Yes, they absolutely could. If that’s something you’d like, feel free to use only one of those inputs. Whichever one you’d prefer.

Sure, it’s repositioning, and then repositioning some more. One of those repositions is absolute in object space and one of those is relative to existing position. Sometimes, absolute is convenient and sometimes relative is convenient. It’s unlikely that somebody is going to use both inputs in the same node, but they could if they wanted, to combine a couple of repositions that they were thinking about differently (an absolute shrinkwrap followed by a relative displacement.)

3 Likes

Thank you.

Sorry, I actually was not asking any question that you assumed. But thank you for trying to help and for the useful information.

What I’m asking is, if both Offset and Position do the same thing, which is repositioning the object, then why include both functions which do the same job, in the same node? Actually, why including the concept of “Offset” at all? Both “Offset” and “Position” reposition something.

Position repositions an object. Then Offset repositions it again. So the Set Position Node does the same job twice? If this is the case, then why didn’t the Developers just include only one function?

I assume that your whole last paragraph would be your answer to my question above?

They don’t. Offset is relative positioning. Position is absolute positioning

2 Likes

Ah thank you. I need to do some research on Relative Positioning and Absolute Positioning.

1 Like

I told you why in the first post. For user convenience.

2 Likes

A visual example might help:

This text is 50px from the top of the blue container. This is the offset, or relative position. This text is 85px from the top of the page, and 98px to the right. This is the absolute position, or position.

5 Likes

Taking it a step further, let’s say (in geometry node terms) you adjust the Offset:

Notice that the blue container doesn’t move, just the container inside it. Now, what if we adjust the Position:

The Offset is still 80px from the top of the blue container, but the actual position of the text in space has changed to… 115px from the top and 298px from the left.

3 Likes

A more blendery example:
offset:


position:

If you start using fields to set position, it becomes more complex and the difference becomes more meaningful.

2 Likes