Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,731 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 4 of 5 1 2 3 4 5
Re: Concentric circles [Re: Michael_McCrickard] #189520
03/28/08 23:12
03/28/08 23:12
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Happy Birthday Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
yeah, will run under c-script too, but you need the commercial version if you use a6...a7 supports shader for every version

Re: Concentric circles [Re: Michael_McCrickard] #202702
04/16/08 15:56
04/16/08 15:56
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
Hey Scorpion,

I am finally getting around to trying that code. I'm totally unfamiliar with shaders and I may be doing something wrong. Is the shader code supposed to go in a separate file or something? I cannot get the shader code to compile under A6.60 or A7 (both Pro version). It doesn't recognize those Float4x4 data types, for one thing.

Thanks.

Re: Concentric circles [Re: Michael_McCrickard] #203014
04/18/08 21:12
04/18/08 21:12
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Happy Birthday Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
yeah, you have to use it in an *.fx file and add it to a material by writing

 Code:
MATERIAL* materialsName =
{
   effect="nameOfShader.fx";
}


(but that i did already in the given code)

Re: Concentric circles [Re: Scorpion] #203039
04/19/08 02:10
04/19/08 02:10
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
OK, thanks for that. This helped me determine that there is some Lite-C only code in main(), and my game is using C-Script. I'll have to try it with my free Lite-C version.

Re: Concentric circles [Re: Michael_McCrickard] #204697
05/01/08 02:31
05/01/08 02:31
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
OK, I have tried it with Lite-C, but I still can't make it compile. Here's the error:



No matter what I do, it doesn't seem to recognize the MATERIAL structure. Any ideas?

Re: Concentric circles [Re: Michael_McCrickard] #204782
05/01/08 17:42
05/01/08 17:42
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Happy Birthday Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
did you included acknex.h ?
 Code:
#include <acknex.h>


Re: Concentric circles [Re: Scorpion] #204856
05/02/08 01:39
05/02/08 01:39
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
OK, different error message, but the problem is still with that Material declaration. Weird, huh? This is the material part:

MATERIAL* circleMtl =
 {
  effect="circle.fx";
 }

and this is the error:





Last edited by Michael_McCrickard; 05/02/08 01:41.
Re: Concentric circles [Re: Michael_McCrickard] #204886
05/02/08 09:42
05/02/08 09:42
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Editions below commerical, doesnt support shader right?


3333333333
Re: Concentric circles [Re: Quad] #204924
05/02/08 13:04
05/02/08 13:04
Joined: Apr 2007
Posts: 582
Germany
Poison Offline
User
Poison  Offline
User

Joined: Apr 2007
Posts: 582
Germany
They do.
But just FFE.


Everything is possible, just Do it!
Re: Concentric circles [Re: Poison] #204947
05/02/08 15:43
05/02/08 15:43
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
So maybe that's the problem. The free Lite-C version doesn't support this kind of shader? I will try to run this with full A7 later tonight. Thanks for everybody's help in diagnosing this.

Page 4 of 5 1 2 3 4 5

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1