View Full Version : Texture Size?!

07 July 2012, 09:20 PM
Hi there! I'm a new Houdini user, so please excuse me if this is a newbie question, but I am going through the Digital Tutors Dynamics Training, and I need to assign a PNG sequence to my sprites. I am successfully able to assign the texture to my sprites, but then the texture size contains the entire png, as opposed to only 1 frame of the 8 frame sequence. The instructions within the tutorial tell us to use the following parameters in the sprite node:

Texture offset: ceil(fit01($LIFE, 0, 7))/8 $STEXV
Texture size: 1/8 $STEXW

By changing the first value of our texture size to 1/8, we are supposed to be assigning 1/8 of our png sequence to the sprite texture. Unfortunately, no matter how I change the texture size and texture offset parameters, no changes appear on my sprites. I'm really stuck, so if anyone has any ideas, i'd definitely appreciate the help.


CGTalk Moderation
07 July 2012, 09:20 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.