Canardia Posted February 9, 2023 Share Posted February 9, 2023 I always wanted to reproduce the hidden line effect like in Elite. Using textures leads to a stretching anomaly. Currently my approach is to bevel edges in Blender and paint them full white. I'm a n00b in shaders, so I don't know if that path would be feasible. The idea is this: Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Thirsty Panther Posted February 9, 2023 Share Posted February 9, 2023 Try this. https://www.shadertoy.com/view/wtVSDh 1 Quote Link to comment Share on other sites More sharing options...
Canardia Posted February 9, 2023 Author Share Posted February 9, 2023 That is wireframe, not hidden lines. I think a shader could not do the job, as it would need to know which edges to highlight, the artist doesn't want all edges that way. I just realized that Elite is 40 years old and it still reminds me of a very playable game. Now I came up with a quite stupid idea, but it might actually bring some bonus features: I could just draw the lines on top of a black model using white bars (streched cubes), or perhaps toblerone sticks. Upon collision the white bars would detach and float into space. 1 Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Josh Posted February 9, 2023 Share Posted February 9, 2023 You could make a wireframe version of the mesh and display it in addition to the polygon version: https://www.ultraengine.com/learn/CreateMesh?lang=cpp 2 Quote My job is to make tools you love, with the features you want, and performance you can't live without. 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.