ikaruga Posted March 11, 2021 Share Posted March 11, 2021 I'm trying to do a super low-fi effect of lo-res procedurally generated terrain. (Think the HUD displays on the original terminator, or blade-runner cars.) What would be the best way of doing this with pixi? In the examples, I see references to various promising plugins. Quote Link to comment Share on other sites More sharing options...
Exca Posted March 15, 2021 Share Posted March 15, 2021 Depending on the style that could be done pretty easily with either deforming a plane mesh (with gpu or cpu, first option being much faster) or using ropes and then just moving points along the x-axis. Quote Link to comment Share on other sites More sharing options...
ikaruga Posted March 15, 2021 Author Share Posted March 15, 2021 (edited) 13 hours ago, Exca said: Depending on the style that could be done pretty easily with either deforming a plane mesh (with gpu or cpu, first option being much faster) or using ropes and then just moving points along the x-axis. Exactly. So should I be using a plugin? If so, which is the recommended one for this simple use case? As per the examples, I don't see 3D support out of the box Edited March 15, 2021 by ikaruga Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 16, 2021 Share Posted March 16, 2021 > I don't see 3D support out of the box there's no 3d support out of the box. However there is pixi-3d : https://github.com/pixijs/pixi.js/wiki/v5-Resources#3d-objects Quote Link to comment Share on other sites More sharing options...
Exca Posted March 16, 2021 Share Posted March 16, 2021 12 hours ago, ikaruga said: Exactly. So should I be using a plugin? If so, which is the recommended one for this simple use case? As per the examples, I don't see 3D support out of the box I was thinking of doing that in 2d, but just doing it so that it looks like 3D. For example if you animate 5 ropes with varying points you can get a semi3d looking set. Or if you create a mesh that you rotate and squash a bit and then move the vertices up/down you can get a mesh that looks like it was orthogonal 3d without doing any real 3D stuff. Quote Link to comment Share on other sites More sharing options...
ikaruga Posted March 17, 2021 Author Share Posted March 17, 2021 11 hours ago, Exca said: I was thinking of doing that in 2d, but just doing it so that it looks like 3D. For example if you animate 5 ropes with varying points you can get a semi3d looking set. Or if you create a mesh that you rotate and squash a bit and then move the vertices up/down you can get a mesh that looks like it was orthogonal 3d without doing any real 3D stuff. While simple because it requires no 3D, making it look "right" is likely very tricky... it definitely won't generalize to arbitrary terrains. I think the 3d plugin someone mentioned above is more promising :-) Thanks for the suggestion though Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.