Author Topic: Rendering anomaly in animation  (Read 983 times)

Offline Ben3D

  • Member
  • *
  • Posts: 28
Rendering anomaly in animation
« on: January 27, 2015, 02:21:42 AM »
Hello,
I have rendered a rotating test asteroid object but there are some parts of the surface texture that doesn't seem to move with the object when it rotates. It's a subtle effect but it makes the texture look projected on the object since it doesn't completely follow the movement. I don't think that I have any animation setting activated. Can someone help make the texture follow the movement without using a texture map image? I have attached the test project along with a few rendered frames to show the problem.

Offline Ben3D

  • Member
  • *
  • Posts: 28
Re: Rendering anomaly in animation
« Reply #1 on: January 28, 2015, 01:12:27 AM »
I think that I have found the problem. It's probably because Terragen generates the textures with global coordinates instead of the object's coordinates. So when an object moves the textures stay in place but seem to move on the object.

Offline Kadri

  • Member
  • *
  • Posts: 8285
Re: Rendering anomaly in animation
« Reply #2 on: January 28, 2015, 01:21:29 AM »

I haven't looked at your file. If you use an OBJ file with UV maps that shouldn't be a problem.

If  you use Terragen objects try using the transform node to move the objects.

I had a kinda similar problem with a crater node not moving with a planet.
A Simple shape shader attached to the place where the crater was helped (thanks to Ulco-Dune ).
« Last Edit: January 28, 2015, 01:25:42 AM by Kadri »

Offline Matt

  • Planetside Staff
  • *
  • Posts: 3036
  • I'm the crazy one
Re: Rendering anomaly in animation
« Reply #3 on: January 28, 2015, 06:38:16 AM »
You'll need to use a Transform Input Shader, and copy the same animation to that node. If this were a Planet node you'd be able to simply check "move textures with planet" and "rotate textures with planet". Most imported objects are mapped with UVs (which are stuck to the object) so we haven't added similar options to imported objects. We should do that in a future version.

Matt
Just because milk is white doesn't mean that clouds are made of milk.

Offline Ben3D

  • Member
  • *
  • Posts: 28
Re: Rendering anomaly in animation
« Reply #4 on: January 28, 2015, 07:09:15 PM »
OK, thanks both of you for the help.

 

anything