Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 662 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
Re: need help with terrain multitexturing [Re: salem] #22505
01/29/04 07:38
01/29/04 07:38
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
What video card are you using??

Re: need help with terrain multitexturing [Re: Steempipe] #22506
01/29/04 07:40
01/29/04 07:40
Joined: Jun 2001
Posts: 2,006
USA
Darkstorm Offline
Senior Expert
Darkstorm  Offline
Senior Expert

Joined: Jun 2001
Posts: 2,006
USA
Here is the "level" that the shot was taken from... script and all. See if that works for you.

Terrain Test

Could be your card I suppose. The GeForce4 MX will not run this as far as I know. Do you get any errors about effect unsupported by hardware?

Re: need help with terrain multitexturing [Re: Darkstorm] #22507
01/29/04 08:13
01/29/04 08:13
Joined: Jan 2004
Posts: 53
CA
S
salem Offline OP
Junior Member
salem  Offline OP
Junior Member
S

Joined: Jan 2004
Posts: 53
CA
i am using a nvidia geforce 4 and its still not working for me...perhaps i theres some interference with the drivers from one of my other pieces of hardware... im sure if i can fix it this will rock out, thanks a lot guys for all your help- i really appreciate it (and if it is my graphics card i apologize for wasting ur time lol i prolly wouldve had this right a couple posts ago)

Re: need help with terrain multitexturing [Re: salem] #22508
01/29/04 17:09
01/29/04 17:09
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
i haven't read the whole thread but i use a geforce4 too and sometimes shaders don't seem to work for me if i don't add an empty fallback.

so try to add

technique fallback { pass p0 { } }

after the multitexture technique. i know this is strange but maybe it helps!

Re: need help with terrain multitexturing [Re: ventilator] #22509
01/31/04 05:32
01/31/04 05:32
Joined: Jan 2004
Posts: 53
CA
S
salem Offline OP
Junior Member
salem  Offline OP
Junior Member
S

Joined: Jan 2004
Posts: 53
CA
could you show me exactly where in the code is belongs? that was successful in removing the effect not supported by hardware error, but it still isnt rendering correctly...

Re: need help with terrain multitexturing [Re: salem] #22510
01/31/04 12:21
01/31/04 12:21
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
Goto ventilators "wiki" site and you can find where the fallback goes in the 2nd multitexture code posted there.

I would look at what Jeff says about your card too... If it is the MX you are out of luck as far as I know. And if it does support those, you need to know what versions of PS and VS.

A war story
I bought the Geforce4 MX 440 and found it does not support the pixel and vertex shaders and it has directx 7 on the card. I took the hit and then bought a freaking Radeon 9200 128mb so that I could at least run PS 1.4 and VS 1.1. It was not too expensive and more than enough to get my feet wet with these shaders. This only after spending many hours, if not days, as you are with the shader code.

Find out in your devices what your card is and let us know or find the specs on it online.



Re: need help with terrain multitexturing [Re: Steempipe] #22511
03/12/04 04:59
03/12/04 04:59
Joined: Jan 2003
Posts: 710
T
Templar Offline
Developer
Templar  Offline
Developer
T

Joined: Jan 2003
Posts: 710
well, here comes a true newbie question:

Would it be possible to use more than 2 textures?



Re: need help with terrain multitexturing [Re: Templar] #22512
03/12/04 19:09
03/12/04 19:09
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
Yes, more than 2 textures are possible. It will depend on what version of pixelshader your card supports as to how you will accomplish this.

You always have the option of making multiple rendering passes too, but that may come with a cost on your FPS.

I would look over the following threads to begin with:
thread

and

thread

Eric


Re: need help with terrain multitexturing [Re: Steempipe] #22513
03/16/04 16:19
03/16/04 16:19
Joined: Nov 2002
Posts: 71
U.S.
M
Migueljb01 Offline
Junior Member
Migueljb01  Offline
Junior Member
M

Joined: Nov 2002
Posts: 71
U.S.
I made a test level with a 512x512 terrain I made in photoshop. 3 textures first one is colored green called entSkin1. Second is colored Brown called entSkin2. The 3rd is a 512x512 32bit Tga with alpha. The terrain in wed has the action terrain which is ventilator's script that was posted here by Jeff Frazer. They are all added in Med accordindly with the alpha being labeled 3 of 3. When I run my level in Wed I only see the green texture. So my question is this. How do I get the 2nd texture to blend in better with the 1st texture. I can only see the first texture. What settings in the code make the 2nd texture stand out more. Thanks for your help anyone.

-miguel

Lead Level Designer- ULS and Realspawn Productions

Re: need help with terrain multitexturing [Re: Migueljb01] #22514
03/16/04 18:45
03/16/04 18:45
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
Using the code snippet from above; the alpha channel in your TGA file is what will determine the blending amounts and where. You need to more or less paint that info on the alpha channel. If you open up your TGA in photoshop or whatever, and the alphachannel is all black then just paint some white stripes or something on the alpha channel and see what happens.

Did you add a fallback technique that was posted by ventilator in this thread?? Reason I ask, if your card does not support the PS/VS or there is in error in the pass it will drop to the fallback technique. Which will just show the entSkin1 texture on the terrain.

What is the card you are using??

Eric





Page 3 of 4 1 2 3 4

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1