Tagged: Material
- This topic has 6 replies, 3 voices, and was last updated 3 years, 10 months ago by anigizle.
-
AuthorPosts
-
2021-01-27 at 1:30 pm #37752anigizleParticipant
Hi everyone,
I am currently working on a modular apartment in Blender / Verge3D and everything works out fine! But I’m having one problem that I can’t fix…
In my scene there stands a television. On the tv is an image displayed and I am wondering if it’s possible to cycle between the image on the tv by changing the texture/material by clicking one button.
Conclusion:
The tv has a pulsating button besides it and when I click the button the texture should change to “texture2”. When I click it again the textures changes to “texture3” and when you click it again it should change back to “texture1” and so on.
Is there anybody out there who has a solution for me how I can fix this?
Thanks you all in advance!
Greetings Agniz.
2021-01-27 at 2:24 pm #37754Mikhail LuzyaninStaffYou can create a list of materials and then shift an index + 1 of the list to get next the material with Get From the List puzzle.
Co-founder and lead graphics specialist at Soft8Soft.
2021-01-27 at 2:42 pm #37755anigizleParticipantThanks a lot for your fast reply! But I’m still stucked… I am wondering if maybe you can give me a visual example?
2021-01-27 at 2:49 pm #37756hasanyluthfiParticipantcycling texture between 3 image can be achieved by something like this.
ignore the naming. the explanation is you give current state as variable “material” and mark it as 1.
because there’s logic puzzle that’s detect what mark is assigned to the variable “material”, it will change according to what mark is assigned to that variable “material”.Attachments:
You must be logged in to view attached files.2021-01-27 at 3:07 pm #37759anigizleParticipantcycling texture between 3 image can be achieved by something like this. ignore the naming. the explanation is you give current state as variable “material” and mark it as 1. because there’s logic puzzle that’s detect what mark is assigned to the variable “material”, it will change according to what mark is assigned to that variable “material”.
Thanks hasanyluthfi. The problem that I have during this puzzle is when “TV_NorthernLights” is shown you must click the button twice and then it skips the “TV_skyscrapers”.. So the cycle isn’t completely working…
Attachments:
You must be logged in to view attached files.2021-01-28 at 3:09 am #37768hasanyluthfiParticipantmaybe check your material?, just in case your TV_NorthernLights have same texture as TV_skyscrapers.
and why not use change texture puzzle instead?2021-01-28 at 1:12 pm #37791anigizleParticipantmaybe check your material?, just in case your TV_NorthernLights have same texture as TV_skyscrapers. and why not use change texture puzzle instead?
Thanks hasanyluthfi the method of replacing textures fixed it!
-
AuthorPosts
- You must be logged in to reply to this topic.