Question

I want to import a 3d model (preferably a wavefront obj file) and then be able to display that model in a swing component. From there I want to be able to move (translate) the model based on live input data.

Any suggestions on how this could be done?

Was it helpful?

Solution

I managed to load a local obj file with the j3d library using a slightly modified version of the code found here:

https://java.net/projects/j3d-examples/sources/svn/content/branches/dev-1_4/src/ObjLoad/ObjLoad.java?rev=192

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top