Adding Textures to Objects loaded via an Object Loader
Does anybody know how to add a texture to an object which has been loaded from a file.
e.g. a model in .obj format
I would go look for the Java3D Tutorial.
It has some examples using the .obj format for reading in 3D Objects.
Similar Messages
-
Do ABAP WebDynpro objects need to be added to auth.object S_SERVICE in ECC6
do ABAP WebDynpro objects need to be added to authorization objects in PFCG in ECC6.0?
(Same as we add Java WebDynpro object names to S_SERVICE authorization object in PFCG)
Thanks,
TiberiuI found authorization object S_ICF where I can add the ABAP WedDynpro applications.....unless someone else has a different opinion, I plan to close this thread....
Tiberiu -
BRFplus: Adding Intermediate Data Objects to Expression Workarea
Hi all,
running BRFplus on NW 70105.
I have a Step Sequence Expression with multiple steps calling various Functions. Some of the Functions return intermediate results which must be stored in the context workarea.
I would like to add these Data Objects to the workarea. However the system will not allow me to do this without first adding the Data Objects as signature parameters of the calling Function, even though this does not make sense for intermediate values.
Clicking the "Add existing Data Object" button for the workarea only allows me to add Data Objects which are in the context of the calling Function.
Conversely if a Data Object is deleted from the calling Function's signature, then when checked the Function issues error message "Assigned expression uses Element CUSTOMER/Customer which is not in the context".
Is the requirement to add all Expression workarea Data Objects to the calling Function's signature intended, or is this a bug ? Or is there some other way of doing it that I am missing ??
Thanks & regards,
GroganThis is a restriction in NW 701. This restriction is removed in NW 702.
-
Live Type textures and Objects not working
Everything had been working. Moved to a new home...so I had to take editing suite apart. Now when I open LiveType there seems to be a red render bar...and when i try to apply textures and objects to a new track...you see it in the canvas as a small black line. And you get nothing if you try to render the movie. though the font seems to be working
please helpLook in this discussion: http://discussions.apple.com/thread.jspa?threadID=1392289&tstart=0
To nutshell it, use an app called "Pacifist" to revert your ProApps to 4.0 from 4.5 and Quicktime from 7.4 back to 7.3. You can find links to all that in the other discussion. I found my liveType dead this morning and the culprit appears to be the combination of the ProApp update and the Quicktime update. I used Pacifist to revert and it was simple and fairly painless. Install Pacifist, drop the "old" update's .pkg onto the Pacifist icon in your Application folder and rock on. -
My LiveType have no textures and objects! Please help me! Thank you!
Sorry to trouble, thank you for taking your time to reply me =)
I just bought my Mac OS X 10.5.4 Leopard not long ago. And today is my first time using LiveType on my laptop. I've learn how to use LiveType in school before, but i just found out that my LiveType have no textures and objects. Can anyone tell me how to get it and get it more ? Where to get it for free ?
Thank youIf you have Final Cut Studio, there are two extra disks labelled "Live Type Media".
If you have Final Cut Express, Look on your Installer disk, the media files should be on there. -
I want to know last Invoice Which i added through Business Object
Hi All,
I want to know last invoice details which i added by Business Object. Can you give the solution???????.
Please consider the multi-user environment and Document Series also.
Thanks in Advance
Regards,
G.SureshHi Suresh,
How r u?
You can get the docnum of last invoice added by DI.
I had done the same please refer the code below.
May this will help you...
Dim IRetCodeHeader As Integer = oInv.Add()
Dim DOCNUM As String
DOCNUM = objMain.objCompany.GetNewObjectKey
regards:
SANDY
Sandeep Saini | Roorkee | India on Dec 23, 2008 5:25 PM -
Adding hyperlinks to objects in 3D PDF
Hi everyone,
I'm trying to figure out if 3D PDF has the capability to import a number of individual machine models (made in SolidWorks) to create a 3D layout of a facility, and then make it so people viewing this layout can click (or doubleclick) on a machine and have that open a web page (or another .pdf file)...are there javascript routines that get called when one of the objects is clicked/doubleclicked? If so, can that script be used to open up a url?
Any help would be appreciated,
Thanks,
Jon FournierOn second thought, here is the an example code for adding hyperlinks to objects. It will be very tedious to do this for a huge number of parts. If metadata could be stored (no such luck) in the u3d file, this process would be very easy.
- Greg
http://www.immdesign.com
The u3d file and pdf example are available using the links:
http://www.immdesign.com/templates/hyperlink.pdf
http://www.immdesign.com/templates/robotHand.u3d
Parts of the code below were given to me by Grayson Lang.
The code below must be added as a document level javascript
use the menu - Advanced->Javascript->Document Javascript...
// -------- Start of Document Script
initialize3D = function ()
var a3d = getAnnots3D(0)[0];
var c3d = a3d.context3D;
if ( a3d.activated )
app.clearInterval( timeout );
c3d.runtime.doc = this;
c3d.runtime.app = app;
var timeout = app.setInterval( "initialize3D()", 200 );
// -------- End of Document Script
// -------- Start of 3D Script
// Save this code in as a .js file and use it as the default
// script when inserting the u3d file into your PDF file
// ugly code to add hyperlinks on selection of an object
// this will only work with URLs and will not work for
// just openning any old file
// format for the hyperlink array -
// hLinks["the object's name"] = "file URL"
var hLinks = new Array;
hLinks["fingertip-1"] = "http://www.immdesign.com"
hLinks["fingertip-2"] = "http://www.myroombud.com"
hLinks["fingertip-3"] = "http://www.adobe.com"
function onSelection( objName ) {
if ( typeof( hLink = eval( "hLinks['" + objName + "']" ) ) != 'undefined' ) {
if (runtime.app) { runtime.app.launchURL(hLink); }
// ack! we have to create our own "pick" function since there is no way
// to get the selected object from the Acrobat pick right now
var downX = -999999999999;
var downY = -999999999999;
var mouseDown = 0;
myMouseHandler = new MouseEventHandler();
myMouseHandler.onMouseDown = true; //this prop is true by default
myMouseHandler.onMouseUp = true; //this prop is true by default
myMouseHandler.onMouseMove = true;
myMouseHandler.reportAllTargets = false;
myMouseHandler.onEvent = function(event)
// capture mouse down location
if ( event.isMouseDown ) {
downX = event.mouseX
downY = event.mouseY
mouseDown = 1;
else {
// check if mouse up is the same location as mouse down
if ( event.isMouseUp ) {
if ( downX == event.mouseX && downY == event.mouseY ) {
if ( event.hits.length ) {
objName = event.hits[0].target.name;
onSelection( objName );
downX = -999999999999;
downY = -999999999999;
mouseDown = 0;
//Register the handler and turn the mule on
runtime.addEventHandler(myMouseHandler);
// ------ End of 3D Script -
Livetype no longer shows or renders backgrounds, textures or objects.
After updating to FCP 6.0.3 and Quicktime 7.4.5 Livetype no longer shows or renders backgrounds, textures or objects. Here's a blog of current discussions of the problem.
http://forums.creativecow.net/thread/73/855577
I also have a screenshot of the Livetype canvas with a previously saved project that had a texture in the timeline, but now it only shows artifacting. As you can see below. What's going on??Will Salley1 wrote:
I think this might answer our questions:
http://discussions.apple.com/thread.jspa?messageID=7235041
Thanks for posting the link, very helpful, but I've got to disagree with your previous addition:
I have an identical issue so it's not an isolated incident.< </div>
Blackmagic is not mentioned in the OP. Weird hardware often expresses itself in weird artifacts. These are rarelyr the fault of the apple application, it's the hardware mfr that has failed (maybe because Apple has failed to get them the tools) to update their systems and make the updates available ot their users and for the suers to install them.
bogiesan -
Going to the last page of a table when adding a new object
I added a Table(com.sun.rave.web.ui.component.Table) on my page and a button outside of that table to add new object rows. My problem is that I want the table to move to the last page when I add a new object. Instead the default bahaviour is showing the first page. Even if the newly added row is on a page > page 1.
e.g If I have a table with 5 pages and I am on page 1 and I add an object I want to see the last page of the table where I added the new object. In other words I want it to go to page 5 or page 6 in case the number of the new object is > the number of displayable rows of a page.
I did it with Javascript but I just dont like it. I wanna do it programmatically.
Any help?
Thanks in advance guys!!!Hi!
Try to look here:
http://forum.java.sun.com/thread.jspa?threadID=5142038&tstart=45
Thanks,
Roman. -
Missing Livefonts, Textures and Objects
Hey guys
I urgently need some help with Livetype 2.1.4.
Recently I bought Final Cut Express 4 with comes with the Livetype application for my Macbook Pro. I installed the whole thing and Final Cut Express works fine but for some reason none of the Livefonts, Textures or Objects are installed in Livetype I can preview all of them but can not use them on the timeline.
Does anyone have any idea as to what is going on???
Any help would be much appreciated
Cheershttp://discussions.apple.com/thread.jspa?messageID=7482514�
http://discussions.apple.com/search.jspa?threadID=&q=missing&objID=f942&dateRang e=last90days&userID=&numResults=15 -
How do i install Lvt 2 textures and objects, i dont have any preview of them in the media browser. Can i install it from the LiveType Data 2 of LVT 1 ?
Not sure? I installe FC Express 3.5. Do I need to install them separate? To be honest I forgot I had Livetype till I saw some video on u-tube,and I really like what I see. I have already used a tiltle in I Movie,but the textures and objects would make it better. Thx for your reply
-
Revision: 15972
Revision: 15972
Author: [email protected]
Date: 2010-05-08 07:31:24 -0700 (Sat, 08 May 2010)
Log Message:
ChromeLibrary: adding rudimentary support for loading plug-ins defined in XML.
Modified Paths:
osmf/trunk/libs/ChromeLibrary/.flexLibProperties
osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/application/ChromeApplication.as
Added Paths:
osmf/trunk/libs/ChromeLibrary/org/osmf/chrome/configuration/PluginsParser.asrnair wrote:
I am trying to install Oracle 11g R2 on my windows 7, 64bit computer. After 42% of installation, it started showing some files are missing. Few of them are:
C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMLRSVCApp.ear
C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMLRSVCApp.ear
C:\app\User\product\11.2.0\dbhome_1\owb\external\oc4j_applications\applications\WFMGRApp.ear
C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\oc4j_applications\applications\WFMGRApp.ear
C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\owb.tmp
C:\app\User\product\11.2.0\dbhome_1\owb\bin\win32\setowbenv.tmp
C:\app\User\product\11.2.0\dbhome_1\oc4j\j2ee\OC4J_DBConsole\config\system-application.xml
And the final pop up winow says:
Database configuration Assistant:Info
*"Template General_Purpose.dbc does not exists. Please specify an exixting template for database creation"*
*"[INS-20802] Oracle Database Configuration Assistant failed"*
Details:
Cause:- The plug-in failed in its perform method
Action:- Refer to the logs or contact Oracle Support Services.
Following are the last few lines of the log file. Can anyone please help me to fix this problem?<snip>
the error has nothing to do with DBCA. DBCA was simply the last in a long string of victims.
Go back and read the instructions where you downloaded the install media. They state that the TWO zip files you download must be unzipped into the same directory. -
Can I extend time capsule by adding external drive connected TC via USB?
Hi,
I use my TC drive for backups, i's now full. Can I extend time capsule backup drive by adding external drive connected TC via USB? If yes, how do I his? I have 1TB WD external drive connected via the TC's USB, I can see the WD drive in the finder and the TC set-up...but I don't know where to go from here...
Thanks for your help
SteveruWelcome to the discussions, Steveru!
I think what you are asking is can you simply continue Time Machine backups by adding the new USB drive, correct? The answer is not exactly. See below for details.
To use the new USB drive for Time Machine backups, you'll need to Open System Preferences (gear icon) on the dock and open Time Machine. Click on Select Disk and click your USB drive to highlight it, then click Use for Backup. Here's the rub....Time Machine will make a new full complete backup of everything on your Mac's hard drive. There's no way to avoid this. After that, it will continue to make scheduled incremental backups just like it did before on the Time Capsule.
If you ever need to go back to your original backups on the Time Capsule, you'll need to right-click the Time Capsule icon on the dock and choose Browse Other Time Machine Disks.
When the USB drive start to fill, you may decide that you no longer need all the old backups on the Time Capsule disk since you should have a good history of backups on the USB drive at that point.
So, you could erase the Time Capsule disk and then start backing up to the Time Capsule disk again. At that time, it will also make a complete backup on the first pass and then normal incremental backups from that point forward. When the TC begins to fill again, then you could erase the older backups on the USB drive and start backups again on that drive. Then switch to the other drive in the future to keep things going indefinitely. If you go with this type of flip flop plan, you should always have a solid history of many months of backups at any given time.
Will a plan like this work? I don't answer a question on the forum unless I've done it myself. This has been working well for me for almost 3 years.
Pondini, the resident expert on Time Machine and Time Capsule affairs, may have some comments on this as well. If you haven't already seen his excellent guide, Using Time Machine with a Time Capsule or +Time Machine FAQ+, these are the best available sources of information on this subject on the Internet.
Or, if you don't want to erase any your backups, you could of course keep adding a new USB drive when the current drive is about to fill. -
Adding USB 2.0 ports via PCI cards
I was looking into picking up a used Quicksilver model but wanted to know about adding USB 2.0 ports via a PCI card. I read that it needs to be compatible with 33MHz bus and not a card that only runs 66MHz. Are most cards compatible that work in PC's with Quicksilver models?
I found a local shop selling Bytecc cards for under $10. Which would be a nice easy upgrade for the power mac. Any advice much appreciated.Not all USB PCI cards willwork in a Mac. A USB 2.0 PCI card is what you need. Best bet is any card with a NEC PD720100 or PD720101 chipset (xlr8yourmac results recommend the same). Read this for more feedback: http://www.xlr8yourmac.com/firewire/fwusb_card_deepsleep.html
Stick with the NEC chip, and try NOT to use drivers, Tiger doesn't need the drivers.
All of these Cards are NEC chipset based
Adaptec 3100LP
BAFO BF-460
Belkin F5U220
GWC UC-160
IOGear GIC250U & GIC251U
Keyspan U2PCI-5
O'toLink U2-C2A, U2-C2B, U2-P20N & U2-P50
Ratoc PCIU5
USBWholesale UII-PCIP
I recently installed an IOGear GIC251U in my G4 AGP running Panther. Was plug and play. Bought it used for $15 including shipping.
Cheers, Tom -
Adding a goemetry object in an already started applet, behvior ?
Hello there,
I would like to add a geometric form (cube, box, cone etc..) in an already
started applet. I think creating a specific behavior would be the most
appropriate.
Has anybody done this kind of thing before ?
Many thanks.
Gwena�lGreat thread! I am having difficulty with removing objects from a scene graph. See source code below:
addTarget creates a grpahicsObject (class consisting of some data, mainly a 3d object which is attached to a transformGroup).
//function to add an aircrafat to display
//attemps to create the aircraft in the specified location
//returns false if the spot is not null
public boolean addTarget(int location, float x, float y, float z)
if(targets[location]!=null)
return false;
//create transform vector
Vector3f targetTransform = new Vector3f(x,y,z);
//create the object
targets[location]= new GraphicsObject(targetTransform, TARGET_COLOR);
//add it to the scene graph
sadist.addObject(targets[location].getTransformGroup());
return true;
//sadist is an object that contains my universe and pretty much controls my display
//the add object code adds the created to the scene graph by adding the transform group to a newly created branchgroup and than adding that to the mother branchgroup. The mother branchgroup was attached to the simple universe object (see code snipit)
private Applet CreateWorld()
setLayout(new BorderLayout());
//create a new canvas
Canvas3D canvas3D = new Canvas3D(null); // NEED TO PASS IN SOMETHING
//add canvas to applet
add("Center", canvas3D);
BranchGroup scene = createSceneGraph();
mother = new BranchGroup();
mother.setCapability(BranchGroup.ALLOW_DETACH);
mother.setCapability(Group.ALLOW_CHILDREN_READ);
mother.setCapability(Group.ALLOW_CHILDREN_WRITE);
mother.setCapability(Group.ALLOW_CHILDREN_EXTEND);
mother.addChild(scene);
// SimpleUniverse is a Convenience Utility class
// code reuse saves time
simpleU = new SimpleUniverse(canvas3D);
ViewingPlatform vp = simpleU.getViewingPlatform();
TransformGroup steerTG = vp.getViewPlatformTransform();
//create my transform
Transform3D t3d = new Transform3D();
steerTG.getTransform(t3d);
//lookAt( from here, look here, vector up)
t3d.lookAt( new Point3d (2,2,2),
new Point3d (0,0,0),
new Vector3d(0,1,0) );
t3d.invert(); //inverted since the position is relative to the viewer
//set the transform for the transform group
steerTG.setTransform(t3d);
simpleU.addBranchGraph(mother);
return(this);
//function to add transofrm group to scene graph
public void addObject(TransformGroup object)
//should I create a new branch graph, add the transform group, and then
//add that to the simple u
//I don't think this is right as I have no real way of identifying this
//I need to look into a removeChild or something
//could result in 1000's of null nodes on scene graph
//yuck...
System.out.println("going to add the transformg group to the branchgroup");
BranchGroup t = new BranchGroup();
t.setCapability(BranchGroup.ALLOW_DETACH);
t.setCapability(Group.ALLOW_CHILDREN_READ);
t.setCapability(Group.ALLOW_CHILDREN_WRITE);
t.setCapability(Group.ALLOW_CHILDREN_EXTEND);
t.addChild(object);
t.compile();
//simpleU.addBranchGraph(t);
mother.addChild(t);
When I run the code with a tester function I can add the objects just fine but when I try to remove them (see code below) it doesn�t work.
//removal of targets will take place
public void removeObject(int location) throws CapabilityNotSetException
try
//I tried detaching the branchgroup via the detach() function
//howeve that wasn't successful either.
mother.removeChild(location);
catch(CapabilityNotSetException e)
throw e;
Any advice you could give would be great.
Thanks,
Mike
Maybe you are looking for
-
Unwanted data getting displayed in field .
HI , I have to populate a MRP controller into the report from a infoset, the Mrp controller is being picked up from OMAT_PLANT,The problem is that along with the MRP controller even the plant is getting displayed into the report e.g :AU01/Z02 where A
-
Gui_download, not able to write to the file
Hello all, I am testing file I/O....and have following code: parameters filename(128) default 'd:\test1.txt'. data fname type string. fname = filename. Data itab2 like sflight occurs 10 with header line. Select * from sflight into itab2 where carrid
-
Display resolution is different left and right sides
Hi, my HP G42 laptop now has a different display resolution on the left and right sides. The left half seems to have less resolution than the right side, the right side looks like it's in HD, the left side looks washed out. I'm not sure if it is a ha
-
Import RFCs from 3.1i system - Error in SAP MetaDataInterface
Hi, Trying to import some RFCs from a SAP R/3 3.1i system. However, getting an error in XI : Error in SAP MetaDataInterface: java.lang.NullPointerException #7 10:23:59 [AWT-EventQueue-0] ERROR com.sap.aii.utilxi.swing.toolkit.ExceptionDialog: Throwab
-
Image with transparent background als foreground of a button
I'd like to build an app with buttons using the phone's accent Color as Background and an Image with transparent Background as foreground of the button. It should look like the tiles on the start screen of WP8.1. The following code doesn't work (no f