After adding WPO mesh disappear

Hello. Who can explain to me what I’m doing wrong with WPO?
I want to move the mesh to a specific point in space via world position offset. I want to set the world value through the material.

For example, I want to move the mesh to (x=300 y=0 z=0).
I created the following material and set the offset.
After that, the mesh disappears from space. I tried to change the bounds scale,.

Perhaps I misunderstand the WOP. Or do I need to do a transformation to another space?



Put it the other way around

It will place mesh to wrong location

I take that back, it’s not a good material.

You’re setting the WPO to the position of the pixel in world space.

So depending on where you put the sphere, you’ll get different results.

What are you trying to do, actually?

I think maybe you mean something like

wpo

This was an abstract example. I’m solving a slightly different problem.
In this case, I want to move the mesh to a specific location through the WPO. I want to set world loc at material
004

Ok, so you want to move the object to a known coord, using the material?

1 Like

yep, i want to move to specified coords. That works.

1 Like

Next question is more difficult.
For example, if I have a pipe mesh.
I want to deform (bend) it and move it in space with WPO.
I have an interpolation function that can calculate the position for each pixel inside material
1 - original mesh
2 - after deformation

005

What form does the function take?

Start World Point and End World Point

I can’t see how that would work.

What is it you want to do in the end?

If you want to displace material with a function, why not use a noise texture?

Have you written a material function for the noise?

The idea is the following.
I have some number of static meshes (straight tubes or straight cylinders or straight pipes). I want to make some kind of spline out of them.
I have a function that calculates an interpolated intermediate point. Calculation based on the start point and end point of the deformed mesh.
I want to deform the original mesh knowing these data
All deformations must be done using the material.
I cant use SplinesConponents and SplineMeshConponents

Why can’t you use spline mesh components?

I want to solve this idea without splines. The main task is to do it through the material.