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

positioning objects in the world #52

Open
jw3877 opened this issue Dec 9, 2016 · 1 comment
Open

positioning objects in the world #52

jw3877 opened this issue Dec 9, 2016 · 1 comment

Comments

@jw3877
Copy link

jw3877 commented Dec 9, 2016

For each triangle mesh, we can:

  • Upload the vertex position data to the GPU only once
  • Give each instance of that object a unique model matrix to position it in the world

For small scenes, it seems okay to position the objects manually using a combination of translation, scaling, rotation matrices. But imagine a complicated scene like a bedroom where there are many objects in close proximity -- a desk with a computer monitor on it, books scattered about, objects all over the place.

Manually positioning all of these objects with (trans, scale, rotation) matrices seems like a difficult job. If something is even slightly off, it might be noticeable -- like a vase floating on top of a table.

Is there software to "drag and drop" the meshes into desired position and have it generate the initial model matrices for each object? How do they create complicated scenes like this?

@danielepanozzo
Copy link
Owner

danielepanozzo commented Dec 11, 2016

Yes, there are many modeling software (https://en.wikipedia.org/wiki/List_of_3D_modeling_software) that can help you with scene creation. I recommend to use blender(https://www.blender.org), it is free and you can find a lot of educational material online.

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

2 participants