Rounded Rectangle Corner Radius

Q and A about functionality and how to solve a special task for your application.

Rounded Rectangle Corner Radius

Postby Gsand » 11 Aug 2017, 22:45

I'm looking to a 1 pixel outline rounded rectangle but I don't seam to see any way to increase the radius of the rounded corners in the "Rounded Rectangle" node with out making the outline larger.
Is this possible in Ventuz?

Greg
Gsand
 
Posts: 17
Joined: 24 Oct 2016, 18:00

Re: Rounded Rectangle Corner Radius

Postby Gsand » 11 Aug 2017, 23:54

Something like this outline
Screen Shot 2017-08-11 at 3.45.14 PM.png
Screen Shot 2017-08-11 at 3.45.14 PM.png (6.47 KiB) Viewed 94 times
Gsand
 
Posts: 17
Joined: 24 Oct 2016, 18:00

Re: Rounded Rectangle Corner Radius

Postby Karol » 14 Aug 2017, 10:17

Hi Greg!

The Rounded Rect unfortunately does not have an 'inner roundness'.
You can fake it with an according texture (see attached VZA).
But I don't know if this meets your technical demands...

Best Regards
Karol
Attachments
innerRoundRect.vza
(12.75 KiB) Downloaded 12 times
User avatar
Karol
 
Posts: 444
Joined: 10 Jan 2012, 12:07

Re: Rounded Rectangle Corner Radius

Postby Joe Styles » 15 Aug 2017, 14:34

Thanks for that Karol a good 2D solution! It would be great to have a built in 3D solution.
We often use geometries to create a 3D frame which we can change the width and height on. See the attached archive, hope that helps Greg.

The only issue is that when we alpha it out you can see the joins and sometimes you do get aliasing issues at the joins.
Attachments
Rounded Box Frame.vza
(14.71 KiB) Downloaded 8 times
Joe Styles
Kinetic Pixel
User avatar
Joe Styles
 
Posts: 69
Joined: 19 Jan 2012, 12:10
Location: UK

Re: Rounded Rectangle Corner Radius

Postby lerou » 16 Aug 2017, 10:14

I often use stencil for that.
Attachments
RoundedFrame.vza
(18.86 KiB) Downloaded 4 times
User avatar
lerou
 
Posts: 222
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany


Return to How to