Skip to content

[QUESTION] How to append showing random custom texture files for custom event/presentation? #889

Open
@xintrea

Description

@xintrea

Please confirm the following points:

  • This question is NOT about the Android apps in the Play Store
  • I have searched the project page to check if the question was already asked elsewhere

Topic

General Request

Your Request

Hi!

I want to know if it is possible to configure projectM so that when displaying presets, in those presets where textures from files are used, the textures are randomly replaced with those that are in a special directory?

For example, I have a directory "texture-custom", which contains logos and photos used in the context of the event. It is necessary that in presets, when a command like this is executed:

warp_2=`sampler sampler_fire_dis4;

... instead of the file sampler_fire_dis4.jpg, a random file from the "texture-custom" directory is loaded.

Is it possible to make such a setting? Or what is the easiest way to make such behavior through code?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions