1 Attachment(s)
Re: NVIDIA CG in thinBASIC
You can play with the shader and see what it does,
for example modifying file C2E1v_red.cg ( from zip above ) to:
Quote:
struct C2E1v_Output {
float4 position : POSITION;
float3 color : COLOR;
};
C2E1v_Output C2E1v_red(float2 position : POSITION)
{
C2E1v_Output OUT;
OUT.position = float4(position,0,1);
OUT.color = float3(1+position.x,position.x > position.y,0);
return OUT;
}
... will give completely new look, as seen on image below :)
Petr
Re: NVIDIA CG in thinBASIC
Hey Petr, I thought I'd tell you that it works on my graphics card. :o
I just downloaded the redistributable binaries from this page & installed them.
Re: NVIDIA CG in thinBASIC
Hi,
I thought you have some Intel or SiS onboard, if it does work with it then I am saying bye to GLSL ;D
Am I correct?
Petr
Re: NVIDIA CG in thinBASIC
Yeah, my old XP laptop had a SiS card, my new Vista laptop has an Intel card.
I've tried both the thinBasic examples & they worked, the original VB6 examples wouldn't work but that's probably because VB6 programs aren't really supported on Vista.
Re: NVIDIA CG in thinBASIC
Thats is fantastic news,
thanks a lot Matthew!
Petr
Re: NVIDIA CG in thinBASIC
Petr, I will test it tonight... the eeepc has an intel graphics chip... will report back then. Am installing apps tonight on it.
I love how you can just crank out one surprise after another when you have even just a little bit of time, congrats on your exams
going well by the way!
1 Attachment(s)
Re: NVIDIA CG in thinBASIC
I get an error on the eeepc. The intel 915gm in the chart says it should support shaders.
http://www.intel.com/support/graphics/sb/cs-014257.htm
Attached is a screenshot of the dll's I placed from the binaries that Matthew linked to.
Re: NVIDIA CG in thinBASIC
Hi Kent,
thanks for the testing, Intel claims on that site that:
Quote:
Intel provides an optimized graphics pipeline for vertex processing that is included in Microsoft* DirectX*. This can be used by games to provide software geometry processing.
... so D3D only? I think I read somewhere Intel does vertex shaders in software mode anyway, will try to find that source and check what they write about fragment shaders.
It is quite odd to support VS 1-3 but PS 1-2 :)
Thanks,
Petr
Re: NVIDIA CG in thinBASIC
I saw that too about D3D, but why directx and not opengl... doesn't make sense to me. I will do more tests as I install things and write back in the future.