Adding a single texture within this scene

quick question,
say I have a scene with a particle system using instancing on Geo node, GLSL, etc, a bunch of things

and now on top of all that, or in the middle of it, in 3d space, I want to position a single texture, a picture, square or rectangular, and be able to move it in 3d space

what is the best way to do that, the second part, I understand I need to create a box sop with a new geo node to have some sop geometry to move in 3d space, but how do I then put the image texture on top of that sop?

thank you :slight_smile:


Assign a TOP as the Color Map to a constantMaterial and assign the material to the geometry.

1 Like

that’s exactly what I did @alphamoonbase ,
the prob is that the photo is very dark, and the material becomes very dark, how can I bring more brightness to it?
thank you :slight_smile:

Then why don’t yu say so in the first place? Heck, even share a screenshot of your current setup? This way I do not have to guess what your skill-level is because mentioning your glsl-particle-system is not helping in that regard.

Using a ConstantMAT is the key here. Did you use a Constant or maybe a PhongMAT?

@alphamoonbase
now it works yes, but there is a problem, the position of the texture on the cube is wrong, how can I change the coordinates of the texture within the SOP?

Hey,

answer is in the question : Texture SOP

@alphamoonbase @Gallo thank you both very much
yes you are right I should have given more details, I am using constant materials.
I finally solved the problem, by using a Grid SOP instead of a Cube SOP, then all works much better; in any case I will check out that Texture SOP which sounds very interesting
thank you :slight_smile:

@alphamoonbase @Gallo
by the way, in your view, if I do instancing with an image texture, but I want to have say 7 variations of that texture so that imagine I have 200000 particles, and I want some of them to show texture 1, others texture 2, others texture 3 (could be randomly, could be with a specific distribution),
whats the best way to do that?
thank you :slight_smile:

hi,

again, answer in the question :slight_smile:

search internet for texture instancing and the texture instancing in the Geo COMP instance page

1 Like

@Gallo
yes, I know that part. Sorry I guess I didnt formulate the question well. I have already used instancing on Geo node, and I know that in second part of instancing there is the Texture area, and you can put something like “Tex*” and it will take all nodes whose name begins with Tex;

but what options exist to control how the different textures are taken, in what order, how many of each, etc thats what I was wondering about,
thank you :slight_smile: