Not sure which subreddit is suitable for this question.
If this is not the appropriate subreddit, feel free to delete this post.
P.S. It will be much appreciated if you can let me know the more suitable subreddit!
I’m trying to place a 3D avatar mesh onto a 2D image. For placement, I still use an arbitrary number to represent the avatar position. My focus right now is to orient the avatar properly.
The correct orientation for avatar is based on the orientation of given 2D image of a chair. To get the chair pose, I used a method Omni3D. Using the inferred 3D bounding box pose, I apply the pose to the vertices of the mesh and paste it onto the image.
But the result is not right, though I’m not sure why. I’m guessing it could be because the coordinate systems used are different. I tried to convert it, but it still doesn’t work. Can anyone point out where I’m wrong and how I should go about solving this?
Here is the code used to place 3D avatar to 2D image.
The coordinate system convention that Omni3D use are as follows.
+x right, +y down, +z toward screen
Below are the results that are wrong (links).
https://snipboard.io/BLbZEU.jpg
https://snipboard.io/EkAflL.jpg
https://snipboard.io/u0X3z8.jpg
https://snipboard.io/6hge4W.jpg
https://snipboard.io/8uIW39.jpg
https://snipboard.io/jfmODH.jpg
Any help is appreciated! I’ve been working on this for a week already and it’s still not fixed.
submitted by /u/harabayashi
[link] [comments]
r/learnpython Not sure which subreddit is suitable for this question. If this is not the appropriate subreddit, feel free to delete this post. P.S. It will be much appreciated if you can let me know the more suitable subreddit! I’m trying to place a 3D avatar mesh onto a 2D image. For placement, I still use an arbitrary number to represent the avatar position. My focus right now is to orient the avatar properly. The correct orientation for avatar is based on the orientation of given 2D image of a chair. To get the chair pose, I used a method Omni3D. Using the inferred 3D bounding box pose, I apply the pose to the vertices of the mesh and paste it onto the image. But the result is not right, though I’m not sure why. I’m guessing it could be because the coordinate systems used are different. I tried to convert it, but it still doesn’t work. Can anyone point out where I’m wrong and how I should go about solving this? Here is the code used to place 3D avatar to 2D image. The coordinate system convention that Omni3D use are as follows. +x right, +y down, +z toward screen Below are the results that are wrong (links). https://snipboard.io/BLbZEU.jpg https://snipboard.io/EkAflL.jpg https://snipboard.io/u0X3z8.jpg https://snipboard.io/6hge4W.jpg https://snipboard.io/8uIW39.jpg https://snipboard.io/jfmODH.jpg Any help is appreciated! I’ve been working on this for a week already and it’s still not fixed. submitted by /u/harabayashi [link] [comments]
Not sure which subreddit is suitable for this question.
If this is not the appropriate subreddit, feel free to delete this post.
P.S. It will be much appreciated if you can let me know the more suitable subreddit!
I’m trying to place a 3D avatar mesh onto a 2D image. For placement, I still use an arbitrary number to represent the avatar position. My focus right now is to orient the avatar properly.
The correct orientation for avatar is based on the orientation of given 2D image of a chair. To get the chair pose, I used a method Omni3D. Using the inferred 3D bounding box pose, I apply the pose to the vertices of the mesh and paste it onto the image.
But the result is not right, though I’m not sure why. I’m guessing it could be because the coordinate systems used are different. I tried to convert it, but it still doesn’t work. Can anyone point out where I’m wrong and how I should go about solving this?
Here is the code used to place 3D avatar to 2D image.
The coordinate system convention that Omni3D use are as follows.
+x right, +y down, +z toward screen
Below are the results that are wrong (links).
https://snipboard.io/BLbZEU.jpg
https://snipboard.io/EkAflL.jpg
https://snipboard.io/u0X3z8.jpg
https://snipboard.io/6hge4W.jpg
https://snipboard.io/8uIW39.jpg
https://snipboard.io/jfmODH.jpg
Any help is appreciated! I’ve been working on this for a week already and it’s still not fixed.
submitted by /u/harabayashi
[link] [comments]