Tagged Questions
3
votes
1answer
95 views
Scaling and rotating texture onto another texture by raw buffer data
I've been messing with C++ AMP and OGRE in attempt to make writing to/altering textures to my liking easier on my behalf. In this I've been trying to draw a texture onto my "dynamic" texture with ...
0
votes
3answers
204 views
XNA SpriteBatch.Draw with rotation, scaling and origin?
I use a 1x1 pixel 2d texture as source for SpriteBatch.Draw. The texture is scaled and rotated around an origin. The left image is only scaling. The right one scaling + rotation around the origin at ...
1
vote
1answer
211 views
Detecting pixels in a rotated Texture2D in XNA?
I know things similar to this have been posted, but I'm still trying to find a good solution... I'm drawing Texture2D objects on the ground in my game, and for Mouse-Over or targeting methods, I'm ...
0
votes
0answers
545 views
Box2d : Sprite display not fit with body when rotated
I have recently achieved to render box2d Objects, and texture with sprites at where the box2d objects exists. But now I am facing another problem.
When I rotate the Box2D object, the sprite gets ...
2
votes
1answer
689 views
How can I create my mesh so that textures applied to it are NOT rotated 90 degrees in Unity 3D?
I'm trying a really simple test in Unity 3D. I want to render a texture on the simplest plane possible.
So, I've created a two-triangle plane in Blender, then imported it into Unity. From there, I ...
1
vote
1answer
1k views
XNA - Use Mouse To Rotate & Arrow Keys To Scroll A Linearly Wrapped Texture:
Using XNA I'm working on my first, relatively simple, videogame for the PC.
At the moment my game window is 1024 X 768 and I have a 'Starfield' linearly wrapped background texture 1280 X 1280 in ...