x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How to toggle through textures on surface

Hi everyone,

i am trying to add an interface in my project where i can toggle through different screencaptures as textures on a display (mesh) by clicking up and down. What I want is quite like a diashow.

Right now i found a workaround that quite works for me but is anything else then beautiful: I simply exchange the object. I initialize x materials, each for one slide and made a blueprint array that exchanges the material on my surface. That means, that i initialized all textures as materials individually and just make one visible at a time.

Now I was wondering wether there was a possibility to use dynamicMaterial as a function, or something different. I couldn't quite find a similar problem, which confuses me, since i thought that it should be easily done. :D

I hope you can help me, thanks and kind regards,
Ivor :)

Product Version: Not Selected
Tags:
more ▼

asked Jun 27 '16 at 11:08 AM in Blueprint Scripting

avatar image

IVOR_Pro
6 1

avatar image Prithvi Singh Jun 27 '16 at 11:29 AM

hello

use dynamic material .

make a texture parameter

make a blueprint in widget with buttons

on buttons press an integer will add and set its materials texture parameter to something else.

is this what you are looking for? if yes , tell me i will post a pic with details.if not i will figure something else out , i did made something close to it so i know a lot of alternatives for this

avatar image IVOR_Pro Jun 27 '16 at 12:07 PM

Thanks Prithvi Singh, the way i understand you, it actually sounds really good. Never really looked at widgets before so that might do the trick, so pictures would be awesome!

Thanks in advance :)

avatar image Prithvi Singh Jun 27 '16 at 12:47 PM

ok i will make it in an understandable way

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

for widgets see this and this

for material instances see this and this

for material prameters see this

my actor to be changedalt textmy level blueprintalt textmy widget graphalt textalt text my widget in designer view alt text

hope it helps ! cheers! (if not reply back)

zzzzzz.jpg (438.8 kB)
zzzzwhynotz.jpg (425.7 kB)
zzzz.jpg (448.3 kB)
zzz2z.jpg (381.7 kB)
zzzzzzz.jpg (376.0 kB)
more ▼

answered Jun 27 '16 at 01:42 PM

avatar image

Prithvi Singh
560 16 9 14

avatar image Prithvi Singh Jun 28 '16 at 01:38 PM

did you got it working?

avatar image IVOR_Pro Jun 28 '16 at 06:14 PM

Thanks for the fast reply, i did't get to it yet and worked on a different problem first, but thanks in advance. I will work on it tomorrow and let you now! :)

avatar image IVOR_Pro Jun 30 '16 at 01:14 PM

Hi so I got quite far just doing exactly what you did, but i don't quite get what kind of type your material instance "Dynamicssss" is so you can connect it with both "Set Material" and "Set Texture Parameter Value" since both ask for diefferent types in my blueprint. Do you know what i mean?

avatar image Prithvi Singh Jun 30 '16 at 01:33 PM

hey @IVOR_Pro

it's material instance (refrence)

do you want the projects zip file?
will be helpful to you.

mail me here if you or anyone else want that zip. prithvi.singh.prithvi.singh.1.2.3@gmail.com (didn't found a way to attach it)

avatar image IVOR_Pro Jul 04 '16 at 12:49 PM

I think i am fine for now, we got it working :) but thanks for everything!

avatar image Prithvi Singh Jul 04 '16 at 03:18 PM

Happy that you got it working! :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question