Assign a texture by clicking on a specific object

Hello there,
I have a certain number of objects in a live scene (cubes,
boxeq, cones...)
I would like to assign a texture on a object by cicking on it.
I assume that a mouse pick feature and the standart
texture assignment are needed.
But how to link to two actions ?
Any idea ?
Thanks
Spytox

In the picking process you get a <<shape>>:
shape = (Shape3D) pickResult.getNode(PickResult.SHAPE3D);
     pickshape=shape;
Then , when you got it :
pickshape.setAppearance(newappear);
Where newappear is an appearance node which points to your texture.
Go !!

Similar Messages

  • Clicking on Touch Tracks object won't re-open Touch Tracks window

    Hey Everyone,
    If I create a Touch Tracks object in the Environment, a new Touch Tracks window appears. If I close that window and then double-click on the newly created Touch Tracks object to re-open the Touch Tracks window (like the manual tells me to), the window will not re-open. I'm on day three of trying to figure this out. Double-clicking on all other objects in the "All Objects" layer of the Environment works (takes you to where the clicked object exists in a different layer or whatever is supposed to happen). But double-clicking on this specific object does nothing.
    Also, if double-clicking just won't work, does anyone know a different way to re-open the Touch Tracks window?
    Thanks!

    I have the same problem as well with an itouch that I purchased for my niece. The first one I bought, the apps never worked after I downloaded and some songs wouldn't play either. So last Monday I exchanged it and got a new one. The apps worked on this one along with the music until she unwrapped it Christmas morning (about 4 days). Now the app will flash up then quickly return to the home screen. I also received a touch for Christmas and put the apps on mine and so far am NOT having that problem, so I don't think it's a computer problem. I scheduled a support call with apple but it will be January 4th before they can get to me! If anyone can help, it would be greatly appreciated!

  • When I go click on a specific "Sent" message, all the lettering on the screen fades to an opaque, an hourglass icon appears, & nothing happens.

    When I open the window for all my "sent" messages and click on a specific message, nothning happens. Instead, the lettering on the list of "sent" messages fades to an opaque, and an hourglass iconn appears. When this happens, I can't even close out Thunderbird to start up again. Sometimes if I wait up to a minute or so, the message will appear. Usually, I control/alt/delete, and start all over again. This has only started happening in the past few weeks. During this same time, another problem has appeared. I use google and Youtube to watch a lot of old TV shows. Now, the Yahoo search appears, and the results include many items I don't wish to see. FYI, I use e-mail a lot, receiving and sending up to a dozen messages a day.

    re'' During this same time, another problem has appeared. I use google and Youtube to watch a lot of old TV shows. Now, the Yahoo search appears,''
    I presume you are refering to the Thunderbird search facility that allows you to 'Search google for', but now it says 'search Yahoo for'.
    When you enter something and select 'search Yahoo for' you will see a list of icons on the left side, currently the yahoo icon is selected and at the bottom the heart icon is also red.
    You can select any of those icons to change to another search engine.
    select the google icon, then at the bottom on the left, look for the heart icon, it will appear white with black outline. Click on the heart icon to change it to red. This will set google as default.
    Now close the search and retry, this time it should say 'Search google for'.

  • Assigning Magic Move to Specific Objects

    I'm creating a presentation where multiple, identical items need to be placed at different positions on screen. The first object moves from the center of the screen to it's place, but for subsequent slides, instead of moving the newly-placed center item, it moves the first item to the second position. How do I assign specific objects to use during magic move transitions?

    Thanks for your reply. I'm finding that doing things slowly, and methodically produces the best results, but there are a few actions that I'm unable to pinpoint the cause. I've uploaded part of the file here: http://bit.ly/1aMWQz
    Slides 7, 8 & 9: The bottom row of coins rearranges between transitions.
    Slide 9 & 10: The caption "6 Ways" uses the anagram transition which is intended only for the title.
    Slides 11 & 12: The captions "6 Ways" and "15 Ways" disappear briefly. The same occurs in subsequent frames.
    How do I remedy this?
    Thanks.

  • Navto a page to a specific object status

    hello
    I want a link to a different page (different stack) in a specific object state, is this possible?
    The client wants all pictures in a separate image slideshow. For example, when i click on a small image (no.1), i want to jump to a different stack with that image slideshow, and the correct object state is shown (no.1)
    If i click on an other small picture (no.2) i jump to the same object state, and the object state no. 2 is shown.
    i cant find any solutions for this - not possible?
    thank you very much for any help.
    daniel

    I don’t work for Adobe and I have no inside knowledge for this.
    If you’d like to get that point across, here’s the place to do it: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    If you go that route, make sure include not only details on how you want this work but why it would beneficial to you and other DPS users.
    Bob

  • Error generating client-specific objects

    Dear all,
    while generating environment in maintain operating concern i am getting following error
    Message no. KE007
    Diagnosis
         The system automatically adjusted operating concern PAPL, or the
         environment of operating concern PAPL was regenerated. An error occurred
         while the system was generating client-specific objects in client 600.
    System Response
         Operating concern PAPL cannot be used in client 600.
    Procedure
         If this message is contained in the generation log, see the messages
         that occurred before it for details about the error.
         If this message appeared during the automatic adjustment, try to
         generate the environment using the Customizing transaction KEA0.
    Activate data structures, generate environment
    so i could not generate the environment in development server
    kindly help me ..
    Thanks and regards
    vijay

    Dear paul,
    Thanks for you reply
    Actually the problem is when op.concern was generated in dev.server it was transported to test and production server,but while transporting some request from development my client got dump in development server and so operating concern was changed to transport the requests.Also in old operating concern some characteristics and value fields were added and deleted by user .Now when trying to activate environment (client specific part) it gives above error message.
    also we have got reply from sap which is as under:
    1)Thanks for the log in details. I was logged in to your system and checked the issue. I found few inconsistencies in the system. Please let me know if you have deleted any characteristic or value fields or if you have done any COPA transports recently.
    2)Thanks for the reply, we have changed and deleted characteristicsand value fields. Since we have changed our operating concern PAPL TO PAP1 and then assigned to controlling area PAPL which is not transported
    to production server then again we have changed as usual PAPL so we are facing this activation problem .please guide us to solve this problem as early as possible
    3)) I am not sure if I can help you resolving the issue as this is purely an inconsistency created by user action. These kinds of issues can be solved only by our remote consulting colleagues. However if you want to restore the old settings you can transport the operating concern through KE3I from your quality or production where the system is working fine.
    In test and production my operating concern is working fine ,is it possible to transport request from test or production to development ?
    also kindly suggest any other solutions
    Thanks and Regards
    vijay

  • How to get customer-specific objects into PCUI ?

    Hello,
    we want to get an Z-table as tab page of the business partner-application into PCUI. It should 'only' be possible to create new entries - today there is no need to modify or delete records.
    Does there exist something like a "cookbook" on this task or has anyone of you experience how to get customer-specific objects (without using EEWB) into PCUI ?
    Thanks in advance
    Martin

    Option 1:
    If you are good in ABAP.
    You can add new tab in which create a new Field group. Assign it to a model access clas in which handle the table update.You can get the details in PCUI cookbook itsel.
    Option 2:
    If you are good at java
    Develop an FM to update the table.
    Call the FM from webdynpro
    Include this webdynpro as HTML viewer in PCUI.
    Regards,
    Abdul Raheem S

  • How do I embed a pdf document into an existing pdf so that the user double clicks on the pdf object within the pdf and it opens? i've looked everywhere on various forums and tried attachments - but still not working. Thanks

    I've tried various methods but to no avail. I have a pdf document and within the pdf I'd like to embed a couple pdf documents so that all the user has to do is double click on the pdf object inside the pdf and it opens in a new window. I've tried using attachments to do it and linking it...but to no avail. Anyone know how to do? I'm using Acrobat Pro Version 11. Thanks

    The "embed" feature common to MS Office applications is not applicable to PDF (for the why and wherefore of PDF get comfortable and read the ISO Standard for PDF - ISO 32000-1:2008).
    You can insert other PDF files' pages into any given PDF.
    You can attach files of supported formats to a PDF (of course a PDF is supported).
    You cannot "embed". So, nothing is broken.
    Be well...

  • Retrieve a set of specific objects

    I am looking for a way in JDO to retrieve and update sets of specific
    objects using a single SQL statement of the form:
    SELECT * FROM <ManagedEntity> WHERE <pk> IN (<pk1,pk2,...>)
    This is a relatively frequent and important use case for the types of
    applications that deal with graphs, such as for modeling telecommunications
    networks. I will describe below the specific behavior as taken from JSR 142:
    OSS Inventory API, specifically the Resource Inventory EJB Session Facade.
    (See http://jcp.org/jsr/detail/142.jsp and
    http://jcp.org/jsr/detail/144.jsp, which defines the API design patterns
    followed by http://java.sun.com/products/oss/ .)
    (1) ResourceInventoryEntityValue[]
    getResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[] keys,
    String[] attrNames)
    This is one occurrence of the operation pattern get<ManagedEntities>ByKeys.
    When the ResourceInventoryEntityValue implementation is a JDO
    PersistenceCapable class, and the ResourceInventoryEntityKey holds the
    primary key of each object of interest, the result set should be selected
    with a single SQL statement.
    (2) void removeResourceInventoryEntitiesByKeys (ResourceInventoryEntityKey[]
    keys)
    This is one occurrence of the operation pattern
    remove<ManagedEntities>ByKeys. The identified instances should be deleted
    with a single SQL statement.
    The problem is I do not see any obvious JDOQL syntax or operations on the
    JDO interfaces that would allow me to accomplish the above. On the positive
    side, Kodo is handling the other patterns extremely elegantly (pretty Java
    in WebLogic Server) and efficiently (pretty SQL). It is only this one ByKeys
    pattern that I can't see a way of doing nicely in JDO.
    Any help would be appreciated.
    Ben

    Thanks Abe. Your response was most helpful.
    Ben
    "Abe White" <[email protected]> wrote in message
    news:[email protected]...
    Actually, JDOQL does offer a way of doing what you want assuming you'reusing
    application identity and you use only a single primary key field:
    q.declareParameters ("Collection pks");
    q.setFilter ("pks.contains (myPKField)");
    Collection results = (Collection) filter.execute (pkCollection);
    Now the bad news: Collection parameters were added to the spec between the
    proposed final draft and the 1.0 release, and the were not noted in the
    spec ChangeLog. Unfortunately, that means that we here at Solarmetricdidn't
    notice the addition until someone pointed it out to us recently, and we
    haven't implemented it yet. Or actually, we've implemented it internally
    as part of a major query rework, but it won't be available publicly for
    awhile. You do, however, have other options:
    You could do it with "||" clauses:
    StringBuffer filter = new StringBuffer ();
    for (Iterator itr = pks.iterator (); itr.hasNext ();)
    filter.append (pkFieldName).append (" == ").append (itr.next ());
    if (itr.hasNext ())
    filter.append (" || ");
    q.setFilter (filter.toString ());
    Collection results = (Collection) q.execute ();
    You can also use our filter extensions (assuming you have the enterprise
    edition or have purchased the filter extensions module). You could usethe
    lit:sqlEmbed extension to embed whatever custom SQL you wanted:
    q.setFilter ("lit:sqlEmbed (\"IDX IN (...)\")");
    Collection results = (Collection) q.execute ();
    Good luck.
    I am looking for a way in JDO to retrieve and update sets of specific
    objects using a single SQL statement of the form:
    SELECT * FROM <ManagedEntity> WHERE <pk> IN (<pk1,pk2,...>)
    This is a relatively frequent and important use case for the types of
    applications that deal with graphs, such as for modeling
    telecommunications
    networks. I will describe below the specific behavior as taken from JSR142:
    OSS Inventory API, specifically the Resource Inventory EJB SessionFacade.
    (See http://jcp.org/jsr/detail/142.jsp and
    http://jcp.org/jsr/detail/144.jsp, which defines the API design patterns
    followed by http://java.sun.com/products/oss/ .)
    (1) ResourceInventoryEntityValue[]
    getResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[] keys,
    String[] attrNames)
    This is one occurrence of the operation patternget<ManagedEntities>ByKeys.
    When the ResourceInventoryEntityValue implementation is a JDO
    PersistenceCapable class, and the ResourceInventoryEntityKey holds the
    primary key of each object of interest, the result set should beselected
    with a single SQL statement.
    (2) void removeResourceInventoryEntitiesByKeys(ResourceInventoryEntityKey[]
    keys)
    This is one occurrence of the operation pattern
    remove<ManagedEntities>ByKeys. The identified instances should bedeleted
    with a single SQL statement.
    The problem is I do not see any obvious JDOQL syntax or operations onthe
    JDO interfaces that would allow me to accomplish the above. On thepositive
    side, Kodo is handling the other patterns extremely elegantly (prettyJava
    in WebLogic Server) and efficiently (pretty SQL). It is only this oneByKeys
    pattern that I can't see a way of doing nicely in JDO.
    Any help would be appreciated.
    Ben

  • Using 'Preview Layouts' on specific objects

    Hi everyone,
    I would want to know if it is possible to import CR layouts in SBO, and use it with the menu "Preview Layouts" on personalized objects.
    When I try to import a CR layout with the Report And Layout Manager of SBO, I choose my RPT file, check the Layout radio button, and open the List Of Documents. But in this list, there are no items which correspond to my specific objects, so I can't link my report and my objects, and when I open a record of my object, the menu "File -> Preview Layouts" is disabled.
    So my question is : is it possible to create new Document Types to be able to link my layout and my objects? Or any other solution which can allow me to use "Preview Layouts" on my specific objects?
    Thanks.

    Hello Charly,
    There is a way to add layout on User object. Using a piece of code, you can add your report in the table RDOC putting it in a BLOB field
    SAPbobsCOM.ReportLayoutsService rptService = (SAPbobsCOM.ReportLayoutsService)oCompany.GetCompanyService().GetBusinessService(SAPbobsCOM.ServiceTypes.ReportLayoutsService);
    SAPbobsCOM.ReportLayout newReport = (SAPbobsCOM.ReportLayout)rptService.GetDataInterface(SAPbobsCOM.ReportLayoutsServiceDataInterfaces.rlsdiReportLayout);
    newReport.Author = oCompany.UserName;
    newReport.Category = SAPbobsCOM.ReportLayoutCategoryEnum.rlcCrystal;
    newReport.Name = "APRS";
    newReport.TypeCode = "TypeCode";
    SAPbobsCOM.ReportLayoutParams newReportParam = rptService.AddReportLayout(newReport);
    newType = rptTypeService.GetReportType(newTypeParam);
    newType.DefaultReportLayout = newReportParam.LayoutCode;
    rptTypeService.UpdateReportType(newType);
    SAPbobsCOM.BlobParams oBlobParams = (SAPbobsCOM.BlobParams)oCompany.GetCompanyService().GetDataInterface(SAPbobsCOM.CompanyServiceDataInterfaces.csdiBlobParams);
    oBlobParams.Table = "RDOC";
    oBlobParams.Field = "Template";
    SAPbobsCOM.BlobTableKeySegment oKeySegment = oBlobParams.BlobTableKeySegments.Add();
    oKeySegment.Name = "DocCode";
    oKeySegment.Value = newReportParam.LayoutCode;
    FileStream oFile = new FileStream("D:\\DEV\\Layouts\\Demo.rpt", System.IO.FileMode.Open);
    int fileSize = (int)oFile.Length;
    byte[] buf = new byte[fileSize];
    oFile.Read(buf, 0, fileSize);
    oFile.Dispose();
    SAPbobsCOM.Blob oBlob = (SAPbobsCOM.Blob)oCompany.GetCompanyService().GetDataInterface(SAPbobsCOM.CompanyServiceDataInterfaces.csdiBlob);
    oBlob.Content = Convert.ToBase64String(buf, 0, fileSize);
    oCompany.GetCompanyService().SetBlob(oBlobParams, oBlob);
    Then you have to associate your form to the reportType using this line of code in your form's constructor:
    oForm.reportType = "ReportType"
    Hoping that can help you
    Best regards

  • How to remove blocks from buffer cache for a specific object

    hi everybody,
    is it possible to remove blocks which belogns to a specific object (a table for ex) from buffer cache.
    as you know, there is
    alter system flush buffer_cache;command but it does it's job for all buffer cache. if you ask me why i want this, for tuning reasons. I want to test some plsql codes when they run as if they are running for the first time (reading from disk).
    ps: I use oracle 11g r2

    Hi mustafa,
    Your performance will not degrade if you run the query second time ( if i understood correctly, you worry about the performance if you execute the procedure second time). Executing/running the code/sql statements over and over again will have following two good benefits.
    1) This will avoid hard parsing (Hard parsing is resource intensive operation and this generally increase the overall processing time.
    2) This will avoid physical read IO (You gonna see the benefits if data blocks already cached and you dont have to spend time in reading blocks from disk. Reading from disk is much costlier and time consuming operation as compared to data in RAM)
    Having that said sometime bad written queries will acquire more blocks then required and consume most part of buffer cache, and this can some times effect the other important blocks and force to flush out from buffer cache.
    Oracle have built some intelligence for large full table scan operations for e.g will doing full table scan(I hope you already know what is fts) oracle will put its blocks at end of LRU chain. So these will be the buffers will would flush out first then any other.
    From oracle documentation:
    "When the user process is performing a full table scan, it reads the blocks of the table into buffers and puts them on the LRU end (instead of the MRU end) of the LRU list. This is because a fully scanned table usually is needed only briefly, so the blocks should be moved out quickly to leave more frequently used blocks in the cache.
    You can control this default behavior of blocks involved in table scans on a table-by-table basis. To specify that blocks of the table are to be placed at the MRU end of the list during a full table scan, use the CACHE clause when creating or altering a table or cluster. You can specify this behavior for small lookup tables or large static historical tables to avoid I/O on subsequent accesses of the table."
    Regards
    Edited by: 909592 on Feb 6, 2012 4:37 PM

  • Right clicking on a flash object causes all flash objects to crash

    whenever I attempt to right click on a flash movie or other flash based object the flash plugin crashes and takes all flash objects including those in other tabs with it. There does not seem to be any other problems with the plugin just that it crashes when an attempt is made to right click on any flash object.

    Try to create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    You can check for problems with current Flash plugin versions and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting

  • LSMW - Access to Specific Objects Permissions to specific users

    Hi guys,
    I want to know if it is possible to allow access to specific users that are in charge of the execution of a specific object of and LSMW.
    Regards,
    Eric

    Hi guys,
    One solution i got right now (but it isn't the ideal), is to debug the execution step of the LSMW in order to find the name of the program that iit's been call and the one that its call inthe step in wich the files are been specify. Then develop a "Z" program that calls both of them and give the user the access to this new transaction.
    Any better sugestion?.
    Regards,
    Eric

  • Audit specific objects for specific users

    audit statement has the option to choose audit by user list
    audit object has the option to choose audited objects
    now i need to audit specific objects, i.e. user A's tables accessed by a specific group of users, let's say ALL users other than A
    Is it a simple way to achieve this goal? (audit A's tables that accessed by all database users other than A)
    Thanks!

    sorry, the link works now. However, there is nothing new in 10G, same as I read from 9i document. See my highlight below in the quoted document text, my requirements is the combination of them ( specific users and specific objects). Thanks anyway.
    <quote
    Table 8-1 Auditing Types and Descriptions
    Type of Auditing (link to discussion)      Meaning/Description
    Statement Auditing      Enables you to audit SQL statements by type of statement, not by the specific schema objects on which they operate. Typically broad, statement auditing audits the use of several types of related actions for each option. For example, AUDIT TABLE tracks several DDL statements regardless of the table on which they are issued. You can also set statement auditing to audit selected users or every user in the database.
    Privilege Auditing
         Enables you to audit the use of powerful system privileges that enable corresponding actions, such as AUDIT CREATE TABLE. Privilege auditing is more focused than statement auditing, which audits only a particular type of action. You can set privilege auditing to audit a selected user or every user in the database.
    Schema Object Auditing
         Enables you to audit specific statements on a particular schema object, such as AUDIT SELECT ON employees. Schema object auditing is very focused, auditing only a single specified type of statement (such as SELECT) on a specified schema object. Schema object auditing always applies to all users of the database.
    Fine-Grained Auditing
         Enables you to audit at the most granular level, data access and actions based on content, using any Boolean measure, such as value > 1,000,000. Enables auditing based on access to or changes in a column.
    /quote>

  • Illustrator shuts down when I click drag on an object.

    It doesn't matter if I open the file in another version... It doesn't matter if I copy out the content and paste into a new file... Illustrator continues to shut down when I click drag on an object. Is this a keyboard issue? Or a program issue? or a combination?
    I have plenty of memory on my computer.

    After being on Adobe Chat support all morning, we uninstalled and reinstalled the program (outside of the cloud -as re-installing from the cloud produced the same error in the software).
    When having this issue, it did not matter what object was selected and moved. It did not matter what file I was in. It did not matter if I created a new file.

Maybe you are looking for

  • Why do we need Profiles ?

    Hi all, I know it a bit stupid question you would think but do read it complete before answering. 1. When we create a role the role name is given and tcodes are assigned to it. Then we go to the authorization tab, before that it asks us to save the r

  • Select order by

    Hello everyone, I have an issue: I Know the aggregate function ORDER BY and I know we can specify the columns we need to put in order and if they have to be ASCENDING or DESCENDING But I'd like to create a "personal criterium", for example i have the

  • Foxfire adds my password to my email site but it is incorrect. How can I change this?

    When I first set up my email account, a questions came on the screen asking if I would like Foxfire to save my password. I clicked yes, and it has worked fine until I changed my password. Now Foxfire continues to us my old password and I am not sure

  • Moving files from Memory Card to Phone Memory on N...

    Hi everyone i have put 8 small trimmed down MP3 files onto my Nokia N95, they are to be used for certain people on my CONTACT list i sent them from my PC via Bluetooth to the N95 with no problems, they were then saved onto the 2GB Memory card how do

  • The no of lines in a table

    hi all, i have a internal table with all the values and i need to write it with the serial number in hte first column. so it did as loop at itab. write : sy-index,itab-field1.... endloop. but the serial was not displayed. i even tried with sy-tabix b