View Full Version : how to force show in wireframe mode
madjeter 07-03-2008, 09:50 AM Hi all,
As you know, by default, assets are shown with material. and you can press F3 to make it show in wireframe. Can I set one of my asset to show in wireframe mode using some script or SDK?
Thanks for the help!
|
|
martinB
07-09-2008, 10:46 AM
How about a separate layer that overrides the current shading mode and forces it to wireframe?
-- MartinB
RobGalanakis
07-09-2008, 02:09 PM
You can register a redrawViewsCallback that sets viewport.SetRenderLevel #wireframe, or another type of callback (such as the general event #viewportChange callback, haven't tried that though.
Rorschach
07-09-2008, 02:12 PM
On a similar note I was wondering if there was an option for "Show selected with Edge faces", it seems to be missing from maxscript no?
RobGalanakis
07-09-2008, 02:17 PM
On a similar note I was wondering if there was an option for "Show selected with Edge faces", it seems to be missing from maxscript no?
viewport.SetShowEdgeFaces <boolean> ?
BTW this is all in Accessing Active Viewport Info, Type, and Transforms area of Help.
Rorschach
07-09-2008, 02:21 PM
Close, but that's controlling the whole viewport. I'm looking for something that replicates views/configure/showselected with edge faces.
Only the object selected is displated with edge faces.
RobGalanakis
07-09-2008, 04:35 PM
Close, but that's controlling the whole viewport. I'm looking for something that replicates views/configure/showselected with edge faces.
Only the object selected is displated with edge faces.
Not sure exactly what you mean.
TzMtN
07-09-2008, 05:10 PM
I dont know if you can access it through maxscript, but I have asigned a hot key for it..
you can find it in the action table under the name of 'Display Selected with Edged Faces'
Cheers.
PiXeL_MoNKeY
07-09-2008, 06:02 PM
martinB's solution will be the only way to handle it. There is no way to override an objects display mode, but you can override how a layer and its objects display in the viewport. The only other choice would be replace the objects material with a Standard Map that is set to wire mode. This approach would give you some more options for display of the object.
-Eric
CGTalk Moderation
07-09-2008, 06:02 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.