dev.gamez.lv Forum Index dev.gamez.lv
Latvian Game Developers Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 

Cg

 
dev.gamez.lv Forum Index -> Programmēšana
View previous topic :: View next topic  
Author Message
GiGa
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 25 Sep 2003
Posts: 887

PostPosted: Wed Mar 17, 2004 8:01 pm    Post subject: Cg

Sveiki,

Kaads gadiijumaa nezin, vai Cg valodaa pixel (jeb fragment ja jums taa labaak patiik) sheideriem ir kautkaadaa veidaa pieejama stencil buffera veertiiba attieciigajaa pixelii, vai arii jau esoshaa shii pixelja kraasa pirms tiktu ziimeets tekoshais pixels?
_________________
Back to top
View user's profile Send e-mail
gazz



Joined: 03 Jan 2004
Posts: 355
Location: Teika

PostPosted: Thu Mar 18, 2004 1:24 pm    Post subject:

bikuciit par adwanceetu man pagaidaam Wink, neesu ar taam lietaam njeemies. Cik atceros ta tu kodee OpenGL, bet mosha tew wareetu nodereet taada graamata kaa "MS Press - Microsoft DirectX 9 Programmable Graphics Pipeline.pdf". Taa ir itkaa prieksh DirectX, bet neesu lasiijis - tikai taa - izbrowsojis daudz.
Saturs:
Ch1: Vertex Shader Introduction
Ch2: Vertex Shader Virtual Machine
Ch3: Vertex Shader Examples
Ch4: Pixel Shader Virtual Machine
Ch5: Pixel Shader Examples
Ch6: HLSL Introduction
Ch7: The Language
Ch8: HLSL Examples
Ch9: Effect Introduction
Ch10: Assembly-Language Effects
Ch11: HLSL Effect Examples
AppA: Vertex Processing
AppB: ASM Shader Instructions
AppC: HLSL Reference
AppD: Effect Refference

Izskataas jau diezgan nopietni. Ja ir weeleeshanaas to graamatu ieguut -uzsit meilu wai arii te pat ieposto, cik ljoti tu winju weeleetos redzeet uz sawa desktopa Smile.
Back to top
View user's profile Send e-mail
GiGa
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 25 Sep 2003
Posts: 887

PostPosted: Thu Mar 18, 2004 8:33 pm    Post subject:

Paldies, GazZ, bet taa graamata mani laikam neinteresee, jo (kaa jau tu teici) es esmu OpenGL'ers. Un tik un taa shitaa te Cg valoda buutiiba ir neatkariiga no DX vai OGL.
Un diemzeel laikam uzzinat shiis te veertiibaas nebuus iespeejams, noka4aaju kaukaadu 280 lpp oficiaalo Cg manuaali un tajaa nav rakstiits kaa taas dabuut. ( bet nav arii rakstiits ka nevar Smile )

P.S. paskatiishos laikam kaa ir ar HLSL, mosh tur varees, kaugan Cg man labaak patiik jo ir tik ljoti liidziiga C.
_________________
Back to top
View user's profile Send e-mail
Eatme



Joined: 18 Jan 2003
Posts: 83
Location: Ventspils

PostPosted: Sat Mar 20, 2004 9:10 am    Post subject:

buutu jau jauka reklaama: "Ar muusu produktu nevar...." seko saraksts 150 lappushu garumaa Cool
_________________
Don't argue with a fool. He'll drag You to his own level and beat with experience.
Back to top
View user's profile Send e-mail
Guest






PostPosted: Mon Jul 05, 2004 3:45 pm    Post subject:

CG = HLSL, tie ir identiski jo Microsoft radija HLSL darbojoties kopaa ar NVIDIa
Stencilbuferi iespeejams vari dabuut njemot vinju kaa SetRenderTareget (GL ekvivalentu nezinu), ar domu norendereet stencilbuferi kaa tekstuuru un tad padot pixelsheiderim jau kaa tekstuuru ar kuru var dariit ko vien vajag.. nu kautkaa taa..
Back to top
GiGa
Indago Uzvarētājs
Indago Uzvarētājs


Joined: 25 Sep 2003
Posts: 887

PostPosted: Tue Jul 06, 2004 5:01 pm    Post subject:

Nu vairs man shito lietu nevajag, izraadaas viss mans plaans bija diezgan nederiigs, jo pagaidaam uz muusdienu karteem ir daudz aatraak veikt paardesmit float apreekinus nekaa vienu if.
_________________
Back to top
View user's profile Send e-mail
Display posts from previous:   
dev.gamez.lv Forum Index -> Programmēšana All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group