OpenTH Forums Forum Index
Return to the website
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Usergroups  Usergroups
Register  ::  Log in Log in to check your private messages


Post new topic  Reply to topic
 Shaders Demo « View previous topic :: View next topic » 
Author Message
Jack
PostPosted: Thu Apr 16, 2009 12:00 pm    Post subject: Shaders Demo Reply with quote   

Administrator

Joined: 20 Feb 2009
Posts: 266
Location: Cambridge, UK

Using Construct, I made this (0.5MB). You need a graphics card which is modernish for it to work, and the effects aren't great because they can't be configured, but I think there is some promise there.
_________________
- Jack
Back to top
View user's profile Send private message MSN Messenger
Bami
PostPosted: Thu Apr 16, 2009 2:59 pm    Post subject:  Reply with quote   



Joined: 02 Apr 2009
Posts: 20

You will also need the august DirectX update, which is 15 MB in my case, also requires a WGA authenticy check of your windows. Not a problem for me, my windows is legal, but it makes my firefox a sad panda Sad.

I thought the graphics would be handled with SDL, and not DirectX?
I like SDL a lot more over directx, since it's supported in other environments then windows. I really like ubuntu on my EEE PC >: (.
Back to top
View user's profile Send private message Visit poster's website
Jack
PostPosted: Thu Apr 16, 2009 3:07 pm    Post subject:  Reply with quote   

Administrator

Joined: 20 Feb 2009
Posts: 266
Location: Cambridge, UK

It would, this is just a little demo in Construct which uses DirectX. It just meant I didn't have to do any programming, which is good because I have no idea how to do this sort of thing Smile

It's just to see if the effects are worth the effort really. Pelenai seems to know more about this sort of thing.
_________________
- Jack
Back to top
View user's profile Send private message MSN Messenger
Bami
PostPosted: Thu Apr 16, 2009 3:25 pm    Post subject:  Reply with quote   



Joined: 02 Apr 2009
Posts: 20

Well, what shaders really are is just offloading graphics code to the graphics chip. So instead of doing everything in C you're offloading stuff in assembly or a higher shader language into the GPU.

Nothing that can be done in shaders can't be done in regular programming, it's just a bit slower.

What I'm trying to say, shaders is just a way of optimising things. There isn't a really "is it the effort" thing, it's just adding more graphical eyecandy. I'm all for procedurally generating more assets out of the already created assets on the fly, so that we can create diseases/stuff more easily, but I doubt it would "require" shaders.
Back to top
View user's profile Send private message Visit poster's website
Jack
PostPosted: Thu Apr 16, 2009 3:36 pm    Post subject:  Reply with quote   

Administrator

Joined: 20 Feb 2009
Posts: 266
Location: Cambridge, UK

Yes, properly they would be written in the higher level shader language, I think. It would be a fair amount slower doing it regularly I think though. The idea is that some diseases will just use shaders and nothing else, and so they won't work on computers which don't support it.
_________________
- Jack
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1




You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forumdesign by Dustin Baccetti & Joey Saddal
Powered by phpBB © 2001, 2009 phpBB Group