Hi, > > Can anyone tell me if its possible to implement drag and drop on a > > Canvas3D object? I would like to drag and drop an object defined by > > me that stores image pixel information onto a canvas to be rendered > > as a 3D image.
> I implement a Drag & Drop function for 3D objects, I can use mouse > to drag and drop any point on the object while mouse moving. > white He wants specifically to drop onto the canvas... this has nothing to do with moving object around in 3d space, it is data transfer. short answer : yes the same as any other component. longer answer: if the objects are in files, then make a drop target on the canvas. new DropTarget(canvas3d, this); this must be a DropTargetListener then use the drop method to grab the data, ie as a url to a file... this url is then loaded as an object, by the loader, placed in the scene, lighted and centered, like the j3dfly app. viola, rendering object with a drop. hope it helps Chris =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".