Rastar Posted August 2, 2013 Share Posted August 2, 2013 I've looked through the docs but couldn't find it: Is there an API call to set the RenderMode to Wireframe? Similar to what you can do in the editor via View->Render Mode ? Quote Link to comment Share on other sites More sharing options...
Rastar Posted August 18, 2013 Author Share Posted August 18, 2013 Sorry, bumping this thread... I am procedurally creating a model with various surfaces and would prefer a wireframe model to better see if it's done right. Is there an API flag or something to do that? Quote Link to comment Share on other sites More sharing options...
Rastar Posted September 19, 2013 Author Share Posted September 19, 2013 Just stumbled across this in the header files, and since no one answered I'm gonna do that myself in case somebody else needs it ;-) if you set camera->SetDrawMode(DRAW_WIREFRAME) every is rendered as, well, a wireframe. 1 Quote Link to comment Share on other sites More sharing options...
shadmar Posted September 19, 2013 Share Posted September 19, 2013 Thanks. Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
AggrorJorn Posted September 19, 2013 Share Posted September 19, 2013 This also goes for physics debugging. camera->drawphysicsmode Quote Link to comment Share on other sites More sharing options...
Josh Posted September 19, 2013 Share Posted September 19, 2013 Bear in mind if something is not documented it may not work completely, or may be subject to change in the future. For example, wireframe rendering does not work on mobile devices. If you are fine with that, feel free to poke around the headers and discover secret features. 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.