How to apply image texture to imported shape

This is regarding applying am image texture to an object.
I am able to apply an image texture to a Sphere.
Sphere mySphere = new Sphere(1.0f, Sphere.GENERATE_NORMALS | Sphere.GENERATE_TEXTURE_COORDS, 10,appear);
objRoot.addChild(mySphere);
But when i import a model from a file(.obj), and apply the texture to the imported objects,
the image is not displayed as texture but a color similar to the image is displayed.
How to apply image texture to imported objects?

Mylenium, thanks for your response but unfortunately I'm still missing something here. I have two problems:
1. I don't understand how to size the logo to only cover a small portion of the golf ball. Because of the other problem I'll describe in 2) below, I simplified my test by trying this on a basic PS sphere. I loaded the logo image into the diffuse texture but it wraps the sphere. I tried editing the texture thinking I could fix it by using Transform scale, but that is greyed out. So, how do I cause the logo to apply to a small portion of the surface (as a traditional golf ball logo would appear)?
2. Perhaps the bigger issue here is when I attempt to do this with the golf ball 3ds model instead of the PS sphere, the wrapped logo appears to be sitting somewhere between the outer surface of the ball and the inner core. In other words, the wrapped logo has a very sporadic appearance where it shows up in some dimples but not others. It isn't just applying to the surface of the ball. Thinking this might have been a problem with the .3ds model I acquired an .obj golf ball from a different source but it exhibited exactly the same problem.
I'm experienced with PS and 3D in a couple of other programs, but new to 3D in PS. I appreciate your help with this.
Jerry

Similar Messages

  • How to apply image (logo) to imported 3ds object?

    I have a 3ds model of a golf ball I purchased. It imports properly into my Photoshop CC. I haven't been able to figure out how to apply an image (my logo) to the surface of the golf ball. Also, the golf ball has a dimpled surface so I will want the image to follow the contours of the ball, as if it would look if the logo were painted onto a real golf ball.
    EDIT: Also, I want to keep the golf ball as a 3d object so I can animate it in a scene.
    Thanks, Jerry

    Mylenium, thanks for your response but unfortunately I'm still missing something here. I have two problems:
    1. I don't understand how to size the logo to only cover a small portion of the golf ball. Because of the other problem I'll describe in 2) below, I simplified my test by trying this on a basic PS sphere. I loaded the logo image into the diffuse texture but it wraps the sphere. I tried editing the texture thinking I could fix it by using Transform scale, but that is greyed out. So, how do I cause the logo to apply to a small portion of the surface (as a traditional golf ball logo would appear)?
    2. Perhaps the bigger issue here is when I attempt to do this with the golf ball 3ds model instead of the PS sphere, the wrapped logo appears to be sitting somewhere between the outer surface of the ball and the inner core. In other words, the wrapped logo has a very sporadic appearance where it shows up in some dimples but not others. It isn't just applying to the surface of the ball. Thinking this might have been a problem with the .3ds model I acquired an .obj golf ball from a different source but it exhibited exactly the same problem.
    I'm experienced with PS and 3D in a couple of other programs, but new to 3D in PS. I appreciate your help with this.
    Jerry

  • How to apply image or footage to shape?

    How do I apply an image or footage to a shape layer. Also, is possible to apply a different image to the front and back of the shape? I am using AE CS4.

    How do I apply an image or footage to a shape layer.
    Teetime: By their very definition, shape layers are vector-based. They can't contain bitmap images like photos or video.
    If I understand correctly what you want to do, you can use the content of a shape layer as a track matte for any footage item. In that case, the shape layer would act as a mask for the footage.
    To do this, place the footage/photo/graphic directly below the shape layer in the timeline, and then press the Switches/Modes button at the bottom of the timeline panel. In the TrkMat menu for this item (right next to the blend modes), choose "Alpha" so that the footage is masked by the opacity values of the shape layer directly above.
    If this is not what you wanted to do, then let me know.
    For more information on masking layers with the contens from other layers, see Tracking mattes and traveling mattes in After Effects Help.
    Also, is possible to apply a different image to the front and back of the shape?
    I assume you mean a back side in 3D space, that shows when you rotate the layer or move a camera in the 3D scene?
    To do this, create a second layer to use as back side, nudge it back in 3D space a tiny bit so that it's behind the other layer (0.1 pixel will do!) and then set the first layer as a parent for the back side, so that any transformations you perform on the front side layer are automatically applied to the back side layer.

  • How to set image size for importing photos from a digital camera

    I'm using Iphoto 6 and am a novice user of my new digital camera. The camera is set to HQ image quality. Initially when I imported photos from the camera into IPhoto, the images were very large (over 1 meg) and produced good quality 4X6 prints. Now when I import photos from the same camera still set to HQ image quality, the photos are very small (less than 100 kb) after being imported into IPhoto. I think I must have changed some kind of setting in IPhoto that affects the size of an imported image, but I can't find where that is or how to change it back so that the size is not changed when imported. Can someone please help me with this? Thanks!
    IMAC G5   Mac OS X (10.3.9)   my other computer is a Dell Dimension L500CX running Windows XP Pro

    Dave, thanks for clarifying Toad's response for me - I was just too ignorant to connect the dots from his responses. As you said, there were 2 versions - 1 in the original folder and 1 in data; the original folder had the photos that were 1 mb. We must have pulled from that folder previously to print photos not realizing they existed in 2 places. So when we found these thumbnail photos, we just thought they were the real thing. Where can you go to learn about the struction and hierarchy of the photos in terms of what Iphoto does to an image when you import it? Is it in Iphoto help somewhere? Thanks so much for your help with this, and you too Toad for leading me down the path.
    If you're getting the size from Finder, I think Old
    Toad's question makes a lot of sense. Is the file
    you're looking at, somewhere in a folder called
    "Data" in iPhoto Library? That 56k sounds about the
    right size for a thumbnail.
    If you do a search for the image name, both the
    actual photo and the small thumbnail are stored with
    the same image, e.g. abc.jpg
    IMAC G5   Mac OS X (10.3.9)   my other computer is a Dell Dimension L500CX running Windows XP Pro

  • Applying a texture to 3d object

    Hi can anyone tell me how to apply a texture to a 3D object in photoshop CS3 extended? I can't figure it out?

    When you import a 3D object into Photoshop it has to be UV mapped meaning that there will be a JPEG referenced by the material file associated with the object. When you load the object, it is the JPEG which is actually a Texture layer. You can't access it with the 3D tools active but either before or after you apply the 3D adjustments you can double click on the specific texture layer which opens in a new window and then use any of the normal 2D painting/editing tools. When you save the changes to that file it will be applied to the model.
    Try opening a couple of the sample 3D models in the Goodies folder on the Photoshop install disk. Most do have JPEGs associated with them which means you will have an editable texture layer but one (at least) called Simple Robot I think has only a .mtl file which means you will see color and placement, perhaps a bump map, but there is no UV texture, just a procedural made inside the 3D app. Those aren't editable in Photoshop nor can you add a texture layer. A 3D model either has one which you can edit or it doesn't.

  • How to use images from ADFLib

    Hello OTN,
    My application is devided into several ADFLibs, one of them is CommonUI. It includes common skin and it is imported into every application part.
    There are some images which should be available in different parts, so I decided to put them in CommonUI.
    After deploying adflibCommonUI adn refreshing Resource Palette, somehow I expected to see this image there, but it isn't.
    Could someone, please, explain me, how to use images contained in imported ADFLib, for example, as imageLink icon?
    Thanks.
    ADF 11.1.2.1

    Hi,
    images need to be saved in a specific file structure in the JAR file to be accessible. See:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/86-images-from-jar-427953.pdf
    Frank

  • How to put images on buttons?

    I am currently working a project and need to mount an image onto a button, so when the image is clicked on it makes the button event work?

    set icons? , do i have to have the image in the same
    folder as where the code is saved? I have not been
    able to find any code showing how to apply images
    onto buttons on a GUI.Did you atleast read reply 2 and 4?Have you ever read the JButton API?There's no necessity that the image has to be in the same folder.You use have to specify the absolute path of the image when you create an instance representing it.

  • Applying images as skins in chat applet

    Hi,
    I have developed chat applet. I have implemented skins in that applet. But as colors. So how to apply images as diff skins.
    It is urgent.
    Please be polite and answer

    Good evening, sir, or madam, as the case may be,
    To correctly implement this, you must first learn how to load image files into an applet. Might I be so bold as to recommend that one look at the javax.swing.ImageIcon class, as it is endowed with constructors which facilitate the loading of images via a URL.
    Following that, I would then encourage you to learn how to take said loaded image and draw it on component. For this, I would recommend subclassing some component (JPanel, or some other suitable component), and override the paintComponent() method. The java.awt.Graphics class is supremely suited to perform drawing operations of this sort, as well as many others.
    Once you have successfully completed these tasks, then you will find that you have an applet which one can decorated with wonderful imagery from all corners of the world.
    Yours most sincerely,
    bsampieri

  • How do I apply a texture to an imported .stl file in 3D Picture Control?

    Hi, I'm trying to apply a 2D image as a texture to an imported .stl file in 3D picture control. It works fine if I'm using a standard shaped mesh created in LabVIEW, however is there a way in which a texture can be applied to an imported model that isn't a standard shape, in my case a balloon. I've attached the an image of the Sub vi where I apply the texture. The object just shows up as a flat colour. Do I need to define how the image is applied to the mesh due to it being a non-standard shape? If so, any pointers would be appreciated.
    Many thanks.
    Oh, I'm using LabVIEW 2009 SP1.
    Attachments:
    stl texture problem.jpg ‏60 KB

    Apologies, been trying all afternoon and then a couple of minutes after posting, I figured it out. Using a property node for the Scenemesh reference, I set the property TextureGenMode to Spherical and it appears to now display the texture on the mesh.

  • How do i prevent lightroom from automatically applying a star rating to my images during my import?

    i have consistently imported images, apply my metadata preset, location(folder).
    i then scroll thru my filmstrip and apply star ratings.
    suddenly my images are appearing with a one star rating automatically.
    not sure why?

    The first place to check is your Metadata Preset you are applying on/just after import. Is it applying the stars?

  • Same shooting, multiple lenses, how to apply the appropriate lens correction when importing ?

    Hello everyone,
    How do you handle this:
    For each camera, i have a default preset i'm choosing manualy and applying when importing my raw files into lightroom.
    I'd like to also add some default lens correction to those presets.
    The problem is that multiples lenses (meaning different corrections) may be applied.
    How to apply the correct lens correction for each file, in the batch import ?
    Thanks for your ideas ...
    Aymeric

    Update your existing develop presets so that the Lens Corrections are checked (see attached screen shot). Select the develop preset in Import dialog. Lr will automatically apply the appropriate default lens profile to each individual image during import.

  • I cannot move photos from iphone to MacBook.  I get an error message that says: Error downloading image. iPhoto cannot import your images because there was a problem downloading an image. How can I fix/remedy this?

    I am receiving an error message every time I plug my iPhone 4S into my MacBook: Error downloading image. iPhoto cannot import your images because there was problem downloading an image.  How can I fix/remedy this?

    try Image Capture - in your applications folder
    LN

  • How does one crop an .ai image to a defined shape?

    How does one crop an .ai image to a defined shape?
    In other words, I want to select and crop from a larger image an area such as a rectangle that I define.
    Right now, I try to select and crop a rectangular portion of an image but every shape that is even partially within the rectangle is selected both within and without the rectangle.
    I am using CS2 on a Mac.

    Clifford,
    I've figured out part 1, how to crop an image using a rectangle on  another layer.
    Then I did:
    To really get rid of the outlying parts, with the Clipping Mask still 
    selected you may:
    5) Choose anything but Normal in the Transparency palette dropdown 
    and Object>Flatten Transparency (just keep the defaults).
    The result was "Filter cannot complete because of unknown error"  FSpt
    Is this a bug, or is their a problem with the way I am following your 
    method?
    It is hard to say.
    It is more convenient to place the rectangle mentioned in 1) on the same layer; if you place the path(s) to define the Clipping Mask, the Clipping Mask and its contents will be on that layer, everything from lower layers being moved to it.
    What about 2) - 4)?
    It is easier to answer if you state what happens in the individual steps (repeated here):
    1) Create a rectangle on top of the image with the same size (you may use the Transform palette/panel to see the size, and to place it by);
    2) Create the cutout shape;
    3) Select 1) and 2) and Object>Compound Path>Make;
    4) Also select the image, and Object>Clipping Mask>Make.
    To really get rid of the outlying parts, with the Clipping Mask still selected you may:
    5) Choose anything but Normal in the Transparency palette dropdown and Object>Flatten Transparency (just keep the defaults).

  • How to apply an image to the back face of another?

    I am only fairly new to motion but am, learning fast. I'm wondering if someone can tell me how to apply an image to the back face of another image?
    I'm trying to animate a brochure opening and want to apply the front cover as the back face to the page I'm opening to (each page is a separate .pdf file). I know this can be done easily rather than animating them as 2 separate objects, i just can't remember how to do it.

    Thanks Mark. That is how I will do it if there isn't a simpler way. I could have sworn i have seen the option to allocate an image as the back face to another image. So when it animates, you automatically see the other image on the reverse side?

  • How do I apply a texture to a text field's fill area?

    Hi all, first post and all that!
    I've seen that it's possible to format a specific bit of text in a text field with:
    setTextFormat(format:TextFormat, beginIndex:int = -1, endIndex:int = -1):void
    I need to format a section of text by applying a texture to the rectangular fill space around the letters. (Imagine in Microsoft Word that you've written a short sentence and you highlight it. Then you fill the text background with a colour. Then imagine that that colour is a single repeating texture. That's what I'm trying to achieve.) Note that the text field must be multiline, and I'm not looking to fill the whole rectangular text field area. The applied texture needs to fit to each character.
    Is this possible in Actionscript?
    Would I need to use some kind of HTML or CSS formatting?
    Is it possible at all?
    If it is possible, is it possible to change the size of the fill area around the text?
    Thanks all!

    Actually, that's pretty much what I'm looking for. For anyone else reading this thread:
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=00001279.html
    That'll fill an area with a repeating texture. The tricky bit now is to work out a top left coordinate for each line of text, and the length of each line in pixels (based on the sum of the character widths). I'll have a poke around and see if there's a way to get that information back from a movie clip.

Maybe you are looking for

  • How to implement a go to next node button for an ADF Tree backed by ADF Bin

    Dear all, I have been trying for quite some time now, and I do not get it. For my ADF Tree component, I want to implement a series of little iconic buttons that my users can press to Expand and Collapse the current node - those I have got to work, so

  • Insert statement approaches

    Hello, I noted in a post recently that an insert statement was formed like the one below the advantage being that there was one commit statement, INSERT INTO TABLE SELECT COLUMNS FROM DUAL UNION ALL SELECT COLUMNS FROM DUAL So I have attempted to use

  • Mystery IP address that cant get it to go away

    hi. I am having issues using some applications bcs of a mystery IP address that keeps showing up in my network preferences. its actually under my ethernet network but it is inactive yet it keeps assigning an IP address and therefore causing issues wi

  • Getting started on pdf converter to excel

    hi, sorry - simple question i cannot seem to find how to reach the point where i convert my files from pdf to word/excel etc - even though i can log in, odd question i agree.

  • Mobileme upgrade to iCloud registering computer

    Just upgraded to iCloud from Mobileme but wont register computer so I cant sync. Just get a circle forever.