Results 1 to 6 of 6

Thread: Moving textures around on an object.

  1. #1
    Junior Member
    Join Date
    Jul 2011
    Posts
    1

    Moving textures around on an object.

    Hi,

    Say I have a mesh and on that mesh I place a texture.

    Can I move the texture around ? Say for example shift it to the left...

    Is that possible and the golden question is if it is then how do I script it ?

    Many thanks !

  2. #2
    Senior Member
    Join Date
    Feb 2008
    Posts
    2,029
    Yes, it's possible. You can offset texture by script.
    Look at the example. You can just drag the texture with the mouse

    move_texture.dxstudio

  3. #3
    Junior Member
    Join Date
    Jul 2011
    Posts
    1
    Wow that's so cool - I was almost sea sick :O

    That is such good news

    Is there the source for the demo somewhere or could you just drop me in a couple of lines of code to get me started ?

    Many thanks

  4. #4
    Senior Member
    Join Date
    Feb 2008
    Posts
    2,029
    You get to source code after loading document into editor then hit in menu JS. This will open the code pad. Scripts are in DXS hierarchic (document -> scene -> object(s)) Hirarchy tree is bottom right in code pad:

    Last edited by Funkas; 10th April 2012 at 04:04 PM.

  5. #5
    Junior Member
    Join Date
    Jul 2011
    Posts
    1
    Thanks, managed to get it to work after looking at that

  6. #6
    DX Studio Non-Commercial Pro Edition
    Join Date
    Jun 2007
    Posts
    564

    Post V Not working

    Hello I change some codes texture moving UV,U is working well but not working texture V moving.

    I will up down move texture but not worked. please help, what is problem?
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •