Pergunta

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?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top