Omy Posted July 19, 2010 Share Posted July 19, 2010 Im creating a domino sim,for this im following the rbd point object method as somebody of this forum insisted,.so could anyone tell me how to place 3 or 4 random images as texture.. I mean each box should have different textures in a random order or in a continuous order but each 4 or 5 textures should keep on repeating all over the 100s of boxes in domino. could anyone give a sample file to start with Quote Link to comment Share on other sites More sharing options...
old school Posted July 19, 2010 Share Posted July 19, 2010 Here's an example file using the Material SOP's ability to override any material parameter. In this case, the baseColorMap parameter from a default basic surface material is being overidden with an expression: butterfly`$CLASS%7 + 1`.pic where % is the modulus operator which returns the remainder of $CLASS/7 The 1 is added because the butterfly sequence starts at 1. I used the connectivity and partition to index the pieces into the default "class" attribute accessible via $CLASS. With this technique, you can override any material property including color. random_map_overrides_on_cards.hip Quote Link to comment Share on other sites More sharing options...
Omy Posted July 19, 2010 Author Share Posted July 19, 2010 (edited) Here's an example file using the Material SOP's ability to override any material parameter. In this case, the baseColorMap parameter from a default basic surface material is being overidden with an expression: butterfly`$CLASS%7 + 1`.pic where % is the modulus operator which returns the remainder of $CLASS/7 The 1 is added because the butterfly sequence starts at 1. I used the connectivity and partition to index the pieces into the default "class" attribute accessible via $CLASS. With this technique, you can override any material property including color. what i intend to ask is i wish to have two or three different images that repeats through out the curve continuously.could you tell me how to go for that. Edited July 19, 2010 by Omy Quote Link to comment Share on other sites More sharing options...
Omy Posted July 19, 2010 Author Share Posted July 19, 2010 also i have a doubt why the objects keep on submerging below the ground in course of time so slowly that the shape goes beyond the grid. i have attached the file and also could you tell me how to apply random textures. random textures means two or the different image files in the disk? and also please help me to speed up the sim dominoesv3.hipnc Quote Link to comment Share on other sites More sharing options...
Omy Posted July 20, 2010 Author Share Posted July 20, 2010 also i have a doubt why the objects keep on submerging below the ground in course of time so slowly that the shape goes beyond the grid. i have attached the file and also could you tell me how to apply random textures. random textures means two or the different image files in the disk? and also please help me to speed up the sim could any one reply Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.