mrdoob/three.js — Issue #1377: Centering the model and lighting issues
Author: joginayak
Created: 2012-02-22 09:17:17+00:00
State: open

Dear Mr. Doob

I am using three.js to visulize a 3D model. The node coordinates and connectivity is given to three.js through a data file and the model is rendered. I can see the model on the screen but it is not centered on to my canvas and i can see a lot of shadows. Could you please tell me how i can dynamically position the camera and the lights depending on where the model is rendered? Also, I am looking for help on the project I am currently working on. Could you give me links to tutorials or people who could help me out? I am a beginner.Thank you in advance.

Regards,

Jogi Nayak
Working on Virtual Prototyping
(ESI Software India Pvt. Ltd )