Browse Search Popular Register Upload Rules User list Login:
Search:
SYNCHRONIZED TEXTURE

Image:
screenshot of the scene

Author: Xray

Group: Default

Filesize: 397.38 kB

Date added: 2013-05-26

Rating: 5.6

Downloads: 645

Views: 419

Comments: 4

Ratings: 2

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

This scene is considered a tutorial. Under normal conditions, when you move or relocate a box or circle that has a texture (i.e., Texture = " .jpg, .png, .gif, or .bmp" file), the texture moves in a fixed position relative to the geometry along with the geometry. But there may be a situation where you do not want the texture to move with the geometry, but rather have it stay put relative to the background, and as you move or relocate the circle or box, you will see a different view of the texture because the geometry is now "looking" at a different location on the texture. The result is like moving a glass window to a new location on the wall of your house. You will see a different view of the same scenery outside the house. If this doesn't make sense, run the scene and then I think you will understand what I'm saying. :)

EDIT - Corrected slight texture movement in the circle that moves across the scene from left to right. Now the texture and the circle move EXACTLY in synch. My thanks to s_noonan for catching this little bug.
Last edited at 2013/11/15 20:08:31 by Xray
Please log in to rate this scene
edit
Similar scenes
Title: magnet motor(4 cyl) synchronized
Rating: 5
Filesize: 65.43 kB
Downloads: 942
Comments: 3
Ratings: 1
Date added: 2010/02/21 20:12:21
Made with: Phun
Rating: rated 5
download
Title: GEOMETRY AND TEXTURE SCALE
Rating: 5.625
Filesize: 0.89 MB
Downloads: 810
Comments: 4
Ratings: 2
Date added: 2013/11/13 05:15:07
Made with: Algodoo v2.1.0
Rating: rated 5.6
download
Title: Synchronized Spawn Engine
Rating: 5
Filesize: 92.31 kB
Downloads: 481
Comments: 0
Ratings: 1
Date added: 2010/05/13 16:14:46
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Attak IN
Rating: 5.4
Filesize: 3.69 MB
Downloads: 1587
Comments: 1
Ratings: 4
Date added: 2010/02/09 15:40:29
Made with: Phun
Rating: rated 5.4
download
Title: Sci-Fi Car improved
Rating: 3.1667
Filesize: 57.47 kB
Downloads: 111
Comments: 5
Ratings: 6
Date added: 2008/10/28 19:26:40
Made with: Phun
no image found for this scene
Rating: rated 3.2
download
Title: Mercedes-Benz SLS AMG gt3 (no texture)
Rating: 7.8125
Filesize: 0.64 MB
Downloads: 2718
Comments: 12
Ratings: 10
Date added: 2011/07/08 13:46:10
Made with: Phun
Rating: rated 7.8
download
Nice Demo.

Regarding,
"One script makes a circle slowly move to the right at exactly the same rate as the texture, so that it appears like the texture is not moving in that circle."

On my PC it is close to the same rate, but not exact. Also it only works for simulation frequency value = 60.

This is what I did to make it exact and frequency independent:

1. Set all _counts = 0.0
2. Replace pos = {[1.8 + (sim.time / 20) % 3, 4.2]}
with pos = {[1.8 - _count, 4.2]}
3. (Optional) Replace textureMatrix = {[1.0, 0.0, _count + pos(0), 0.0, 1.0, pos(1), 0.0, 0.0, 1.0]}
with textureMatrix = {[1.0, 0.0, 1.8, 0.0, 1.0, 4.2, 0.0, 0.0, 1.0]}
Thanks for the comments and the suggested mods, but I wasn't going for accuracy or precision. I just wanted to show a different method of displaying a texture than the usual method. The user can tweak his/her scene any way they want to for various visual effects.
I agree. A simpler fix would be to replace the word "exactly" with "almost". ;)
FIXED! I can now correctly use the word "exactly"! :lol: