How to use textures on loades objects

Hi there
i`m trying to use a texture on a loaded .obj-object.
I`m able to load them seperate, but I have no idea how to apply the texture
I`ll be happy if anyone knows where I can get informations about that topic.
Greetings,klaus

like this it should work
Scene s1 = null;
try {
s1 = f1.load("test.obj");
} catch (Exception e) {
System.exit(1);
BranchGroup bg = s1.getSceneGroup();
Enumeration enum =bg.getAllChildren();
then underneath you'll have you shape3d where you can apply your Appearance
it work like the rest of the graphscene

Similar Messages

  • How to use the property-loader?

    Hello,
    i´m using TS 3.5 and LV 8.0. Now i also want to use the built-in property-loader from Teststand.
    Is there somewhere a documentation for "beginners" how to use this property-loader? At the end i want to read parameters from an ascii-file which updates my input-parameters of the steps in the current-sequence.
    I know how to read and change parameters from teststand in labview via active-x, but i have no idea how to use this propertyloader-thing.
    Is there an easy help file somewhere in the net ( I havent found one yet)?
    Thanks for your help.

    Meanwhile i can use the propertyloader for Limits and Variables which are in a container of the teststep. What not worked was:
    1.) setting the properties of a "Messagebox". For example the property "Button1Label". Why is this not working?
    2.) The second thing what is not clear: Do i need for each sequence an own property-loader? I tested it with a sequence with one subsequence. Does the subsequence needs its own property-loader?
    Currently the import-csv-file looks like this:
    Start Marker,,,
    <Step Name>,Limits.Low,Limits.High,Cont.Voltage
    TestStep_1,1,2,4
    TestStep_2,8,16,32
    End Marker,,,
    When Teststep_1 and Teststep_2 are both in mainsequence then it works. When i copy Teststep_2 in a subsequence then i get an error (-18).
    Any ideas about my two questions?
    Thanks

  • Why and how to use events in abap objects

    Dear all,
      Please explain me why and how to use events in abap objects with real time example
    regards
    pankaj giri

    Hi Pankaj,
    I will try to explain why to use events... How to use is a different topic.. which others have already answered...
    This is same from your prev. post...
    Events :
    Technically speaking :
    " Events are notifications an object receives from, or transmits to, other objects or applications. Events allow objects to perform actions whenever a specific occurrence takes place. Microsoft Windows is an event-driven operating system, events can come from other objects, applications, or user input such as mouse clicks or key presses. "
    Lets say you have an ALV - An editable one ...
    Lats say - Once you press some button  you want some kind of validation to be done.
    How to do this ?
    Raise an Event - Which is handled by a method and write the validation code.
    Now you might argue, that I can do it in this way : Capture the function code - and call the validate method.
    Yes, in this case it can be done.. But lets say .. you change a field in the ALV and you want the validation to be done as soon as he is done with typing.
    Where is the function code here ? No function code... But there is an event here - The data changed event.
    So you can raise a data changed event that can be handled and will do the validation.
    It is not user friendly that you ask the user to press a button (to get the function code) for validation each time he enters a data.
    The events can be raised by a system, or by a program also. So in this case the data changed event is raised by a system that you can handle.
    Also, Lets say on a particular action you want some code to trigger. (You can take the same example of validation code). In this case the code to trigger is in a separate class. The object of which is not available here at this moment. (This case happens very frequently).
    Advantage with events : Event handlers can be in a separate class also.
    e.g : In the middle of some business logic .. you encounter a error. You want to send this information to the UI (to user - in form of a pop up) and then continue with some processing.
    In many cases - A direct method call to trigger the pop up is not done. Because (in ideal cases) the engine must not interact with UI directly - Because the UI could be some other application - like a windows UI but the error comes from some SAP program.
    So - A event is raised from the engine that is handled in the UI and a pop up is triggered.
    Here -- I would have different classes (lets say for different Operating Systems). And all these classes must register to the event ERROR raised in application.
    And these different classes for different Operation systems will have different code to raise a pop-up.
    Now you can imagine : If you coded a pop-up for Windows (in your application logic) .. it will not work for Mac or Linux. But of you raise a event.. that is handled separately by a different UI classes for Win, Linux or Mac  they will catch this event and process accordingly.
    May be I complicated this explanation .... but I couldn't think of a simpler and concrete example.
    Cheers.
    Varun.

  • How to use Javascript to load random pages?

    I wonder if anyone knows how to use Javascript to load a list
    of links stored in the text file.
    Every address will take a line, and the Javascript will
    randomly select one of the addresses to load.
    The user will click the button "random" and access the page
    randomly selected by the script.

    Addition note:
    I forgot to say this because my computer froze......(how
    lame)
    I got the code for random accessing the links.
    But now the problem is, is there anyway to parse a text file
    into the array in Javascript?

  • How to use lsmw and load cin details of the customer

    hi,
    how to use lsmw and load CIN details of the customer master data as the CIN DETAILS are not visible under XD01.
    thanx in advance
    regards,
    balajit

    i got the solution

  • How to use sqlldr for loading data in Oracle 10g xe.

    I want to load data using SQL*LOADER in Oracle DB from a .csv file but it doesn't seems to be working can anyony please help me.I am not get getting how to use sqlldr.
    in CMD in giving this command
    sqlldr hr/hr control='c:/data/record.ctr'
    record.ctr>>load data
    infile 'c:\data\record.csv'
              into table record
    fields terminated by "," optionally enclosed by '"'          
    ( Name,uday, hemant )
    sql table in data base>>CREATE TABLE "RECORD"
    (     "NAME" VARCHAR2(50),
         "UDAY" VARCHAR2(50),
         "HEMANT" VARCHAR2(50)
    record.csv>>name,uday,hemant
    c1,45454,84894
    c2,489654,21322
    can you please tell me how can i get this simple example run.

    C:\>sqlldr scott/tiger
    control = data.ctl
    SQL*Loader: Release 10.1.0.2.0 - Production on Thu Sep 14 17:06:46 2006
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Commit point reached - logical record count 3
    SQL> conn scott/tiger
    Connected.
    SQL> create table data (col1 varchar2(40),col2 varchar2(40),col3 varchar2(40));
    Table created.
    SQL> select * from data;
    COL1                 COL2                 COL3
    name                 uday                 hemant
    c1                   45454                84894
    c2                   489654               21322
    SQL>
    data.csv
    name,uday,hemant
    c1,45454,84894
    c2,489654,21322data.ctl
    load data
    infile 'c:\data.csv'
    append
    into table data
    fields terminated by ','
    optionally enclosed by '"'
    (col1,col2,col3)i hope it will solve ur problem

  • How to use two activex class objects in same vi

    HI
    I am using labview to read ECU data from INCA software .INCA providing COMTOOL API(incacom.dll). I am using ACTIVEX for  communication between INCA & Labview. My problem is If I have used single activex class object  I am able to read Inca version, getting the database path etc. If I have used two activex class in same vi (one to open Inca & other one is to read the folder structure) I am not getting output.I have attached snapshot for referance
    Attachments:
    activex1.JPG ‏114 KB
    activex2.JPG ‏107 KB

    It wasnt in the first two images you posted, or I couldnt see it anyway! That was the only reason.
    Did you try the database block on its own, just to confirm that it is working?
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • How to use wwdoc_api to load documents programmatically?

    Does anyone know how to load documents into content area by using wwdoc_api package? The add_document procedure take a BLOB argument, but I don't know how to pass BLOB to procedures. Many thanks! Simon

    The easiest way to load documents into a content area via an API is to use the wwsbr_api functions which let you pass the local directory path and name of files you wish to upload for use with items. Are you trying to upload documents for use by objects other than Content Area Items?

  • How to use ABAP to load data to a DSO

    I have a use case where we load data to a Direct Update DSO with an ABAP program. We do this by directly writing to the table /BIC/Atablename00. While this approach has been working for us so far, it has a few drawbacks:
    - no requests are generated (so you cannot easily revert your loads, archive them etc.)
    - the last "data refresh" date does not get updated
    - caching has to be turned off because the cache does not get notified about the new data in the DSO and therefore does not refresh.
    I am now wondering whether there is a more high level approach within ABAP that would allow me to mimic the regular loading process more closely by creating a "request object" to load the data, have delta queues maintained automatically etc.
    Is anyone aware of such an API?
    Thank you,
    Dennis

    Siggi,
    that is exactly what I was looking for. I also found your blog entry about that topic:
    Generic Extraction via Function Module
    as well as (an older) howto:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
    Thank you!

  • How to use incremental data load in OWB? can CDC be used?

    hi,
    i am using oracle 10g relese 2 and OWB 10g relese 1
    i want know how can i implement incremental data load in OWB?
    is it having such implicit feature in OWB tool like informatica?
    can i use CDC concept for this/ is it viable and compatible with my envoirnment?
    what could be other possible ways?

    Hi ,
    As such the current version of OWB does not provide the functionality to directly use CDC feature available. You have to come up with your own strategy for incremental loading. Like, try to use the Update Dates if available on your source systems or use CDC packages to pick the changed data from your source systems.
    rgds
    mahesh

  • How to use String to name objects

    Hello,
    I have an array of 100 Strings and I want to create 100 objects of a Class with same names as the ones in the Strings, is there any way to do it?
    I have searched the forum and I think it can be done with a Map Class, but I wonder if there is a more convenient way.
    Thanks,
    Kostas

    Any way other than actually putting them into the map? What did you have in mind? Some kind of zen map, perhaps? :-)
    This is exactly the sort of thing a map is for - mapping instances of one class to instances of another; in this case mapping strings to Resources. So this is almost certainly the best data structure.
    How you obtain the names and the Resources is another matter. Taking them in as separate arrays (which might have different lengths) may not be the best solution. A better solution might be to make the Resources able to identify themselves so you could add them to the Map and ask them for their names to use as the keys.
    Also, I notice that you're creating an array of these resources, but the array will be initialised with 100 (actually, 101 - 0..100) null pointers. This is probably not what you want. And even correctly initialising the array with Resources constructed through the default constructor might not be what you want. You could, maybe, wrap your map with another class which queries the map and lazily creates Resources for you if they don't already exist.

  • I am looking for an example of how to use the Rendezvous synchronization object.

    I can't seem to find an example that uses the TestStand Synchronization Step Types. I am specifically interested in the Rendezvous type. I am have programmed quite a few VC++ applications that use semaphores, so I am familiar with the overall idea of sync objects.
    Thanks in advance.
    ~tony

    Here is a pretty good example that illustrates the benefits of multithreading over single threaded tests, and it utilizes a rendezvous to synchronize its multiple threads (see attachment to this post).
    Jason F.
    Applications Engineer
    National Instruments
    www.ni.com/ask
    Attachments:
    Rendezvous_Demo.zip ‏81 KB

  • How to use a variable as object name? in actionscript?

    I am working on a flash menu and have a problem in it.
    here is the code i am using.
    I wanna use the variable mnu instead of this[mnu] but do not
    know how to do it. Any body can help me?

    >> var mnu = 'menu1';
    this[mnu].onRollOver = function(){
    <<
    Close, but it needs to be like this:
    var mnu = 1;
    this["menu" + mnu].onRollOver = function(){
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • How to use Jtree to load some directory?

    Hello everyone, I need use JTree to show the whole files and directories from some one directory(such as C:/test/javademo), so could you please give me some
    idea about that, thanks a million.
    Yours Leon

    I actually think recursion is a bad idea - why load all the subfolders and files into the tree recursively at the beginning? This will just take more time and disk access (think slow) which is unneeded. Below is the tutorial to write a JTree with a treeWillExpand listener. What you'll want to do is have it init a root DefaultMutableTreeNode to whatever folder you want it to begin at. Then you'll add children to that DefaultMutableTreeNode to represent the folder's contents (files and folders). At the point where the user wishes to expand a directory, the TreeWillExpand method will be called, you can get the path of DefaultMutableTreeNodes and use that to reference into the disk to load up the folder's children.
    I probably made that more complex sounding than it needed to be. Check out this sun tutorial and code examples:
    http://java.sun.com/docs/books/tutorial/uiswing/events/treewillexpandlistener.html

  • HT201362 hi, please guide me how to use the down load function! I really facing problem when selected software but can't smoothly up load?

    Hi, we're any expert can teach me the best solution or software can easily down whatever good lecture or good movie can easily control and. Down loading. Very much thankful to you

    >> then I get a completely blue screen.
    That probably means that you're not looking at a bug in Photoshop, but a problem with a driver - and the most likely cause would be your video card driver.
    And sure enough, your video card driver is almost 2 years out of date.
    Please go to NVidia's website and get the latest driver - then follow their directions for installation (so you don't get bits of old driver left over).

Maybe you are looking for

  • Changing the datasource in an excel file

    Hi, we used Oracle ODBC Version 7.3 V2.5 for a lot of Excel sheets. Now we are upgrading to ODBC Version 8.0.5 because the old version makes problems with Windows 2000. As the datasource is stored in the Excel file I need to know how to change the da

  • IN MIGO SCREEN F4 OPTION NEDD TO BE CHANGED TO DROPDOWN LIST

    Hi Guys, In MIGO screen Capture and post option can be select by F4 function and it show only technical name after selecting. I want this to convert in to dropdown and both technical name as well as description should display. Can some one suggest ho

  • Plug in s** off

    Hello Whenever i try to look at a webpage that has an applet embedded in it (using any browser) i get kicked out of the browser. I know this has something to do with the java plug in. As the Java cuppa coffee icon appears in the bottom right of the t

  • Adobe Premiere Elements pre-release

    Adobe Premiere Elements 9 is a complete movie editor software solution. Organize , create, enhance, and share home movies. With Adobe Premiere Elements 9, you can create entertaining movies with less effort, make your movies look professional with am

  • Standard sap???

    For sales scheduling agreement when I make the invoice of only one item the system verify that all items have a correct price determination. For example: I have an order with 3 items: item 1 has no price determination also value 0 item 2 has value 5