Is there a wireframe mode, in the making for AGE? I think that would be a useful feature.
Well I’m not sure there’s a debug rendering mode for wireframe, but a simple and quick solution to be able to see an object wireframe would be to just set the fill mode of the material it’s using from “solid” to “wireframe”.
That’s sound like a solution I can use @Nyt0x, but I don’t find that feature in the editor. Where exactly is it?
Unfortunately it’s not expose in the editor at the moment. Keep in mind Atomic editor is still WIP and that Atomic is still a coder oriented engine so most of the features are not nicely exposed to the editor.
Anyway, you can just modify the material definition xml.
Material definition are either in:
Or in you’re project folder if you have any custom ones (look into your resource folder)
A material xml should look like this:
<material> <technique name="Techniques/NoTexture.xml" /> <parameter name="MatDiffColor" value="0.5 0.5 0.5 1" /> <parameter name="MatSpecColor" value="0.5 0.5 0.5 16" /> </material>
You can add a node to select the fill mode
<fill value="solid" />
If you’re using TS/JS (and C# should have bindings for it too), you can set a material fill mode directly:
Hope it helps.
It does. Thanks very much.
I couldn’t figure out how to do it by code.
You can set Wireframe Fill Mode on the entire scene in the editor via the Camera. Per-object settings would be handy though.
Doesn’t happen while editing. Only when running the game preview. It would be great to be able to see the wireframe in the editor, just as Urho3D had it.