3D Texture Stretch

Hi there,
I have trouble with streching a texture around a 3D Object.
But its a bit complicater than that, so I´ll do my best to explain it as simple and accurate as I can.
I created 2 pathbased 3D Objects via Repousé and merged them together into one.
Its basicly a ramp.
Getting back in die Repouse Dialog Box is no Problem and what ever Mesh I chose I can manipulate the it.
BUT here is the Problem there is a dropdown Menu called "Texture" with 3 Options: "Scale,Repeat,Fill".
It doesnt matter which one I choose, cause the front face of my Mesh is not updating.
Only the sides and the back are switching.
Here are a few screenshots.
Its all about the front face! I clicked Repousé!
I switched the texture Methode.
It changes but it didn´t effect the front.
Maybe the screenshots are bad looking because of the compression but I hope the show the problem I am faced with. Ma
System: Mac OSx 10.5
Photoshop CS5 12.0.1
Thank you!

Hi there Steve,
thanks for you reply.
The texure options in that pull down will only change the extrusion material; you are seeing designed behavior.
Thats nice to know and will help me in future projects.
You can either change the UV properties of the front face diffuse map
I am using a german version and I am not quite sure what the UV property is.
Ofcourse the diffusmap is the basic texture but what is the UV
So, I made up a test document with 2 3D objects merged into 1.
I created both of them in via paths that are available in the paths pallete.
My next step was to give the a texture, the so called tower has a texture of numbers.
And the other part of the ramp has a white circle applied to it
Now its my desire to make all numbers visible on the front of the tower.
And it would be nice if the circle is on the middle of the ramp without being stretched.
Seems to me like this has to do something with demensions of the texture.
But I couldn´t figure out the right way to make it work.
My test document is available at: http://www.communicators.ag/000/ramp3D.psd
Thanks!

Similar Messages

  • This is my experience with MSI, and their NVIDIA GTX 570 reference card.

    Hello my name is James king.
    and This is my experience with MSI, and their NVIDIA GTX 570  reference card.
    (5/27/12) Day one. I update my driver from Beta 301.24 To WHQL 301.42. and as you would expect, it worked. so i restart and go play kerbal space program (if you haven't played this go, play it now i love it) 5 minutes later it starts artifacting, eg. textures stretching, random green spots. "ugh" so i start troubleshooting, reinstall revert and so on. later i give up and go play  Portal 2, i load the game opening screen i see lots (100-250) of little flickering green dots. first instincts says its the cable, test nope. then maybe the screen, test nope. i keep testing  throughout the night, to no avail.
    (5/28/12) so to the internet, for help. 3 hours later nothing, but people with bad cards.                 at opening i call NVIDIA Tech Support, they say to call MSI so i do. 3 calls no pick up, 4th call      and i get a "Support technician" who is no help, says to fill out a RMA form online.                    and so i do more troubleshooting for the rest of the day. and i give up, and go to bed.
    (5/29/12)  i fill out a RMA form, end of day i get an email from MSI that says; "Dear Valued Customer [email] your RMA is pending approval, and you will get an email within 1 weak with shipping information.
    (6/1/12) shipping information, instructions, but no shipping label. 
    (6/4/12) i ship the card, via UPS 
    (6/12/12) after using the most round about route eg. it got to MSI.
    United States                           06/04/2012         6:40 P.M.        Order Processed: Ready for UPS                       
    [my city], MS, United States       06/04/2012         9:10 P.M.        Departure Scan                               
    Jackson, MS, United States         06/05/2012         12:15 A.M.        Arrival Scan                           
    Maumee, OH, United States         06/07/2012         3:40 A.M.        Departure Scan             
    Hodgkins, IN, United States         06/07/2012         7:00 A.M.        Departure Scan             
    Hodgkins, IL, United States         06/07/2012         2:42 P.M.        Departure Scan                 
    Vernon, CA, United States         06/11/2012         10:30 P.M.        Departure Scan               
    Baldwin Park, CA, United States         06/11/2012         11:05 P.M.        Arrival Scan                             
    Baldwin Park, CA, United States         06/12/2012         9:42 A.M.        Delivered
    (6/13/12) email from MSI, says they got it.
    (6/14/12) email from MSI, says it is in procesing.
    (6/20/12) email from MSI, saying they shipped it and that [this] is the tracking number.
    (6/26/12) end of day. i receive the card, and see the case is badly scratched. i install it in my pc and hey it worked (for now). watch some YouTube, and go to play skyrim. start up load my save and i make one step, and my pc hard freezes. "sigh" half an hour later, i give up and go play minecraft 10 minutes in, and it hard freezes. so now more troubleshooting,5 hours later no luck.
    (6/27/12) i have called MSI Tech Support 2 times, when they picked up the phone they say to call customer service. 7 calls later no pickup. 
    and that is it MSI have sent my on the run around too long.

     So are you asking us for help with your PC issues or simply complaining to us about your RMA which we on this forum have nothing to do with. We are MSI product users here the same as you and we are helping each other out with problems on their PCs with their MSI parts. If you need what help we can offer assisting you with a problem then start a new topic and we'll do the best we can to help you.

  • Another 7900GT artifact thread

    I bought the NX7900GT-VT2D256E-HD last August and was extremely pleased with it. 
    In the last month, however, I've started to have severe artifacts with textures stretching from horizon to horizon.
    I checked temperatures and the GPU was running at 70-75 under load with the fans running at 100%.  I installed an 80MM fan above the video card which reduced the temperatures to ~60-65 under load, but the artifacts remained.
    As suggested in the other thread, I downloaded ATI Tool and ran it.  I discovered some extremely odd behavior.
    Sometimes it would show no problems at all.
    Othertimes, it would show no pixel errors, but the text characters were horribly warped (were white lines connecting the letters to the top left corner of the screen)
    Sometimes the text characters were fine, but I had dozens of yellow pixels flashing on the screen even if no errors were reported.
    Othertimes it would show 'delta of #### in ## pixels (140 avg). No errors for ### sec.
    Other times it would do all above at the same time resulting in this:
    http://members.cox.net/dcasey1/Artifacts.JPG   
    I think it is safe to say we have a problem!
    Is there anything else I can try to do or should I start the RMA process?
    My system specs are:
    Asus P5B Deluxe WiFi
    Antec Truepower 550W
    DuoCore [email protected]
    MSI NX7900GT-VT2D256E-HD at Stock 500/765
    2G Corsair PC6400 RAM in dual channel
    2 250G Seagate SATA drives

    Quote from: BOSSKILLER on 15-July-07, 13:47:16
    "My CPU is overclocked (E6400 running at 3.2G 8X400FSB), but I've always run the video card at stock 500/765."
    remove any OC & re-test. too high system memory freq or too tight mem.timings can cause graphics corruption & glitches too.
    "I'm not sure what you mean by 'no core center in background'"
    MSI Dual Core Center application, make sure its not running.
    I'd never heard of the Dual Core Center application until now, so I'm not running that.
    I removed the CPU overclock (now at 2.13) and let the memory default to 533 instead of 800 (even though the memory is PC6400 and specced for 800) and retested and have the same results.
    After 4 minutes it shows 'Delta of ~44000 in ~335 pixels (~130 avg)
    I didn't change the memory timings, but I will check them.  From what I recall they are set to the default 4-4-4-12 that the chips are specced for.

  • MSI GTX 580 Twin Frozr 2/OC Problems

    Hey guys, I just build my second new(er) computer (specs below, system 2), with this MSI GTX 580 Twin Frozr 2/OC, and I am having several problems. The first problem I noticed was was in Starcraft 2, I was having major texture stretching (looked like units were stretched across the map, exc.), so I tried a new driver to no avail. I delt with that problem and played for several hours to find that the screen turned black, then recovered (happened several times), which I was able to continue playing after. I went ahead and tried Battlefield Bad Company 2, and noticed the same texture stretching, but with big black shapes (almost looked like large artifacts), so I checked the temps, 74c, so that was not the problem. I continued playing for about 5 minutes before the screen went black, turned white, and the game became unresponsive. Thinking it was a possible PSU problem, I moved the card to my first system (specs below, system 1), and produced the same results.
    Does anyone have any ideas, or is it time to RMA the card. Sad thing is, I am seeing alot of people having problems with this card, I hope MSI didn't do me wrong here.... :(
    P.s. I flashed the newest BIOS for the VGA and the MoBo.

    Quote from: doubleohseven on 12-September-11, 06:45:32
    Unfortunately it has, and the artifacting only seems to get worse as time goes on (if the card/game doesn't crash right away that is...). I guess RMA'ing is my only option at this point, thanks for your help.
    I'll chock it up to a defective card this time, but seeing all the problems with these similar cards from MSI is making me worried... I only hope MSI didn't do me dirty with this product.
    No worries, call msi at +1.626.271.1004 within regular business days and they will take care of it

  • Creating a texture for a rounded window

    Hi.
    I'm creating a simple gui on a game framework based on lwjgl and I have a problem.
    Almost every window has a solid black texture as a background. I came up with a idea to make corners rounded. At the beginning I created gif picture of a rounded square and used it as a background texture. But it wasn't a good idea, because the corners had different sizes depends on windows sizes (and how much texture was stretched). I've decided that I have to create a texture dynamically every time a window is created.
    public void makeBackground() {
            // the texture size must be multiply of 2
            int tWidth = 2;
            while (tWidth < getWidth()) {
                tWidth *= 2;
            int tHeight = 2;
            while (tHeight < getHeight()) {
                tHeight *= 2;
            Texture t = new Texture(getWidth(), getHeight()); // new texture is created with width and height same as the window size
            int px, py, ox, oy; // some variables
            final int pw = getWidth(),  ph = getHeight(),  hww = tWidth; // as above
            ByteBuffer bb = t.getData(); // blank texture is converted to a byte buffer
            Utils.startStoper(); // start timer (for a benchmark)
            try {
                for (int p = 0;; p++) {
                    px = p % hww; // get the X of the pixel
                    py = p / hww; // get the Y of the pixel
                    ox = ROUND_ANGLE - Math.min(px + 1, pw - px + 1); //  ox = <0, 32> if near corners
                    oy = ROUND_ANGLE - Math.min(py + 1, ph - py + 1); //  as above
                    bb.put((byte) 0); // r = 0
                    bb.put((byte) 0); // g = 0
                    bb.put((byte) 0); // b = 0
                    if (ox > 0 && oy > 0) {  // if near corners
                        double hypot = Math.hypot(ox, oy);
                        if (hypot > ROUND_ANGLE) { // if outside the corner
                            bb.put((byte) 0); // apha = 0
                        } else if (hypot > ROUND_ANGLE - 1) { // if on the corner edge
                            bb.put((byte) Math.round(
                                    (ROUND_ANGLE - hypot) * 200));
                        } else {
                            bb.put((byte) 200);  // if inside the corner (200 is a max value cause the whole window is a bit transparent)
                    } else {
                        bb.put((byte) 200); // inside the window
            } catch (BufferOverflowException ex) {
            Utils.stopStoper();  // stop timer
            t.setData(bb);   // set data for a texture
            super.setImage(t);  // set texture as a background
        }And here we have a problem. The whole method takes about 70ms for a window 200x200.
    I can do it in another way: create a pictures of a rounded corner and a black box. The box would be the window inside and the corner would loaded 4 times each time rotated. Only the box would be stretched then. But I would have to override all methods of a window (setX, setY, setXY, some more).
    Any ideas?
    Thanks.
    Edited by: tom_ex on 2009-02-17 16:58

    Hi Tom,
    I haven't used lwjgl, so hope the following helps:
    1- What does it matter if it takes 70ms. Your windows will be created once. At that point juste create the texture for that window and store it until you destroy the window. The penalty hit is 70ms but only at the initialization.
    2- You are drawing a pixel at a time for everything. Why don't you calculate the area of the corners and only draw the corners a pixel at a time. For the rest, draw some filled polygons.
    3- The java Graphics object has method fill methode that can take any Shape object. Why don't you use that?
    I would use a combination of 3 and 1.
    Hope that helps.
    Ekram
    Edited by: ekram_rashid on Feb 18, 2009 2:21 PM

  • Applying a texture to a triangle - and have the texture shrink/scale

    I'm hoping to find a way to apply a texture to an arbitrary triangle while having the texture scale to fit inside the triangle.
    Imagine taking an Image (the texture) and defining three points (a,b, and c). Then imagine creating Polygon where you define points d, e, and f. I'd like to paint the texture such that points a/d b/e and c/f align. To do this the texture would need to be scaled appropriately
    I've done this sort of task using OpenGL and I think doing it with the 3D libraries in Java would be possible. But for this application I need to do it in 2D
    any tips?
    thanks!
    -CG

    Hmm... I don't think there's anything in the standard API that can skew/stretch in a non-linear fashion, you may have to roll your own. Unless someone else already has, and you can get hold of the package.
    db

  • How to change Textures in Diagramms?

    cant believe it. i tried to change my diagramm texture into realistic wood-grain, but cant find out how to do it?!

    As far as I know, there is no way to specify a "texture" for a chart element in Keynote 3 (this seems like a bizarre oversight to me). That doesn't mean you can't do what you want, just that you can't replace the "texture". Instead, what you will need to do is click on the element of the chart you want to change, and in the Inspector, under the Graphic palette, go the Fill dropdown menu and select "Image Fill". Use this to fill the object with whatever pattern you like, and either Tile or Stretch it as appropriate.
    If you want to use the wood-grain images that Steve Jobs showed off in his presentation, they are in the Black theme that comes with Keynote. To get to these images requires a bit of a trick.
    The Keynote application is actually a "package" of multiple files all wrapped up to look like a single file, and some of those files are the default themes. What you need to do to get to those files is to hold down the Control key and click on the Keynote application -- this will bring up the contextual menu. Choose "Show Package Contents". This should open up a new window that shows you the internal structure of the Keynote package. You need to navigate through this contents to get to where the Themes are stored -- open the Contents folder, then the Resources folder, and in that you should find the Themes folder. In the Themes folder are all the default themes that come with Keynote 3.
    The wood-grain images come with the Black theme. Now, themes are also packages and not single files, so you again need to hold down the Control key and click on one of the Black themes. This will open a new window that will show a number of files, and included there will be various files whose names start with "wood_finegrain". These are the files you want. (Note that the higher resolution themes have higher resolution versions of these images.) You can copy these images to another place on your computer where you can easily access them, and use the Image Fill as outlined above to change chart objects. Be sure that you copy the images from the theme package, and don't just move them, as that will remove them from the theme, and the theme won't work properly.
    PowerMac G5   Mac OS X (10.4.4)  

  • New With a Textures Problem

    I've just started teaching myself Java after many years of dabbling with other languages. I've jumped right into Java3D. Needless to say, I've got problems.
    I'm trying to apply a texture to a sphere, and move that texture across the sphere. Clouds across a planet surface. I used setTextureTransform to rotate the texture relative to the surface. My problem is that the result looks like the texture is fixed at one edge and stretching itself in the direction I tell it to rotate, until it reverses itself, looking normal but applied the wrong way around, and then stretches back the other way until it returns to its original position. It does that no matter which axis I rotate, always stretching around the relevant axis.
    What simple little thing that I would have learned immediately in a formal educational environment am I missing?
    I hope it's not uncouth to post code here, and I apologize for how messy my style is. The TextureTransform is last paragraph from the bottom. objTrans, ap, basically everything that doesn't have a "2" on the end is the relevant stuff.
    I hope this is the right forum.
    package learntextures;
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    //import java.awt.image.*;
    //import java.awt.event.WindowAdapter;
    //import com.sun.j3d.utils.applet.MainFrame;
    import com.sun.j3d.utils.universe.*;
    import com.sun.j3d.utils.image.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import com.sun.j3d.utils.geometry.*;
    import javax.swing.Timer;
    import com.sun.j3d.utils.applet.MainFrame;
    * @author David
    public class Main {
    * @param args the command line arguments
    public static void main(String[] args) {
    // TODO code application logic here
    System.out.println("Program Started");
    Planet bb = new Planet();
    bb.addKeyListener(bb);
    MainFrame mf = new MainFrame(bb, 512, 512);
    public class Planet extends Applet implements ActionListener, KeyListener {
    private Button go = new Button("Go");
    private TransformGroup objTrans;
    private Transform3D trans = new Transform3D();
    private TransformGroup objTrans2;
    private Transform3D trans2 = new Transform3D();
    private Transform3D texRot = new Transform3D();
    private TextureAttributes ap3Attr = new TextureAttributes();
    private float height=0.0f;
    private float sign = 1.0f; // going up or down
    private Timer timer;
    private float xloc=0.0f;
    private double yrot=0.0;
    private double yrot2=0.0;
    Sphere sphere;
    Appearance ap3;
    public BranchGroup createSceneGraph() {
    // Create the root of the branch graph
    BranchGroup objRoot = new BranchGroup();
    objTrans = new TransformGroup();
    objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objRoot.addChild(objTrans);
    objTrans2 = new TransformGroup();
    objTrans2.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objRoot.addChild(objTrans2);
    TextureLoader loader = new TextureLoader("cldmap256alpha.png", "AGBR", new Container());
    Texture texture = loader.getTexture();
    texture.setBoundaryModeS(Texture.WRAP);
    texture.setBoundaryModeT(Texture.WRAP);
    texture.setBoundaryColor( new Color4f( 0.0f, 1.0f, 0.0f, 0.0f ) );
    // Set up the texture attributes
    //could be REPLACE, BLEND or DECAL instead of MODULATE
    TextureAttributes texAttr = new TextureAttributes();
    texAttr.setTextureMode(TextureAttributes.MODULATE);//COMBINE_SRC_ALPHA
    TransparencyAttributes transAttr = new TransparencyAttributes();
    transAttr.setTransparencyMode(TransparencyAttributes.NICEST);
    Appearance ap = new Appearance();
    ap.setTexture(texture);
    ap.setTextureAttributes(texAttr);
    ap.setTransparencyAttributes(transAttr);
    ap.setCapability(Appearance.ALLOW_TEXTURE_WRITE);
    ap.setCapability(Appearance.ALLOW_TEXTURE_ATTRIBUTES_WRITE);
    texAttr.setCapability(TextureAttributes.ALLOW_TRANSFORM_WRITE);
    transAttr.setCapability(TextureAttributes.ALLOW_TRANSFORM_WRITE);
    ap3Attr.setCapability(TextureAttributes.ALLOW_TRANSFORM_WRITE);
    Material material = new Material();
    material.setAmbientColor(new Color3f(0.0f,0.0f,0.0f));
    ap.setMaterial(material);
    // Create a simple shape leaf node, add it to the scene graph.
    int primflags = Primitive.GENERATE_NORMALS +
    Primitive.GENERATE_TEXTURE_COORDS + Primitive.ENABLE_APPEARANCE_MODIFY;
    // sphere = new Box(1,1,1,primflags,ap);
    sphere = new Sphere(0.5f, primflags, ap);
    TextureLoader loader2 = new TextureLoader("EarthNoClouds.jpg", "GBR", new Container());
    Texture texture2 = loader2.getTexture();
    texture2.setBoundaryModeS(Texture.WRAP);
    texture2.setBoundaryModeT(Texture.WRAP);
    texture2.setBoundaryColor( new Color4f( 0.0f, 1.0f, 0.0f, 0.0f ) );
    // Set up the texture attributes
    //could be REPLACE, BLEND or DECAL instead of MODULATE
    TextureAttributes texAttr2 = new TextureAttributes();
    texAttr2.setTextureMode(TextureAttributes.MODULATE);
    // TransparencyAttributes transAttr2 = new TransparencyAttributes();
    // transAttr2.setTransparencyMode(TransparencyAttributes.BLENDED);
    Appearance ap2 = new Appearance();
    ap2.setTexture(texture2);
    ap2.setTextureAttributes(texAttr2);
    // ap2.setTransparencyAttributes(transAttr2);
    ap2.setCapability(Appearance.ALLOW_TEXTURE_WRITE);
    Material material2 = new Material();
    material.setAmbientColor(new Color3f(0.0f,0.0f,0.0f));
    ap2.setMaterial(material2);
    // Create a simple shape leaf node, add it to the scene graph.
    int primflags2 = Primitive.GENERATE_NORMALS +
    Primitive.GENERATE_TEXTURE_COORDS + Primitive.ENABLE_APPEARANCE_MODIFY;
    // Box sphere2 = new Box(1,1,1,primflags,ap);
    Sphere sphere2 = new Sphere(0.49f,primflags2,ap2);
    objTrans = new TransformGroup();
    objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    Transform3D pos1 = new Transform3D();
    pos1.setTranslation(new Vector3f(0.0f,0.0f,0.0f));
    objTrans.setTransform(pos1);
    objTrans.addChild(sphere);
    objRoot.addChild(objTrans);
    objTrans2 = new TransformGroup();
    objTrans2.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    Transform3D pos2 = new Transform3D();
    pos2.setTranslation(new Vector3f(0.0f,0.0f,0.0f));
    objTrans2.setTransform(pos2);
    objTrans2.addChild(sphere2);
    objRoot.addChild(objTrans2);
    BoundingSphere bounds =
    new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
    Color3f light1Color = new Color3f(20.0f, 20.0f, 20.0f);
    Vector3f light1Direction = new Vector3f(4.0f, -7.0f, 0.0f);
    // Vector3f light1Direction = new Vector3f(4.0f, -7.0f, 0.0f);
    DirectionalLight light1 = new DirectionalLight(light1Color, light1Direction);
    light1.setInfluencingBounds(bounds);
    objRoot.addChild(light1);
    // Set up the ambient light
    Color3f ambientColor = new Color3f(1.0f, 1.0f, 1.0f);
    // Color3f ambientColor = new Color3f(0.1f, 0.1f, 0.1f);
    AmbientLight ambientLightNode = new AmbientLight(ambientColor);
    ambientLightNode.setInfluencingBounds(bounds);
    objRoot.addChild(ambientLightNode);
    return objRoot;
    public Planet() {
    setLayout(new BorderLayout());
    GraphicsConfiguration config =
    SimpleUniverse.getPreferredConfiguration();
    Canvas3D c = new Canvas3D(config);
    add("Center", c);
    c.addKeyListener(this);
    timer = new Timer(100,this);
    //timer.start();
    Panel p =new Panel();
    p.add(go);
    add("North",p);
    go.addActionListener(this);
    go.addKeyListener(this);
    // Create a simple scene and attach it to the virtual universe
    BranchGroup scene = createSceneGraph();
    SimpleUniverse u = new SimpleUniverse(c);
    u.getViewingPlatform().setNominalViewingTransform();
    u.addBranchGraph(scene);
    public void keyPressed(KeyEvent e) {
    //Invoked when a key has been pressed.
    if (e.getKeyChar()=='s') {xloc = xloc + .1f;}
    if (e.getKeyChar()=='a') {xloc = xloc - .1f;}
    public void keyReleased(KeyEvent e){
    // Invoked when a key has been released.
    public void keyTyped(KeyEvent e){
    //Invoked when a key has been typed.
    public void actionPerformed(ActionEvent e ) {
    // start timer when button is pressed
    if (e.getSource()==go){
    if (!timer.isRunning()) {
    timer.start();
    else {
    // height += .1 * sign;
    // if (Math.abs(height *2) >= 1 ) sign = -1.0f * sign;
    if (height<-0.4f) {
    trans.setScale(new Vector3d(1.0, .8, 1.0));
    else {
    trans.setScale(new Vector3d(1.0, 1.0, 1.0));
    trans.setTranslation(new Vector3f(xloc,height,0.0f));
    yrot=yrot+0.02;
    if(yrot>6.283) yrot-=6.283;
    Matrix3d temp=new Matrix3d();
    temp.rotY(yrot);
    ap3=sphere.getAppearance();
    ap3Attr=ap3.getTextureAttributes();
    // ap3Attr.setCapability(TextureAttributes.ALLOW_TRANSFORM_WRITE);
    texRot.setRotation(temp);
    // ap3Attr.setTextureTransform(texRot);
    // sphere.setAppearance(ap3);
    // objTrans.getChild(0).setAppearance();
    // trans.setRotation(temp);
    // objTrans.setTransform(trans);
    trans2.setTranslation(new Vector3f(xloc,height,0.0f));
    yrot2=yrot2+0.02;
    if(yrot2>6.283) yrot2-=6.283;
    Matrix3d temp2=new Matrix3d();
    temp2.rotY(yrot2);
    trans.setRotation(temp2);
    objTrans.setTransform(trans);
    trans2.setRotation(temp2);
    objTrans2.setTransform(trans2);
    }

    Yeah, I was afraid I was making etiquette mistakes. Sorry about that.
    Let me see if I can simplify this. Imagine a rectangle (face of a Box) with a texture mapped onto it. I want to shift that texture along the X axis. I use the method setTextureTransform, feeding it the translation vector I want, which increases a fixed amount per frame. What I would expect to happen is that the texture slides to the right until it disappears completely. What actually happens is that the texture remains fixed at the left edge and stretches out in the positive X direction.
    The above description is for clarity's sake. My actual problem involves a 3D sphere and the expectation that the texture would wrap around fill in the part of the surface left blank by the moving left edge of the texture.
    I've obviously not set something that I should have, but since I'm learning the language by reading the SDK, I don't know enough yet to know where to look for the mistake. Probably somewhere in the texture coordinate assignment or the relationship of texture to object.
    That's as clear as I can make it without showing you the program running, and I don't know how to do that yet.

  • 3d texture distorted

    Hi,
    I'm adding some textures to 3D text and have run into what seems like a program glitch, but the glitch could certainly be me as well :-) .....This is what happens:  I click on the front inflation material and then click on the folder next to diffuse and choose New Texture. I made the new document the exact same dimensions as the original document. Then I went back and clicked on Edit Texture. When the file opens, the text is sometimes very distorted. This does not happen every time and I am yet to find what is causing this. By distorted, I mean stretched, sometimes far out of proportion. So when the texture is placed, it is shrunk to fit and the texture material is very distorted. In Edit UV Properties, the numbers are usually way off, even though I didn't touch any of them. If I return the UV properties back to what I believe is the default, but not sure (100/100 - 1/1 - 0/0), the texture is still very distorted. I've also tried making sure the UV properties are at the default prior to placing the material, but that didn't help either. The only way I have been able to remedy this is to redo the entire text layer from scratch. I think this could have something to do with me resizing the vertical and horizontal scale of the text instead of just choosing the font, but I have not been able to replicate this at all, at least not yet. Below I attached pics, one of how the text should look, and one of what sometimes happens. The pics have different texture material files placed, but otherwise they are the same. Any help is much appreciated. Thanks!
    This what the text "payback" should look like.
    This is when it gets distorted.

    John I do not do 3D work however just for you I thought I give it a try. I have played with Photoshop Preset 3d meshes in the past but never tried any text.  I did not have any waters drops patterns so I googled and download a large jpeg and defined a Water drops pattern.
    Next I create a large Text layer converted the text layer to a shape layer.  Played about with the shape that added a stroke and the water drop pattern fill.  I them extruded the text shape and played a bit with scaling  positioning and rotation.  I filled the background with 50% gray and added an overall brightness and contrast adjustment layer. I have no problem with  to much distortion. There is some blurring during scaling.
    I can also add a texture to the background and not effect the text texture

  • Tiling a texture

    I presume that the GeometryArray method setTextureCoordinates simply stretches an image to the coordinates given.
    How would I tile an image?
    TIA

    yep.. also check boundaryModeS and boundaryModeT the default is WRAP (which is what you want :-) ) other value is CLAMP, which would put a border outside the base image
    API says that texture coordinated out side the range 0..1 the integer part is ignored, cant belive this meself like it would look daft is you try to have a few repeats across 1 poly and coords (1 dimension) of 0.0, 0.5, 1.0, 1.2 would, in the 3rd section have the texture squashed in and reversed!!, like i say, cant belive this, but im sure gonna find out the hard way sooner or later

  • Loops not stretching to match tempo

    I moved my loops to an external drive and then remapped them but now when I drag one into my arrange window it will not match the tempo. I also can't stretch it manually. I'm sure I did this before and I'm having trouble finding information about it both in the manual and online. How do I do this?

    aha, thanks! I notice though that it does not always snap to the grid even though the time does change. Is there a way to do this manually?

  • I am attempting to plug my mac into my tv. I am using the mini dvi to s video adapter. When I plug it in, the display goes all wonky and becomes stretched and enlarged.

    When I attempt to connect my mac to the monitor using a mini dvi to s video adapter the display becomes enlarged and stretched. I cannot seem to fix this using the system preferences or the quick keys that allow you to zoom in on the display. Any suggestions?

    I am using MAC OSx 10.5.8 (9L31a) as my operation system.  The TV says "No signal.  Check connected device's power, cable connection and source selection."  Seems to me that that goes in hand with what the Samsung tech said about the Mac needing to be forces to use the external display.  But how do I do that?

  • How do I stretch an image in Adobe Photoshop CS?

    I downloaded a set of picture frames and I want to stretch one to fit
    a picture of my dog. How do I stretch it....I don't mean image-
    >size, but getting "handles" on the selection
    and manipulating it. Thanks in advance.

    CTRL-A
    CTRL-T
    Stretch handles
    Hit ENTER.
    I'm sorry for your loss.

  • Why is the "Free texture" not available to Photoshop Photography Plan subscribers?

    I have subscribed to the Adobe CC Photography Plan since August 2013.  Today I received an email from Adobe with the subject line "New Benefits Added to your Creative Cloud Photography Plan."  The email linked to a web page.  On that page, I clicked the link "Enter the Magical World of Trey Ratcliff."  On that page, there was a link "Free Adobe Photoshop CC texture" (http://inspire.adobe.com/2014/11/7/free_adobe_photoshop_cc_texture.html).  I decided to try the texture - Metal Texture 08 by Niklas K. Andersen.
    Using the Creative Cloud Desktop app on Windows, I found my way to the Market.  For you information, this was my first time using the Market feature.  When I attempted to add it to "My Library," I got the message
    "Market Assets are a Premium feature only available to 'CC Complete' and 'Single App' members"
    Two questions:
    as a subscriber to the CC Photography Plan, am I not a 'Single App' member?
    If the answer to (1) is no, then why doesn't Adobe make it clear that the "Free Texture" is only for premium subscribers?

    John T Smith
    @Jeffrey Tranberry
    Thanks for you answers (and for the link).

  • App store in iphone looks stretched

    i have an iphone 4 and ipad 3rd gen.
    Sometimes when i use the app store.
    The app store in iphone looks like an ipad version ( stretched like ipads) . Bigger icons and need to pan to see the apps.
    The app store in iPad looks like a iphone version . smaller icons and it shriked to the left hand side of my ipad.
    Anybody is having this issue. any reasons for this. how to resolve this.

    Try to reset the password at this page:  iforgot.apple.com?
    If this does not work, because you have no recovery email address or don't remember your security questions, useone of the options described here in this link:
           Apple ID: All about Apple ID security questions
    If that is impossible for some reason, you need to give Apple Support a call - only they will be able to help you. See this webpage on how to contact Apple Support in your country: There are either telephone umbers given or an email form:
         Apple ID: Contacting Apple for help with Apple ID account security
    Explain, that you need help with an account security problem.
    You can also try to email the iTunes Support using this form:https://ssl.apple.com/emea/support/itunes/contact.html

Maybe you are looking for

  • Fetch From UWL to WD view :UWL Exception Logged in users context or session

    Hi, We have a requirement in which , we need to fetch all UWL Items and need to display these in a webdynpro view. We tried based on this link [Custom UWL|http://searchsap.techtarget.com/tip/0,289483,sid21_gci1240907,00.html]. Coding What I have Trie

  • Multiple user id per user

    HI guys we are implementing concurrent employement solution of SAP. Under that solution in certain circumstance user will be having multiple sap id. My question is ... Is CC 5.2 capable of reporting SOD conflicts taking into a/c all the sap id of use

  • Oracle E-Business PORTLETS Exposed on Liferay PORTAL

    Dear Gurus, I have a liferay portal 5.2.1 and i'm trying to expose Oracle EBS PORTLETS on it now i'm facing the following problem "The Service Is Not Available Temporarly" Inside Liferay and that error is displayed after exposing the PORTLETS on the

  • Who's logged-in?

    How can I see/check who is logged-in? We are evaluating Final Cut Server and only have a 10-client license currently. How can I check who is connected if say 10 users are using the client? Is there a Leopard Server tool so I can see who is on the net

  • Want to hide a folder using Java

    I want to hide a folder using Java. Can anyone give me API to do this. I have checked the I/O package in that only isHidden() is there which shows if the file is hidden or not. But i want to hide a folder using Java code. Can you please help me. Than