Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

12046 Posts in 1593 Topics- by 595 Members - Latest Member: KeelmHaxabefe

19. May 2013, 01:25:19 am
Xith3D CommunityXith3D InternalsDeveloper discussion (Moderators: Marvin Fröhlich, 'n ddrylliog)creating new effects
Pages: [1]
Print
Author Topic: creating new effects  (Read 1299 times)
hell32
Just dropped in

Offline Offline

Posts: 14


...compilling into hell64 (15% complete)


View Profile
« on: 11. March 2009, 07:48:21 am »

when i creating new effect, did i must implement it from some interface? or it not necessary?
b.c. i can't find what the implementation in celshading effect or any other...
Logged

Sorry i'm bad speak English xD
hawkwind
Getting respectable
***
Offline Offline

Posts: 365



View Profile Email
« Reply #1 on: 11. March 2009, 08:53:03 pm »

Uncertain of what your asking for.   Model move/rotate,  GLSL effect.  Can you providde more details??
Logged
hell32
Just dropped in

Offline Offline

Posts: 14


...compilling into hell64 (15% complete)


View Profile
« Reply #2 on: 12. March 2009, 09:37:15 am »

yes, offcause=)
i'm need to use glsl effect

oh, and question, how about use cg shaders, the jogl uses Cg...is this possible?, to include it into effect
Logged

Sorry i'm bad speak English xD
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #3 on: 12. March 2009, 08:45:27 pm »

yes, offcause=)
i'm need to use glsl effect

Of course you want Smiley. But what kind of effect do you want to implement? Do you want to add a new implementation for one of the existing effects? Or do you want a completely new type of effect.

oh, and question, how about use cg shaders, the jogl uses Cg...is this possible?, to include it into effect

Well, Jogl may have support for Cg shaders. But it doesn't "use" them. Xith3D doesn't currently have an integratin for Cg. But GLSL should perfectly suit your needs. If you still want Cg, you may want to implement an integration for it and Xith.

Marvin
Logged
hell32
Just dropped in

Offline Offline

Posts: 14


...compilling into hell64 (15% complete)


View Profile
« Reply #4 on: 13. March 2009, 07:14:00 am »

Quote
Or do you want a completely new type of effect.
yes i'm need complete new effect

i think, to use Cg , i'm need to complete implement Cg over glsl...
Logged

Sorry i'm bad speak English xD
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4403


May the 4th, be with you...


View Profile
« Reply #5 on: 13. March 2009, 02:06:09 pm »

yes i'm need complete new effect

It is a bit hard for us to help you, if you don't tell us, what kind of effect you want to implement. But as a start I suggest to have a look at the existing effect factories and implement your effect similarly.

i think, to use Cg , i'm need to complete implement Cg over glsl...

I'm not sure, if it is wise to use Cg, since you will have to implement the whole Cg integration for Xith first. And this isn't too easily done. Using GLSL you could start creating your shader immediately. What's the problem with GLSL?

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic