Zeid's Epic Art Thread

Forum for the creative side of the game development process: art, music, storyline, gameplay, concepts, etc. Any sort of relevant discussion is welcome here.

Moderator: PC Supremacists

User avatar
Innerscope
Chaos Rift Junior
Chaos Rift Junior
Posts: 200
Joined: Mon May 04, 2009 5:15 pm
Current Project: Gridbug
Favorite Gaming Platforms: NES, SNES
Programming Language of Choice: Obj-C, C++
Location: Emeryville, CA
Contact:

Re: Zeids Epic Art Post

Post by Innerscope »

zeid wrote:Thanks for the feedback guys.
You said you were having some problems with your iPhone game? What API/libraries/frameworks are you using?
I'm using a C++ wrapper for most of my obj-c code. In terms of frameworks, OpenGL for graphics, OpenAL for sound effects, and AVAudio for background music. I actually have gotten over most of my issues. But will likely be rewriting my entity manager :( Which was cleverly conceived, but is to complicated for what I am trying to do/I'm sinking too much time into fixing it.
Sounds tricky, any particular reason you're using OpenAL and AVAudio? (Why not just use one or the other? I'm curious because I'm only using AVAudio for my game, and I've never used OpenAL before)
Current Project: Gridbug
Website (under construction) : http://www.timcool.me
User avatar
zeid
Chaos Rift Junior
Chaos Rift Junior
Posts: 201
Joined: Fri Apr 24, 2009 11:58 pm

Re: Zeids Epic Art Post

Post by zeid »

AVAudio is being used for background music as it supports significantly larger sound lengths than OpenAL. However AVAudio also causes a fair bit of lag whenever you go to play a different sound, this makes it unsuitable for much else other then background music in a realtime game on iPhone. OpenAL is harder to implement then AVAudio but if I want I can extend what I have and add 3d sound.
Axolotl Pop!
Image
Or, try it for free.

For many more free games online visit www.sam-zeid.com
User avatar
Innerscope
Chaos Rift Junior
Chaos Rift Junior
Posts: 200
Joined: Mon May 04, 2009 5:15 pm
Current Project: Gridbug
Favorite Gaming Platforms: NES, SNES
Programming Language of Choice: Obj-C, C++
Location: Emeryville, CA
Contact:

Re: Zeids Epic Art Post

Post by Innerscope »

zeid wrote:AVAudio is being used for background music as it supports significantly larger sound lengths than OpenAL. However AVAudio also causes a fair bit of lag whenever you go to play a different sound, this makes it unsuitable for much else other then background music in a realtime game on iPhone. OpenAL is harder to implement then AVAudio but if I want I can extend what I have and add 3d sound.
I see your point in using OpenAL for 3D sounds. Although you can use AVAudio for sound effects in real-time. (my game is real-time, has sounds going off simultaneously, etc)

Code: Select all

AVAudioPlayer *sfxPlayer = //initialization;
	[sfxPlayer prepareToPlay];
Will effectively get rid of the lag by pre-loading the sound. The only problem that I can run into would be playing the same sound simultaneously, which you may want for your game.
Current Project: Gridbug
Website (under construction) : http://www.timcool.me
pritam
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 991
Joined: Thu Nov 13, 2008 3:16 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Amiga, PSOne, NDS
Programming Language of Choice: C++
Location: Sweden

Re: Zeids Epic Art Post

Post by pritam »

Very nice characters :) I love them!
User avatar
zeid
Chaos Rift Junior
Chaos Rift Junior
Posts: 201
Joined: Fri Apr 24, 2009 11:58 pm

Re: Zeids Epic Art Post

Post by zeid »

Not really art... Playing with shaders in CG. Per-vertex lighting, per-pixel lighting and bump mapping all with optional multiple lights. Also loading in .ASE files and generating their normals. Ugly looking stuff but I'm sure I will improve it later on and have a crack at making a interesting 3d engine.

Axolotl Pop!
Image
Or, try it for free.

For many more free games online visit www.sam-zeid.com
User avatar
zeid
Chaos Rift Junior
Chaos Rift Junior
Posts: 201
Joined: Fri Apr 24, 2009 11:58 pm

Re: Zeids Epic Art Post

Post by zeid »

Here's a link to get the program.
Download
Axolotl Pop!
Image
Or, try it for free.

For many more free games online visit www.sam-zeid.com
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: Zeids Epic Art Post

Post by GroundUpEngine »

Niceeee! :)
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: Zeids Epic Art Post

Post by MrDeathNote »

Looks really nice man :)
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
Live-Dimension
Chaos Rift Junior
Chaos Rift Junior
Posts: 345
Joined: Tue Jan 12, 2010 7:23 pm
Favorite Gaming Platforms: PC - Windows 7
Programming Language of Choice: c++;haxe
Contact:

Re: Zeids Epic Art Post

Post by Live-Dimension »

I'm probably doing something utterly wrong, but...
---------------------------
creating vertex program from file
---------------------------
v_VertexLighting.cg(51) : warning C7011: implicit cast from "float4" to "float3"
v_VertexLighting.cg(56) : error C5013: profile does not support "for" statements and "for" could not be unrolled.
Image
qpHalcy0n
Respected Programmer
Respected Programmer
Posts: 387
Joined: Fri Dec 19, 2008 3:33 pm
Location: Dallas
Contact:

Re: Zeids Epic Art Post

Post by qpHalcy0n »

What video card have you got?

Cg gets VERY quirky sometimes....especially w/ ATi, and even more especially w/ OpenGL. To the point that its completely unusable.
Live-Dimension
Chaos Rift Junior
Chaos Rift Junior
Posts: 345
Joined: Tue Jan 12, 2010 7:23 pm
Favorite Gaming Platforms: PC - Windows 7
Programming Language of Choice: c++;haxe
Contact:

Re: Zeids Epic Art Post

Post by Live-Dimension »

It just happens to be an ATI 5770. =D
Image
qpHalcy0n
Respected Programmer
Respected Programmer
Posts: 387
Joined: Fri Dec 19, 2008 3:33 pm
Location: Dallas
Contact:

Re: Zeids Epic Art Post

Post by qpHalcy0n »

Ah, yeh then there's essentially no way in hell you'll be able to use CG w/ OpenGL on there.

ATi's driver is a very very strict enforcement driver and he's probably either compiling under an nvidia profile or a deprecated OpenGL/ARB profile for which the ATi driver will not generate correct code.....or even generate code at all.
GLSL is really the only way to go w/ ATi + OpenGL :(

Kinda sucks, I prefer the HLSL/Cg syntax.
User avatar
Lord Pingas
Chaos Rift Regular
Chaos Rift Regular
Posts: 178
Joined: Thu Dec 31, 2009 9:33 am
Favorite Gaming Platforms: NES, SNES, Nintendo 64, Dreamcast, Wii
Programming Language of Choice: C++
Location: Hiding In My Mum's Basement With My Pokemon Cards

Re: Zeids Epic Art Post

Post by Lord Pingas »

Your artwork is simply beautiful. :shock:
User avatar
zeid
Chaos Rift Junior
Chaos Rift Junior
Posts: 201
Joined: Fri Apr 24, 2009 11:58 pm

Re: Zeids Epic Art Post

Post by zeid »

Cheers.

Is it worth learning GLSL over CG? from what i saw the two are ridiculously similar (as with HLSL and other non-assembly based shader languages). For that matter is it worth learning an assembly based shader language?

Also is there a definitive way to programming correctly in C++ all I see are different approaches, obviously there will be one way more appropriate then the other, can anyone share some light to the most appropriate, most efficient approach to C++ design/programming Paradigms. My uni does a poor job of teaching paradigms. Tonight I tried to describe a delegate method to a friend, he got the syntax, and derived class stuff but didn't seem to snap to the 'delegate method' statement do other unis teach this better? Fux Australia is to focussed on simulation and not on games/programming.
Last edited by zeid on Sun Apr 04, 2010 4:09 am, edited 1 time in total.
Axolotl Pop!
Image
Or, try it for free.

For many more free games online visit www.sam-zeid.com
qpHalcy0n
Respected Programmer
Respected Programmer
Posts: 387
Joined: Fri Dec 19, 2008 3:33 pm
Location: Dallas
Contact:

Re: Zeids Epic Art Post

Post by qpHalcy0n »

If you plan on sticking to OpenGL, then you absolutely need to learn GLSL. Cg is completely useless when it comes to OpenGL, none of the hardware profiles work right. It does not support any of the newer profiles. The runtime is not good at generating code that works for ATi, its just a lose-lose. The cross vendor Cg support for the Direct3D API is far better.

Also, GLSL is not similar to HLSL/Cg at all really. It is HLSL that shares syntax verbatim with Cg. Unfortunately there's no good cross API shader alternative other than GPU assembly (which is essentially the same across vendors). Learning GPU assembly CAN be worth it, but for the most part nobody writes shaders in assembly anymore. Sometimes you can spot optimizable pieces of code where the high level compiler sortof falls on its face and optimize the assembly.... this does happen occasionally.
Post Reply