How would I use stencils to clip a model or the like to inside a circle only?
[QUOTE=Jarva;42875573]How would I use stencils to clip a model[/QUOTE]
Generally you wouldn't.
[QUOTE=Jarva;42875573]or the like to inside a circle only?[/QUOTE]
That's incredibly vague.
[URL="https://www.google.ru/search?client=opera&q=facepunch+stencils&sourceid=opera&ie=UTF-8&oe=UTF-8"]First google query[/URL]: [URL]http://facepunch.com/showthread.php?t=1205832&p=37280318&viewfull=1#post37280318[/URL]
I was a bit vague. I meant to clip a DModelPanel, or is that in the same kind of process?
Stencils work the same for this as in that.
Draw your circle onto the stencil to some reference value, set the comparison function to only allow that value, then draw the model. You'll probably need to edit the drawing function of your dmodelpanel.
Sorry, you need to Log In to post a reply to this thread.