How can I have users change textures in acrobat 3d and Reader question tia sal2

I'm trying to have users in Acrobat reader change textures of a box which I made in acrobat 3d
how can I do this?
Example
I made three textures for a box and I would like the user to have the ability to change the textures if they choose. How can I do this? Any examples?
Can I have a user select the textures or the layers from a photoshop file in Acrobat 3d?
Tia sal2

Yo ratboy,
You can do this. In order to map the images, they must be attached as a 3D resource. (There is a free plugin for this; search the forum for "Attach3DResource.api"). Once the images are attached, you can use the 3D Javascript API to map them to the meshes you desire.
For one doc, I attached 25 images in this manner. I then used the script below to create a bunch of empty meshes, and then apply the images to said meshes.
Hope this helps!
//3D javascript ========================================
//create 25 procedural meshes ======
var leftEdge = -180;
var horizontalOffset = leftEdge;
var verticalOffset = 0;
var myMesh = new Array();
var myVector = new Array();
for ( i=0; i<25; i++ ) { myMesh[i] = scene.createSquareMesh(64, 48, "myMesh" + i); myVector[i] = new Vector3( horizontalOffset, verticalOffset, 0 ); myMesh[i].transform.translateInPlace(myVector[i]); horizontalOffset += 74; if ( horizontalOffset > 180 )
horizontalOffset = leftEdge;
verticalOffset += 58;
//create image array and resource objs ============
var myImageResources = new Array();
var myImageFiles = new Array("8d91.jpg",
"ad2e.jpg",
"barnpond.jpg",
"Beach01.jpg",
"Beach04.jpg",
"Beach05.jpg",
"Beach06.jpg",
"Beach13.jpg",
"bike trailer.jpg",
"cobra.jpg",
"cr80xr200.jpg",
"craigs_place.jpg",
"Dandrea.jpg",
"dirtbike.jpg",
"e027.jpg",
"f5b5.jpg",
"f613.jpg",
"halfdome.jpg",
"Iceberg.jpg",
"island.jpg",
"kx100_gb.jpg",
"maui_horanhero.jpg",
"norcal_ocean.jpg",
"sierraLake.jpg",
"Smokey Light.jpg",
"test.txt");
//create resource objs
for ( i=0; i<25; i++ ) { myImageResources[i] = new Resource("pdf://" + myImageFiles[i]); }
//load images on meshes with handler ============
var myImageObjs = new Array();
var myImageMats = new Array();
myRenderer = new RenderEventHandler();
myRenderer.onEvent = function(renderEvent)
for ( i=0; i<25; i++ ) { //create image from resource myImageObjs[i] = new Image(myImageResources[i]); console.println("Image = " + i);
//add image to model
myImageMats[i] = myMesh[i].material;
myImageMats[i].diffuseTexture.setImage(myImageObjs[i]);
//remove handler
runtime.removeEventHandler(myRenderer);
runtime.addEventHandler(myRenderer);
//cause a recalculation of the scenegraph.
scene.update();
console.println("Call scene.update()");
console.println("Created 25 Square meshes: (64, 48, 'myMeshN')");

Similar Messages

  • How can I have the pricing conditions at the item and header level of the d

    How can I have the pricing conditions at the item and header level of the delivery? There exist "condition" tabs both the header and the item level of the delivery but the contents of the tabs are empty. I'll be happy if you can help me. Thanks in advance....

    Hi
    If you want to have the pricing procedure at delivery level then you need to assign a pricing procedure at delivery level also
    Just go through the path to maintain the pricing procedure at delivery level.
    IMG -> Logistics execution -> Shipping -> Basic Shipping Functions -> Pricing -> Pricing Procedure. for Delivery.
    But can you be more clear if the above one is not your query ?
    Regards
    Srinath

  • How can I have user specific filters for information display on portlet?

    Hello Everyone !!!!!
    I am new to the Portlet World
    My query is..
    How can I have filters on a portlet screen ?
    I want to display certain information on a portlet which must be filtered and ordered.
    Example:
    In Internet Banking , I want to display transfers which had happened in the last month. So I ( as a user ) will keep this predefined somewhere may be in portletData.
    Whenever that user logs in for the next time, he will be able to view account transfers taken place in the lastest month only.
    This must be user specific. As another user can keep the setting in a different way. That is he/she might want to view account transfers for the last week only.
    When user clicks on a button a new screen( filter screen ) is loaded where he need to enter the dates of From and To .....
    The user saves this.....( may be in portletdata)
    So that when he logs in .. next time screen loads with the defined settings in filter....
    Any idea ? How can this be achieived ?
    Thanks in advance.... :-)
    Wating for a reply
    Message was edited by:
    dev2007

    Hey !!!
    Can anybody give me some idea regarding this ?

  • How can I have an object toggle between fade out and fade in with button?

    Hello all,
    I have a problem and I was hoping someone out there could help me out with it.
    I have smart shape that is set to show for "rest of project" on one of my early slides.  It is not visible in output in the properties, but when a user clicks a button in the project, it should fade in and then stay visible.  If the user clicks the same button again, it should fade out and stay hidden.  So rather than toggle between show and hide, which I know how to do, I want it to toggle between fade in and fade out.  I am having trouble with this.  Setting its transition to fade in and fade out in the properties of the smart shape doesn't help...
    Here is the advanced action I have attached to the button that should allow the user to toggle between fade in and fade out.  The "if" parts works -- the object fades in and then finally "shows" at 100% the "else" part almost works.  It fades out, disappears, but then shows again, which I obviously dont want it to do.  I want it to stay hidden.
    If you can help, it would be great!! 

    I Don't
    But as a work around you could try increasing the canvas size to match the illustrator file, paste in the object then crop off the excess canvas in photoshop

  • How can I fire a change event from a JComboBox and JTextField?

    Is it possible to fire a ChangeEvent from JComboBox?
    Is it possible to fire a ChangeEvent from JTextField?
    If so how can I do that? Thanks.

    You can use an ItemStateListener with the combobox
    As for the textfield, it depends when you want to catch events (every keystroke, or when the user hits enter) but either way, you can do this too. Check keylistener and actionlistener

  • How can i have 2 seperate phones on the cloud and not duplicate my contacts and stuff?

    I have 2 iphones on my account, when I set up icloud it merged both contact files, notes, apps and everything else.  the only way I have figured out how to keep it seperate is that I turned off the icloud sync on my wifes phone.  isn't there a way to have them both sync there own stuff?

    These articles may be helpful using one computer and multiple devices:
    http://support.apple.com/kb/HT1495
    http://support.apple.com/kb/HT1386
    Log into your shared computer with a different account and you can set up your own iTunes, calendar and contacts.

  • How can I have Facetime callers distinguish between my Ipad and my MacBook Pro?

    I'm wondering how does one set things up so that a Facetime caller can distinguish between calling me on my iPad versus calling me on my MacBook Pro? I have family calling me and it is popping up on the MacBook when, ideally, the call would come through to my Ipad when I'm traveling?

    Hello Mac_ThePI,
    In FaceTime's preferences, you can choose what Apple IDs and/or phone numbers you can be reached at. You might choose to make the phone number or certain Apple IDs the only checked option(s) on your iPad, and others on your Mac.
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Cheers,
    Allen

  • How can I have two Apple IDs (one from Canada and one from the UK) for the same device?

    I originally bought an iPhone in Canada and had my first Apple ID while there. I still want to have this account, as there are some Canadian apps that I wish to have and keep updating. However, I am now living in the UK - yet when I try to search for apps that all of my friends have I can't find them because they are particular to Britain. Do I need an new Apple ID for the UK, and is it possible to have both Apple IDs feeding into the same iTunes account?
    Thanks for any insight!

    If you want to move your iCloud account to another existing ID you'll have to delete the existing account, set up a new account with the other ID, then upload your data to the new account.  To do this, begin by going to Settings>iCloud and turn all synced data (contacts, calendars, etc.) to Off.  When prompted choose to keep the data on your phone.  After everything is turned off you can scroll to the bottom and tap Delete Account.  Then set up the new account with your other ID and turn syncing for calendars, contacts, etc. back to On.  When prompted, choose Merge.  This will upload your data to the new account.  Note: this will not migrate your photo stream photos.  You will need to save these prior to deleting the existing account.

  • How can I have exact same tag information in Windows and i-Tunes???

    When I check the "properties" of my mp3 files in Windows I don't see the same information as when I click "get info" in i-Tunes. I've tried "convert ID3 tags" in i-Tunes, but it all just gets very complicated... Please, please help!!!

    I have a similar issue using iTunes.
    I use both Media Monkey and Adio Tags Editor to tag my mp3s and all my music is tagged correctly, 'NAME' has the Track name and 'ARTIST' has the Artists name etc.
    When I import my music into iTunes the Track name info is all correct, however, The 'ARTIST' info comes up as 'Various' and this only happens for the compilations. Is this a known issue?, I am still using iTunes 6.0.0.8
    Again, in Winamp, MediaPlayer etc the tags are correct. Any help would be appreciated.
    Thanks in advance

  • HT4061 My iPad is lost. How can I have the serial number without the device and original packaging?

    no worries I found it. It's in the My Support File.

    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
     Cheers, Tom

  • How can I test a cFP-Vi included FP write- and read-Vi's without cFP-Hardware?

    Can I simulate the cFP-Hardware?
    Without Hardware the Vi will generate an error: "the network module is not powerd on" and the Vi will not be started.

    It is not currently possible to simulate FieldPoint ethernet hardware for use with the FieldPoint VI's.
    Regards,
    Aaron

  • How can LabView export Power point file page per page and read it by picture(jpeg type)?

    I want to get data from power point,read it page by page and show data as picture ( jpeg type)
    anyone know how to do,Please discuss in this topic.
    I'm really need your help so much.
    and if need active X,What is dll file for it ? and How to get dll file exam.vb6runtime , dotnetfix ?
    Thank you Sr.

    There is no tool for this already in the world? (getting the jpgs)
    my try would be:
    digg in the MS KBs about command line options of PP
    start PP with the (system) execute vi , full screen presentation (automatic show with known delay??)
    use the (system) send key vi to step through the presentation (if no auto mode is possible)
    use the screen shot function to cature the screen and search this forum on how to save it as a jpg (or png? )
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • How can I have my contacts on the cloud and my Mac hard drive?

    How can I have my contacts both on the cloud and my Mac hard drive?

    go to icloud.com

  • How can I have one row for each object?

    Post Author: farnaz
    CA Forum: WebIntelligence Reporting
    I have 3 objcts that one of them is ID and second one is internal code and the third one is quantity.There is more than one value for each ID (becouse of internal code).I want to create a report based on ID and quantity (not based on internal code).I make a break on ID but the result shows me more than one row for each ID.so how can i have just one row for each ID?
    another question:
    how can I post screen shot of the results to my messag in forum?

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    farnaz:
    Have you tried to omit "internal code" from your grid?  In normal circumstances, if you have "ID" and "Quantity" on the grid, then WebI will on its own summarize Quantity based on ID, however, this is provided that Quantity has been set up as a measure (or metric).  The quickest way to tell if Quantity is a metric or not is to observe the color of its icon when you look at it in the data panel.  If it is a purple (or sometimes appears as pink or fuscia) dot, then it's a measure, but if it is a blue box then it is a dimension.  If you need Quantity as a measure then this will have to be modified at the universe (make it look like "sum(Quantity)" in the select phase of the object, and insure the object is defined as a number....

  • How can all the users in my computer (my kids) have access to all the photos I have in I Photo?

    How can all the users in my computer (my kids) have access to all the photos I have in I Photo? My photos only appear when I (the administrator) log into the computer. I want my kids to be able to access them also.

    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

Maybe you are looking for