Map artwork to a 3D object

This question was posted in response to the following article: http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-642ca .html

Do it the other way. Make the corrugations by means of gradients at the back of the artwork you want to map to the object and set the overlying stuff to multiply in the Transparency panel to pick up the light and dark of the gradient. Something like this
It will take a little experimenting and you can make several symbols to map to the different sides.

Similar Messages

  • Explicity mapping between ActionScript and Java objects for the BlazeDS Messaging Service

    The BlazeDS documentation shows how to explicitly map between ActionScript and Java objects. For example, this works fine for RPC services, e.g.
    import flash.utils.IExternalizable;
    import flash.utils.IDataInput;
    import flash.utils.IDataOutput;
    [Bindable]
    [RemoteClass(alias="javaclass.User")]
    public class User implements IExternalizable {
            public var id : String;
            public var secret : String;
            public function User() {
            public function readExternal(input : IDataInput) : void {
                    id = input.readObject() as String;
            public function writeExternal(output : IDataOutput) : void {
                    output.writeObject(id);
    and
    import java.io.Externalizable;
    import java.io.IOException;
    import java.io.ObjectInput;
    import java.io.ObjectOutput;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.Set;
    public class User implements Externalizable {
        protected String id;
        protected String secret;
        public String getId() {
            return id;
        public void setId(String id) {
            this.id = id;
        public String getSecret() {
            return secret;
        public void setSecret(String secret) {
            this.secret = secret;
        public void readExternal(ObjectInput in) throws IOException,
                    ClassNotFoundException {
            id = (String) in.readObject();
        public void writeExternal(ObjectOutput out) throws IOException {
            out.writeObject(id);
    If I called an RPC service that returns a User, the secret is not sent over the wire.  Is it also possible to do this for the messaging service? That is, if I create a custom messaging adapter and use the function below, can I also prevent secret from being sent?
    MessageBroker messageBroker = MessageBroker.getMessageBroker(null);
    AsyncMessage message = new AsyncMessage();
    message.setDestination("MyMessagingService");
    message.setClientId(UUIDUtils.createUUID());
    message.setMessageId(UUIDUtils.createUUID());
    User user = new User();
    user.setId("id");
    user.setSecret("secret");
    message.setBody(user);
    messageBroker.routeMessageToService(message, null);

    Hi Martin. The way that AMF serialization/deserialization works for BlazeDS is the same regardless of which service is being used, so yes that code will work for messaging as well. On the server, the serialization/deserialization of messages happens at the endpoint. For an incoming message for example, the endpoint deserializes the message and then hands it off to the MessageBroker which decides which service/destination to deliver the message to.
    That was a good question. Thanks for asking it. Lots of people are used to doing custom serialization/deserialization with the RPC services (RemoteObject/RemotingService) but I'm not sure everyone realizes they can do this for messaging as well.
    -Alex

  • Question about mapping art to a 3d object

    I'm looking for help with mapping art to a 3d object using the extrude and bevel effect, and I keep running into the same issues.
    I've attached an image of what I'm trying to replicate (on the left) and where I am currently at (on the right). The left image is what we're looking to duplicate, in a 3d manner, but I'm not able to add the roll tail (which now needs to have a bit of a curve coming towards you), without there being numerous surfaces in the 'map art' box. What I am hoping is that there is a way to create one surface that wraps completely around the roll, and then down to the tail, and curling towards the viewer. Currently when I do this it creates numerous surfaces so I have to map the art to piece it together and it doesn't line up with the other mapped art. I would so appreciate any help you can offer!
    Also, I'm not able to get a great shadow inside the roll, is there something I'm missing with the lighting options?
    Thank you!
    (Using AI CS6 on a PC)

    I managed this quickly:
    for some reason it split the top surface of the reel into two though. the divide is at the top. I just mapped the symbol to both so it looks like it's going all round.

  • Unable to map actionscripting with java nested objects

    Hi Experts...,
    Im a newbie in flex and actionscripting.....
    Im unable to map nested java classes and objects with my front end flex application using actionscript....I have searched everywhere almost to my knowledge on the net but failed to find a fix...,
    im having serious trouble reffereing to attributes of an object using another object( which by the way happens to be the parent object).
    Im using hibernate and springs to do the DB transactions....,
    Please help me out with this issue.....
    Thanks for all the help and support in advance....

    Again, I don't work with Java and you should ask Java-related question in Flex (or Java) forum.
    Java or not - you need to package your server side language specific object into something that AS understands (text, XML, AMF object) and load this data into AS via, perhaps, URLLoader. Or you can open socket. Then you parse this data with AS3 code in SWF.

  • Map XML tag to an object style

    Hi everyone!
    I am not sure this is the correct place to post it, but i didn't find any "tagging" department of the forums.
    I do import some XML into ID document.
    Text nodes of my XML are imported properly, and i can map any tag of XML to one of the paragraph or table styles.
    But, when i import any images (or another ID documents) with <... href="..." />, how can i map that tag to an object style?
    ///////////// It would be very helpful for example when i'm going to set the stroke of 1pt to all of inline images of text frame.
    Please any feedback would be helpful.
    Alex.

    I will try to give an example, just to give a kick start ........... you need little bit of tweaking to meet your actual requirement:
    suppose you have an xml element "tag" having an attribute "@href" with object style name defined as  it's value. 
    <tag href="object_style_name">
    "object_style_name" is a object style and should exist in your document. To map the tag with the corresponding object style value you can use XMLRules in JS:
    //NOTE: NOT TESTED, BUT SHOULD WORK
    #include "glue code.jsx"
    main();
    function main(){
    if (app.documents.length != 0){
    var myDoc = app.activeDocument;
    var myRuleSet = new Array (
    new findObjAttribute("//*[@href]")
    with(myDoc){
    var elements = xmlElements;
    __processRuleSet(elements.item(0), myRuleSet);
    else{
    alert("You have no document open!");
    exit();
    function findObjAttribute(XPATH){
    this.name = "findObjAttribute";
    this.xpath = XPATH;
    this.apply = function(myElement, myRuleProcessor)
    //Just to check whether the collect element is selected
    var elmName=myElement.markupTag.name;
    var styleName=myElement.xmlAttributes.itemByName("href").value;
    with(myElement){
    try {
    applyObjectStyle(myDoc.objectStyles.item(styleName), true);
         } catch(e){};
    return true;
    HTH,
    Pankaj Chaturvedi

  • Help with multi-table mapping for one-to-many object inheritance

    Hi,
    I have posted on here before regarding this (Toplink mapping for one-to-many object inheritance but I am still having problems mapping my object model to my schema.
    Object model
    The Person and Organisation objects contain base information and have the primary keys person_id and organisation_id. It is important that there is no duplication of person and organisation records, no matter how many times they are saved in different roles.
    There are two types of licenceholder in the problem domain, and the ILicenceHolder interface defines information and methods that are common to both. The PersonalLicenceHolder object represents one of these types of licenceholder, and is always a person, so this class extends Person and implements ILicenceHolder.
    The additional information and methods that are required by the second type of licenceholder are defined in the interface IPremisesLicenceHolder, which extends ILicenceHolder. Premises licence holders can either be people or organisations, so I have two objects to represent these - PremisesLicenceHolderPerson which implements IPremisesLicenceHolder and extends Person, and PremisesLicenceHolderOrganisation which implements IPremisesLicenceHolder and extends Organisation.
    The model is further complicated by the fact that any single Person may be both a PersonalLicenceHolder and a PremisesLicenceHolderPerson, and may be so several times over. In this case, the same basic Person information needs to be linked to several different sets of licenceholder information. In the same way, any single Organisation may be a PremisesLicenceHolderOrganisation several times over.
    Sorry this is complicated!
    Schema
    I have Person and Organisation tables containing the basic information with the primary keys person_id and organisation_id.
    I have tried to follow Donald Smith's advice and have created a Role table to record the specialised information for the different types of licence holder. I want the foreign keys in this table to be licenceholder_id and licence_id. Licenceholder_id will reference either organisation_id or person_id, and licence_id will reference the primary key of the Licence table to link the licenceholder to the licence. Because I am struggling with the mapping, I have changed licenceholder_id to person_id in an attempt to get it working with the Person object before I try the Organisation.
    Then, when a new licenceholder is added, if the person/organisation is already in the database, a new record is created in the Role table linking the existing person/organisation to the existing licence rather than duplicating the person/organisation information.
    Mapping
    I am trying to use the toplink mapping workbench to map my PremisesLicenceHolderPerson object to my schema. I have mapped all inherited attributes to superclass (Person). The primary table that the attributes are mapped to is Person, and I have used the multi-table info tab to add Roles as an additional table and map the remaining attributes to that.
    I have created the references PERSON_ROLES which maps person.person_id to roles.person_id, ROLES_PERSON which maps roles.person_id to person.person_id and ROLES_LICENCE which maps roles.licence_id to licence.licence_id.
    I think I have put in all the relationships, but I cannot get rid of the error message "The following primary key fields are unmapped: PERSON_ID".
    Please can somebody tell me how to map this properly?
    Thank you.

    I'm not positive about your mappings, but it looks like the Person object should really have a 1:M or M:M mapping to the Licenceholder table. This then means that your object model should be similar, in that Person object could have many Licenses, instead of being LicenceHolders. From the looks of it, you have it set up from the LicenceHolder perspective. What could be done instead if a LicenceHolder could have a 1:1 reference to a person data object, rather than actually be a Person. This would allow the person data to be easily shared among licences.
    LicenceHolder1 has an entry in the LicenceHolder table and Person table. LicenceHolder2 also has entries in these tables, but uses the same entry in the Person table- essentially it is the same person/person_ID. If both are new objects, TopLink would try to insert the same person object into the Person table twice. I'm not sure how you have gotten around or are planning to get around this problem.
    Since you are using inheritance, it means that LicenceHolder needs a writable mapping to the person.person_id field- most commonly done through a direct to field mapping. From the description, it looks like roles.person_id is a foreign key in the multiple table mapping, meaning it would be set based on the value in the person.person_id field, but the person.person_id isn't actually mapped in the object. Check to make sure that the ID attribute LicenceHolder is inheriting from person hasn't been remapped in the LicenceHolder descriptor to a different field.
    Best Regards,
    Chris

  • Mapping artwork onto 3D shapes

    How do you map artwork onto an extruded shape?

    drag the artwork to the symbols palette first. then you can choose it and the surface you want to map it to in the Map art options for the 3D effect.

  • How to debug mapping module of a Adapter Object

    I have created an Adapter object which will send data from ECC table to CRM. In the Table/Structure tab, I have mentioned the ECC table name for which data will come.
    A FM is created to convert data and is mapped in Mapping Module of the object.Now though initial load is running sucessfully, table entry is not inserted in CRM table.
    Though I have given breakpoint in the FM, it is not triggering. Is there any way out to debug the FM.

    Hi,
    Can you let me know the download status of your adapter object using txn. R3AM1? If it is DONE, you can trigger another initial load.
    The inbound queue formation on CRM is governed by USE_IN_QUEUE field of table CRMRFCPAR on the ECC for your adapter object. It should be set to X. So in case there's a specific entry for your adapter object in CRMRFCPAR, just check it.
    If this setting is already maintained you should see a queue name like R3AI_<objectName> in SMQ2 of CRM. Of course you'd need to deregister the R3AI* queue in txn. SMQR.
    Thanks,
    Rohit

  • Oracle BPM and JMS Queue: How to associate data from Map Messages to Process Data Objects?

    Good Day!
    I'm currently working on a project wherein it tries to get data from a JMSqueue Map Message being populated by CEP.
    After CEP pushes some data in the JMSqueue. I have BPM configured with a JMS adapter to look up whether there are any messages to be processed upon.
    Inside BPM, I want to know how can I correlate the data from the Map Message to my Process Data Object.
    For example, If I have a Map Object wherein it has 3 attributes:
    FirstName:String
    LastName:String
    Age:int
    What is the expression I need to use inside Oracle BPM Data Association screen in order to map the data from the Map Messages into my process data objects?
    Thanks!
    Regards,
    Jeff

    Any ideas? Thanks!

  • Unable to map nested java classes and objects in actionscript using flex

    Hi All..,
    Im a newbie in flex and actionscripting...,I however have a task assigned in this domain and goin insane since a week now with this problem...
    Problem explained:
    I have a class called Unit that inturn have many other classes like for example unit has an engineer class,,,Im not able to access the attributes of engineer using the unit class...that is unit.engineer,engineerid is giving me a null...however attributes unique to unit are accessible...
    Please help me out with this...,this problem has already eaten up my deadlines...
    Any help would be appreciated and thankz in advance..

    Thank you for the swift reply...,
    I actually have three java classes Unit , Engineer and UnitretrievalRemote....
    Unit contains engineer and also UnitRetrievalRemote has methods to retrieve unit which inturn should return engineer...,However i hav actionscript classes for both engineer and unit and mapped it apporopriately using the remotetag...and also my remote object is defined with a destination...
    The below code is my Actionscripting code included in mxml:
    import UnitScript.Engineer;//These are my Action Scripting Classes
    import UnitScript.Unit;
    import mx.collections.ArrayCollection;
    import mx.collections.ArrayList;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    import mx.rpc.events.ResultEvent;
    public var unitIds:ArrayCollection;//I'm passing an array from java end
    that retrieves the unitId's from the db using hibernate...
    public var index:int;
    public var unit:Unit;
    protected function initData():void
    ApplicationService.getUnitIds();
    //This is the remoteobject call using blazeds to load the method during application start from java..
    private function setUnitIds(event:ResultEvent):void
    unitIds  = ArrayCollection(event.result);
    private function setUnit(event:ResultEvent):void
    unit = Unit(event.result);
    //mx.controls.Alert.show( "Compling" );
    //mx.controls.Alert.show( "Engineer Method" +unit.engineerId);
    //mx.controls.Alert.show( " Engineer=="+unit.engineer) ;
    unitIDText.text = String( unit.unitId );
    customerName.text = unit.name;//displaying the contents fetched from the backend in the panel...
    setEngineer(event);
    private function setEngineer(event:ResultEvent):void
    unit.engineer = Engineer(event.result);
    unit = Unit(event.result);
    eng_id.text = String(unit.engineer.engineerId);
    mx.controls.Alert.show( "Engineer ID Please Show"+unit.engineer);
    //This prints a null.
    mx.controls.Alert.show( "Direct Engineer Id" +unit.engineer.category);
    // This prints a null.
    Remote object mapping is as below:
    <mx:RemoteObject
        id="ApplicationService"
        destination="Destination1" >
        <mx:method name="getUnitIds" result="setUnitIds(event)"
        fault="mx.controls.Alert.show(event.fault.faultString)"/>
        <mx:method name="getUnit" result="setUnit(event)"
        fault="mx.controls.Alert.show(event.fault.faultString)"/>
    </RemoteObject>

  • Toplink mapping for one-to-many object inheritance

    Hi
    I currently have a Person object, extended by two specialist classes, PremisesLicenceHolder and PersonalLicenceHolder. I have mapped this in Toplink and it works fine saving a person into the specialist tables using the primary key person_id.
    However, a single Person may be extended any number of times by either one or both of the two specialist types. So, a Person may be a PremisesLicenceHolder many times over for different premises and licences, and also a PersonalLicenceHolder several times over.
    Is it possible to map this object model in Toplink avoiding duplicate person_id primary keys in the specialist tables?
    Thanks

    Hi,
    I am happy that my object model fits the problem domain. The Person and Organisation objects contain base information and have the primary keys person_id and organisation_id. It is important that there is no duplication of person and organisation records, no matter how many times they are saved in different roles.
    There are two types of licenceholder in the problem domain, and the ILicenceHolder interface defines information and methods that are common to both. The PersonalLicenceHolder object represents one of these types of licenceholder, and is always a person, so this class extends Person and implements ILicenceHolder.
    The additional information and methods that are required by the second type of licenceholder are defined in the interface IPremisesLicenceHolder, which extends ILicenceHolder. Premises licence holders can either be people or organisations, so I have two objects to represent these - PremisesLicenceHolderPerson which implements IPremisesLicenceHolder and extends Person, and PremisesLicenceHolderOrganisation which implements IPremisesLicenceHolder and extends Organisation.
    The model is further complicated by the fact that any single Person may be both a PersonalLicenceHolder and a PremisesLicenceHolderPerson, and may be so several times over. In this case, the same basic Person information needs to be linked to several different sets of licenceholder information. In the same way, any single Organisation may be a PremisesLicenceHolderOrganisation several times over.
    Sorry this is complicated!
    My initial idea for the schemas is to have Person and Organisation tables containing the basic information with the primary keys person_id and organisation_id. The Person table would have a one-to-many relationship with both the PersonalLicenceHolder table (pk: personalLicenceHolder_id, fk: person_id), and the PremisesLicenceHolderPerson table (pk: premisesLicenceHolderPerson_id, fk: person_id). There would also be a one-to-many relationship between the Organisation table and the PremisesLicenceHolderOrganisation table (pk: premisesLicenceHolderOrganisation_id, fk: organisation_id).
    I am flexible as to the design of my schema though, as I am happy to adopt any that will facilitate the Toplink Mapping.
    Thanks for your help with this.

  • Does the Number type in Oracle always map to the Java BigDecimal object

    We have noticed that whenever we create a column in a table of type smallint, integer, real, etc. that the type in sqlplus always shows up as number(x). Our problem is that this type always seems to map to java.math.BigDecimal through JDBC. Is this a bug in the JDBC drivers???
    Put another way when I create a column of type smallint I expect that after performing a query I should be able to call the getShort method on the result set in order to get the value from the afore mentioned column. But instead I get a ClassCastException because the Java type for the column is actually a java.math.BigDecimal.
    Thanks,
    Keith
    [email protected]

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Keith Nielsen:
    We have noticed that whenever we create a column in a table of type smallint, integer, real, etc. that the type in sqlplus always shows up as number(x). Our problem is that this type always seems to map to java.math.BigDecimal through JDBC. Is this a bug in the JDBC drivers???
    Put another way when I create a column of type smallint I expect that after performing a query I should be able to call the getShort method on the result set in order to get the value from the afore mentioned column. But instead I get a ClassCastException because the Java type for the column is actually a java.math.BigDecimal.
    Thanks,
    Keith
    [email protected]<HR></BLOCKQUOTE>
    ~~~
    The possible Java types to which SQL NUMBER type can be materialized to include
    oracle.sql.NUMBER
    java.lang.Byte
    java.lang.Short
    java.lang.Integer
    java.lang.Long
    java.lang.Float
    java.lang.Double
    java.math.BigDecimal
    byte,short, int, long, float, double
    For a complete listing for all datatypes mappings refer the Oracle8i JDBC Developer's guide and reference.

  • Pixelated gridlines when using mapped artwork.

    I am trying to make a globe using a Equirectangular Vector Globe and a set of grid lines using the grid tool.
    I set everything up and set it all as a symbol.
    Do my half circle and revolve it, map the art work and size to fit.
    However when I look at my grid lines at 100% they are pixelated. At 300% they are not.
    ANy ideas what may be causing this?
    I can get screen shots if needed to explain further.
    Thanks in advance.

    Photohsop gives you the most accurate preview at 100% because you are displaying 1 pixel of data to 1 pixel on your monitor.
    Illustrator translates the vector data to pixlels to display. In your case you have some curved lines, and illustrator has to figure how to dispaly this. Antialising helps alot to provide you with nice curved lines, but when the lines are at 100% the monitor only has a few pixles to display that line, at 300% view there are atelast 3x as many pixels to display the thickness of the line.
    Imagine you had some graph paper, and could choose a color for each sqaure and had to draw a stroked circle. The more squares on your graph you have to dispaly taht stroke, the less staircased ti will look.
    So no worries your lines are vector, and will print better than they look on your monitor, thanks to the higher resolution of your print device (espeically when you go to plate) in comparison to your monitor.

  • Map.put() can destroy other objects' maps

    Hi,
    I assign a new value to an already existing key in a map:
    map.put(key1, value1);
    map.put(key1, value2);
    While still ok in memory, the state of many maps in the database becomes
    invalid.
    The statement that Kodo logs is the following:
    UPDATE JUNIT.MAPWI_MAP SET JDOID = ?, JDOID_VALUE = ? WHERE JDOID_KEY
    = ?
    Instead of just changing the value in the map's table, Kodo also changes
    the owner.
    I think the following statement would be correct:
    UPDATE JUNIT.MAPWI_MAP SET JDOID_VALUE = ? WHERE JDOID_KEY = ? AND
    JDOID = ?
    A workaround is to check if a key is already in a map and removing it
    before assigning it a new value. That way Kodo makes "delete" + "insert"
    instead of "update".
    We use Kodo 3.0.0 on Oracle.
    --Wolfgang

    Thank you very much for this bug report. We've fixed the problem
    internally; 3.0.1 will include the fix.

  • Even mapping onto 3d object in Illustrator CS3

    Having a wee bit of a problem here - I have created artwork for a display stand and, to demonstrate how this will look, I'm trying to make a 3 mockup in illustrator CS3.
    I've created a top down shape for the object which I then extrude and map the image on to - this is where the problem arises! Illustrator seems to 'bunch' the mapped image around points where curves are tighter (presumably due the increase in vertices there) rather than mapping it evenly around the surface. This causes some rather undesirable warping of the image which rather ruins the effect!
    Can anyone tell me a way of avoiding this?
    Many thanks!

    But did you have to reposition the mapped symbol, since adding anchors also add surfaces
    No. I did exactly what my instructions indicated: I simply positioned the Symbol for mapping onto the front surface, with no scaling. After Illusrtator rendered the result, I selected Add AnchorPoints twice.
    The distortion was due to the extended handles of the middle point which gives the front surface its concave shape. Adding anchorPoints effectively shortens the handles, thereby lessening their distortion effect. That does not necessarily add surfaces to the model. A 3D Effect model does not necessarily create additional surfaces for each "patch" defined by anchorPoints. You can see that easily by simply extruding a filled, unstroked ellipse into a cylinder with open endcaps: One surface, despite the four anchorpoints in the section.
    Moreover, with the preview checkbox on, the 3D Effect interface highlights the surfaces on your model as you page through them in the Map Art dialog.
    OF COURSE the model's section path needs to be drawn with some sense about what 3D Effect will have to do to it geometrically, and about the scale of the 3D model settings relative to the size and aspect ratio of the mapped artwork (thus my admonitions to that effect in my second post). One can't just willy-nilly apply elaborate automatic effects to any carelessly-drawn path and expect results to work right. But assuming appropriately-drawn sections for the extrusion, adding anchorPoints can be an effective means by which to correct distortion caused by long curve handles--just as it can also be used to more closely approximate uniform spacing of Blend steps along curves spines. The long radius concave front of a trade show backdrop is a case-in-point.
    JET

Maybe you are looking for

  • HP Laserjet 1600 Driver???

    I have an HP color Laserjet and am trying to use it with my MacBook Pro. I have been told that the driver to make this work doesnt exist but both HP and Apple. I am wondering if anyone has had this problem or has any suggestions on a 3rd party driver

  • Can I configure Lightroom to use all my cores in case of actions like imports?

    Hi! I've a CPU with four cores and also enabled hyperthreading. But if I do an import by Lightroom it uses at best 25 % of my overall CPU performance. If it would start many low prio threads, it would speed up my import a lot, as I've import very oft

  • Handling unit creation in existing shipment via BAPI or IDOC

    Dear all, Dose any one tried and succeed packing deliveries items in an existing shipment in the shipment level via BAPI or IDOC. I tried to use IDOC massage type SHPADV. The problem was that it's creates a new shipment with the same deliveries and p

  • Inbound IDoc: Field BVTYP is missing

    Hi,  I am new to IDoc I need help with a scenario. We have an interface wherein AP documents are transported to SAP. When we are viewing these IDocs in SAP field BVTYP  (Partner Bank Type) is missing Thanks in advance

  • Difference between "Favorites"- & "Portal Favorites"-iView

    Hi SDN Can anybody tell me the difference between the km-iView "Favorites" and "Portal Favorites"? Also, when I enable the "Favorites"-iView a caption between the Favorites-entries and the Tray is added. How can I remove this? And: The layout of the