Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Pages: [1] 2

Author Topic: Anti-Aliased OpenGL Workspace  (Read 39693 times)

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Anti-Aliased OpenGL Workspace
« on: September 10, 2014, 03:10:30 pm »

Here's an update that supports anti-aliased OpenGL in all the working windows:

animcl1103.zip

You enable it in the View->Preferences dialog in the "OpenGL Workspace" area, and then you need to exit and restart Anim8or for the change to take effect.  Give it a try and let me know what you think!

Note: If the "AntiAliased" check box is grayed out your graphics card doesn't support it.
Logged

cooldude234

  • Sr. Member
  • ****
  • Posts: 902
  • You know what I realized, I dont have an avatar :\
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #1 on: September 10, 2014, 04:50:15 pm »

Sweet, now I don't have to force it through the control panel!
But are you going to implement a context re-loader in the future so that way we don't have to restart anim8or to enable anti-aliasing?
You see I often use the pixels of the line I am editing to see if its straight, and so enabling anti-aliasing would be great for normal use but would make trying to figure out straight lines a little more of a hassle.
Unless you implement some way of making a line straight on the common 8 angles (0deg, 45deg, 90, deg, so on).

PS. It took me about 15 minutes refreshing the page every 4 or so seconds just to load this page (because of the too many connections error).
Logged
¼

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #2 on: September 10, 2014, 05:36:10 pm »

Yes, I plan on allowing switching between AA and aliased on the fly - but I haven't quite figured it out, given my tangled code :-)
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #3 on: September 10, 2014, 07:06:37 pm »

cooldude234: Apparently there isn't any way to increase the number of simultaneously connected users on my host site, which is a bummer, or so the customer support person thought. I just decreased the log-on time from 15 minutes to 5 minutes, which sees a bit short, but let's see if that helps or if it is more of a pain to have to log-in after 5 minutes of inactivity.
Logged

Kyle

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #4 on: September 11, 2014, 03:57:33 am »

Darn, greyed out.  It seems anim8or has outgrown my old machine. heh
Well I cant wait to upgrade and actually see this work.

One issue I've noticed now though is that I cant get out of the preferences box now without canceling out of it. As in I get "Samples: malformed number", even if I don't change anything and hit ok.

This version definitely looks pretty ugly running on my machine compared to previous builds. My crappy specs are probably to blame here. I see elements of shaders looking better, but there's so much aritfacting going on in working views that it cancels that out.
I'll have to stick with the previous build for now.
« Last Edit: September 11, 2014, 04:16:56 am by Kyle »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #5 on: September 11, 2014, 05:16:13 pm »

Kyle" it shouldn't look worse on your computer than before. Can you send me a small .an8 project that shows the problem and a couple of screen shots? You can e-mail me at support (at) anim8or.com if you like.

Also I've fixed the can't-exit-without-canceling bug.
« Last Edit: September 11, 2014, 06:30:50 pm by Steve »
Logged

Kyle

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #6 on: September 11, 2014, 08:55:52 pm »

Here's a couple of shots. one from object, the other from scene mode.
These artifacts appear pretty much universally, on every object, any file. 

I can send you the first one if you want it. The other is probably too complex... But I'd imagine the file would probably look fine on your end.

I would also say the lighting is considerably brighter for some reason. It looks fine when rendered though.
« Last Edit: September 12, 2014, 03:11:01 am by Kyle »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #7 on: September 12, 2014, 12:27:05 pm »

Please send me the first project.  It looks awful!  Also, can you send the data from the About->SystemInfo dialog?
Logged

Kyle

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #8 on: September 12, 2014, 07:26:34 pm »

Alright, here you go.
« Last Edit: September 12, 2014, 07:27:32 pm by Kyle »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #9 on: September 12, 2014, 08:57:41 pm »

Check for an updated OpenGL driver. Intel is know for buggy OpenGL drivers, but the do fix things from time to time.

This project works perfectly on my computer in AA, non-AA, and using GLSL/ARB fragment programs/OpenGL materials.
Logged

Kyle

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #10 on: September 13, 2014, 03:32:10 am »

My card hasn't had a new open gl driver since 2012.  This isn't the first problem I've run into. I remember around 2010 had to downgrade the drivers to get anim8or to run. I've since updated them to the most recent and it works again. I wonder if downgrading again would fix this issue for me again. 

Kinda unrelated but another problem with openGL I've had is that photoshop CS6 used to use OpenGL for 3D and smooth zooming, worked well enough, but Photoshop CC doesn't recognize it at all.

Anyway, I wouldn't be surprised if I've gotten all I could out of this laptop/video card. 

Until then would it be too much to ask for some kind of legacy shader mode that would bring back the working shaders, sans related updates? Right now sticking with the previous build isn't a big deal, but I'm sure I'll want to use the toolset updates you add soon without it looking so nasty.  If not I guess I can always turn off shaders in the working space. (couldn't test it before the preference dialogue bug was squashed)
« Last Edit: September 13, 2014, 04:04:57 am by Kyle »
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #11 on: September 13, 2014, 02:39:00 pm »

You can use Ctrl-B to toggle through GLSL -> ARB fragment (the original shaders) -> regular OpenGL.  The *shouldn't* be any change in the ARB setting from how it used to be in older Anim8or releases - please let me know if you find any issues.
Logged

cooldude234

  • Sr. Member
  • ****
  • Posts: 902
  • You know what I realized, I dont have an avatar :\
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #12 on: September 13, 2014, 04:31:47 pm »

Steve are you going to add in the option to choose the amount of AA sampling you want? I mean for slower cards of course, like if I where to run this on my laptop and it were to have 32x SSAA it would just DESTROY my laptop, but if it were my tower it would amazing and run incredibly fast  ;)
It seems like an obvious thing so I assume you have already thought of that.
Also are you going to make the final Opengl renderer (the one you choose as the final renderer) output AA as well as the preview renderer? It would be nice considering I use the final Opengl renderer a lot for quick and dirty things (like my 3D case render I did).
Logged
¼

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2124
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #13 on: September 13, 2014, 05:44:17 pm »

You can set the number of samples in the View->Preferences dialog where you enable AA.

Of course, I will add AA support to the OpenGL renderer for both movies and single images. I wanted to work out the kinks first.
Logged

Kyle

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Re: Anti-Aliased OpenGL Workspace
« Reply #14 on: September 14, 2014, 12:04:32 am »

Ahh, Ctrl-B  appears to do exactly what I wanted (at a glance at least). Thanks steve.

Edit: holy crap I can see environment maps (among others) in real time now. That's a new one for me.  I just spent like 10 mins just rotating a sphere in awe. haha
« Last Edit: September 14, 2014, 12:29:41 am by Kyle »
Logged
Pages: [1] 2