kovacsv / JSModeler

A JavaScript framework to create and visualize 3D models.
MIT License
654 stars 123 forks source link

How to create FirstPersonControls? #38

Closed thientu995 closed 5 years ago

thientu995 commented 5 years ago

How do I create a new camera in "First Person" mode? I made a move with the keyboard "W, A, S, D", but I'm having problems: the character can look to the left, right, up & down, however if we imagine the head of the character it can't be tilted Looking forward to help, thanks in advance!

kovacsv commented 5 years ago

Please specify the question a bit more. What do you have at the moment? Do you use the three.js viewer or the internal one? What is the exact point where you need help?

thientu995 commented 5 years ago

Thank you for taking the time to respond to my question. I solved the problem I set out :)

thientu995 commented 5 years ago

I'm having problems reading the ifc file of a 3d model with jsmodeler. Can you help me? Thank you

kovacsv commented 5 years ago

How can I help you with IFC file reading? JSModeler is currently not capable to read IFC files, and it is a pretty hard task, because IFC usually doesn't contain the BRep model, you have to build it up from primitives.

thientu995 commented 5 years ago

Now is there a way to read other formats besides support .3ds, .obj and .stl with JSModeler like THREE.JS https://github.com/mrdoob/three.js/tree/master/examples/js/loaders . Because, it's different usage of THREE JS?

kovacsv commented 5 years ago

No, currently only these file formats are supported.