Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.4 how to display triangle meshes #61

Open
mafshar opened this issue Oct 12, 2017 · 3 comments
Open

1.4 how to display triangle meshes #61

mafshar opened this issue Oct 12, 2017 · 3 comments

Comments

@mafshar
Copy link

mafshar commented Oct 12, 2017

Hi!

I am able to load the matrices V and F, but I am a little confused as to how to display them/go about rendering them in the image using the ray-tracing technique.

Thank you in advance!

@jiangzhongshi
Copy link
Collaborator

Hi,

It's actual similar to the sphere case, only difference is that you are dealing with triangles now. Just treat the mesh as many independent triangles and follow through the ray tracing slide.

Best,
Zhongshi

@majia67
Copy link

majia67 commented Oct 14, 2017

I'm wondering which perspective should we use for this question? Perspective or orthogonal?

@jiangzhongshi
Copy link
Collaborator

@majia67 Both are fine, if you are using a general implementation it's just a line of difference. Perspective is better because you don't need to tune to hit the mirror afterward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants