Jump to content

2D Ring starts darker and gets light/more transparent


Rick
 Share

Recommended Posts

http://dl.dropbox.com/u/1293842/Circle.jpg

 

The above image is the idea. Doesn't anyone know how to get this technique with paint.net? I want to use this idea for my unit selection ring but have a hard time describing it to google for how to do it. It starts out solid and dark and gradually gets lighter in color or more transparent.

 

Looking for some technique that will create a "perfect" ring and tone of colors and transparency value because doing it by hand is most likely not on option for me as I'd butcher it.

Link to comment
Share on other sites

Not sure about Paint.NET, but in GIMP it's easily possible. I made even a rotating cube with a Google+ logo on it, and rendered it from LE2 as seperate images per frame. Then I just loaded them into GIMP and the GIF animation was ready. So if you can do whole 3D renders with transparent background, you can for sure do 2D renders from LE2 too.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

So how did you do something like this in Gimp? I only need a static image as I'll use it as a texture to a plane and rotate the plane to give the "animation".

 

Also it seems like we aren't on the same page. I'm specifically interested in a ring that has this style where it starts dark at one spot in the circle and gets lighter/more transparent as it goes around. So not sure what you are talking about with 3D renders and 2D renders. I just want a 2D image that has a ring like this on it.

Link to comment
Share on other sites

You would still need a GIF animation to make the ring rotate, unless you use some OpenGL rotate commands to rotate it.

You can draw the ring with OpenGL commands too, using vertex colors. Just make a simple sin/cos circle func, which applies glColor4f() to each arc slice.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

I would be making this a texture that I put on a plane and draw in the transparent world. Then I rotate the plane which gives a similar result. This is for 3D unit selection for my game. I don't need a GIF. I'm more interested in how to make the 2D image of a ring like the one I've posted.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...