Search found 152 matches

by porcus
Fri Oct 23, 2009 12:31 pm
Forum: Code Snippets
Topic: Geometry Shaders for Irrlicht(development closed till later)
Replies: 59
Views: 17656

Good work! :D Image
by porcus
Tue Aug 25, 2009 8:21 am
Forum: Open Discussion and Dev Announcements
Topic: How about OpenGL 3.1 support?
Replies: 4
Views: 1380

Will geometry shader also be available or not ?
by porcus
Sun Jun 07, 2009 12:50 pm
Forum: Advanced Help
Topic: [Solved] Error with while loop in a hlsl shader
Replies: 17
Views: 5514

My graphics card: Ati Radeon HD3850.
The while loop works well in glsl so I thought that this is caused by hlsl but
I will try it with enabled vsync.
by porcus
Fri Jun 05, 2009 10:58 pm
Forum: Advanced Help
Topic: [Solved] Error with while loop in a hlsl shader
Replies: 17
Views: 5514

No that has nothing to do with picking or terrains.
by porcus
Thu Jun 04, 2009 3:53 pm
Forum: Advanced Help
Topic: [Solved] Error with while loop in a hlsl shader
Replies: 17
Views: 5514

Hello,

I solved the problem with this code:

Code: Select all

int i = 0;
for(i=0;i<200;i++) {
if(NB.r < height){
height -= step;
offsetCoord += delta;
NB = tex2D(heightMap, offsetCoord);
}
}
It's a little bit slow (60 fps in hlsl instead of 300 in glsl) but it works so far.
by porcus
Tue Jun 02, 2009 4:30 pm
Forum: Advanced Help
Topic: [Solved] Error with while loop in a hlsl shader
Replies: 17
Views: 5514

Thanks for your reply, but I with this I get only a white
screen with the sand glass mouse pointer. The program crashes during the
hlsl compiler tries to compile it. I get no error messages.
by porcus
Tue Jun 02, 2009 4:23 pm
Forum: Advanced Help
Topic: Help for Airplane
Replies: 5
Views: 771

During flight you have 4 forces which are affecting the airplane. (Lift, weight, thrust and drag) The lift vector is the normal vector of the wings. The weight vector is always pointing to the ground (it's NOT always the opposite of lift(only in straight and level flight)). The thrust vector is alwa...
by porcus
Sat May 30, 2009 2:43 pm
Forum: Advanced Help
Topic: [Solved] Error with while loop in a hlsl shader
Replies: 17
Views: 5514

This loop calculates the collision point between the ray from the eye and
a heightmap. And this is impossible without a loop.
by porcus
Fri May 29, 2009 10:14 pm
Forum: Advanced Help
Topic: [Solved] Error with while loop in a hlsl shader
Replies: 17
Views: 5514

Nothing of that works. There's no way to do this without a loop.
I've read on some other sites that the hlsl compiler tries to unroll
the loop and that's why it don't works. Is there any way to tell the
compiler that he shall not try to unroll it ?
by porcus
Tue May 26, 2009 10:33 am
Forum: Advanced Help
Topic: [Solved] Error with while loop in a hlsl shader
Replies: 17
Views: 5514

Yes, I am using shader model 3.0
by porcus
Mon May 25, 2009 10:30 pm
Forum: Advanced Help
Topic: [Solved] Error with while loop in a hlsl shader
Replies: 17
Views: 5514

[Solved] Error with while loop in a hlsl shader

Hi, I tried to convert a glsl shader to hlsl. The most things are working but in one line a get a very strange error: HLSL pixel shader compilation failed: (54): error X3511: loop does not appear to terminate in a timely manner (1024 iterations) [...] while (NB.r < height) {<-----this is line 54 hei...
by porcus
Mon Mar 23, 2009 2:48 pm
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 423045

Could you tell me where changes are necessary that I can
do it on my own ?
by porcus
Sun Mar 22, 2009 11:21 am
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 423045

Hi, I tried to use a tree with xeffects but the shadows are wrong. The alpha values of the leafes are ignored by xeffects although I set emt_alpha_channel_ref as materialtype. Here's a screenshot of the tree without Xeffects: http://img256.imageshack.us/img256/9403/schattenmitalphaaa.th.png Here's a...
by porcus
Wed Mar 18, 2009 2:30 pm
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 423045

Hi BlindSide,

I have some strange artifacts with ssao with your xeffects 1.1.
If I move the camera I get always black ugly stuff on the walls of the room.
(My graphics card: Ati Radeon HD3850)
by porcus
Mon Mar 02, 2009 3:25 pm
Forum: Everything 2d/3d Graphics
Topic: IrrMesh import
Replies: 3
Views: 1099

IrrMesh import

Hello,

are there any modelling tools which are able to import the irrmesh
format or are there any plugins available for this ?