|
Some recent topics started on our forums |
How to determine the distance between two computers by their IP adress
|
Hi all,
I'm a newbie in network. I'd like to know if it's far or near between two computers, by their IP adress or by their ping value( the latency between them)?
Can anyone tell me these in detail?
Thanks in advance! |
Posted December 29, 2010 8:44:50 AM
|
How to make viewport indepent of the window size?
|
Hi all,
How to make the rendering context not stretched when the window size(width and height) is changed?
Thanks in advance! |
Posted February 14, 2009 8:06:19 AM
|
How to Use NV_vertex_program3 in GLSL
|
Hi all,
I want to use NV_vertex_program3 in GLSL. The spec says that one should add
OPTION NV_vertex_program3;
at the begin of the vertex program. But when I added it to my GLSL vertex shader code, the program generated errors as foll... |
Posted May 8, 2008 9:55:15 AM
|
Realtime Subsurface Scattering Skin Rendering
|
Hi,
This is my Realtime SSS skin Demo. It is using Translucent Shadow Maps(TSM) to calculate the Subsurface Scattering for every vertex, via the Vertex Texture Fetch(VTF) technology of Shader Model 3.0. VTF allows sampling textures at the vertex pro... |
Posted May 6, 2008 5:33:55 PM
|
A question about D3DXCreateTexture()
|
Hi all,
I use D3DXCreateTexture() to create a 512*512 texture, the code is as follows:
---------------------------------------------
int width = 512, height = 512;
float imageData[512][512][3];
int index = 0;
int x,y;
for(x=0; x&... |
Posted April 22, 2007 11:46:54 AM
|
How to use noise() in HLSL
|
hi all,
I use it this way:
fragout Out;
float4 color=tex2D(TextureSampler, TexCoord);
float cc=noise(color);
Out.color=float4(cc,0.0,0.0,1.0);
Then it prompts this error:"error X4532: cannot map expression to pixel shader instruction set."... |
Posted March 17, 2007 7:52:13 AM
|
A Question about Texture Coordinate Generation
|
Hi all,
When I using Cg to sample a texture whose texture coordinate is generated using glTexGeni() automatically, I come across an odd question. Let's look at follows:
LoadTexture("base.bmp"); // load bmp file as texture
// texture coordinate g... |
Posted April 2, 2007 9:46:46 AM
|
How to generate a paper texture?
|
Hi all,
How to generate a paper texture? Using procedural texture? noise function? cellular function?
Can anybody give me a detailed advice?
3x! |
Posted March 12, 2007 6:50:25 AM
|
How to generate a paper texture?
|
Hi all,
How to generate a paper texture? Using procedural texture? noise function? cellular function?
Can anybody give me a detailed advice?
3x! |
Posted March 12, 2007 6:49:22 AM
|
Is there f4tex2D() funtion in HLSL?
|
Hi all,
There are some functions such as f4tex2D() and f4texRECT() funciton in Cg, then are there such functions in HLSL?
It seems that i cannot find them in HLSL.
If not, how do i simulate these functions in HLSL?
Thanks in advance! |
Posted March 2, 2007 1:07:47 AM
|
View All Topics Started By This User
|
|
Some recent replies made on our forums |
How to determine the distance between two computers by their IP adress
|
Thank you very much, hplus0603,UltimaX,Ezbez,Antheus.
Ask another question, how to select the nearest node in the P2P network? Which is the criterion? the latency?
Thanks. |
Posted December 30, 2010 11:08:30 AM
|
How to make viewport indepent of the window size?
|
Direct3D 9 |
Posted February 14, 2009 12:42:44 PM
|
How to make viewport indepent of the window size?
|
Thanks for your reply.
My codes are:
D3DXVIEWPORT vp;
vp.X = 0;
vp.Y = 0;
vp.Width = nWindowWidth;
vp.Height = nWindowHeight;
pDevice->SetViewport(&vp);
D3DXMATRIX Proj;
D3DXMatrixPerspectiveFovLH( &Proj, D3DX PI * 0.25f, (float)nWind... |
Posted February 14, 2009 11:09:37 AM
|
How to Use NV_vertex_program3 in GLSL
|
Quote:Original post by V-man
Gf 7300 is a SM 3 GPU and the VS instruction limit is 512.
Gf 8 is 64K
There is no !!ARBvp2.0 so NV uses ARBvp1.0 and inserts their custom instructions that's why there is a OPTION NV_vertex_program3; in there.
Oh... |
Posted May 10, 2008 9:22:47 AM
|
Realtime Subsurface Scattering Skin Rendering
|
Quote:Original post by dcg_0_0
creepy
hehe, I'll add eyes and teeth next time. |
Posted May 9, 2008 1:07:49 AM
|
Realtime Subsurface Scattering Skin Rendering
|
Quote:Original post by SirKnight
Looks like the Jeepers Creepers monster paid him a visit. He has no eyes. :)
(If you don't know what I'm talking about, go watch the movie Jeepers Creepers).
Thanks. I'll see the movie at my leisure. |
Posted May 9, 2008 1:06:38 AM
|
How to Use NV_vertex_program3 in GLSL
|
Thanks, everyone.
I use Vertex Texture Fetch of NV_vertex_program3.
When I run my program in my notebook PC, it runs OK, its video card is NV GeForce 8300. But when I run the program in my desktop PC, it runs Error, its video card is NV GeForce 730... |
Posted May 9, 2008 12:58:23 AM
|
Realtime Subsurface Scattering Skin Rendering
|
Quote:Original post by Ender1618
Hey thats my friend's head!!!
Ah, the world is so small! :) I obtained this head model freely from the Internet. If your friend doesn't wanna me to use it, please tell me. I'll not use it. :)
|
Posted May 8, 2008 1:08:52 AM
|
Realtime Subsurface Scattering Skin Rendering
|
Yeah, it's a bit dark, because I modulate the base texture and the SSS result. Maybe I'd magnify the modulation, moreover add specular light.
|
Posted May 7, 2008 7:46:26 AM
|
Realtime Subsurface Scattering Skin Rendering
|
Thanks for your advice. I'll add eyes to it next time. :) |
Posted May 6, 2008 9:53:04 PM
|
View All Replies Made By This User
|