I kind of figured a lot of the explanations are somewhat vague. After pondering over it, I was able to clear it up a little in my mind.
I realize the Texture Buffer Window created is like having a empty Texture or Texture with no appearance. Well…the texture still needs a look or appearance or it won’t show up.
I also realized that the 2D cam created for the Texture Buffer Window will render what it looks at into the Texture Buffer, giving the rendered texture an appearance.
So what I did was load up a Model and re-parented that Model to the NodePath my 2D Texture Buffer Cam was viewing.
I was able to see some of the results on another Model I had receiving the rendered texture. That’s when I noticed, things are not setup right by default in the Texture Buffer. I mean the camera had to be moved back and up some in order to view the Model I was rendering into the Rendered Texture. I was then able to see the Model rendered to texture on the second Model I had receiving the rendered texture.
Made it that far.
So I’m guessing when I tried to place Text into the Texture Buffer Window, that text was somehow off screen and that’s why I was not able to see results.
So how do you center texture in the Texture Buffer Window, based on the size (width x height) of the Texture Buffer
Instead of using an Actor’s file, I tried a card object that was pre-textured with a desired texture. That worked well.
My main goal is to be able to update any in-game text externally and not have to dig through source code.
So I could really just make texture with the text already on it and if I need to change text later, just overwrite the old texture with a new one and “pop goes the weasel.”
Can someone answer this…?
I tried to use egg-opt to isolate a part of an actor so I could change that parts texture, but it seems egg-opt only works for models. My Actor got all F’ked up.
Is there a way to just simple isolate a particular texture on a multi-textured
Actor and swap out that texture for another one, alone?
If someone can show me how to do this, if it can be done, I would be tickled pink. I don’t know every Panda API call, so you can see my limitations
I was able to get Text Render to Texture working. Turns out it was a Text BG Alpha issue.
How I was able to form up my own logic in order to understand this whole Render To Texture thing and get it working for both text and texture was “Kewl!”