Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (monk12, Quad), 830 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 4
Page 10 of 11 1 2 8 9 10 11
Re: terrain multitexturing shader [Re: Turotulco] #17385
04/30/04 17:22
04/30/04 17:22
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA

Not sure why your compiler is complaining of <texSkins> if you have copied the effect file that is currently working in the demo, but make sure that any reference to <texSkin> is changed to <entSkin>.

Otherwise, send your effect file over this way, either by PM or post the code.

Eric

Re: terrain multitexturing shader [Re: Steempipe] #17386
04/30/04 18:09
04/30/04 18:09
Joined: Dec 2003
Posts: 139
Norway
Turotulco Offline
Member
Turotulco  Offline
Member

Joined: Dec 2003
Posts: 139
Norway
Hi Eric,

Thanks for the reply. The reason it refers to texSkin instead of Entskin is because the screenshot was taken after I had grabbed Ventilators original code and insured that I was having the same problem with the original code. However, I get the exact same error using your shader_terrain.wdl. IOW, It's not your code that's broken, it's my environment somehow. I was just hoping that someone could tell me why the compiler was choking on the effect string. At least, that's what it looks like to me. ;-)

I am running the Commercial version 6.11.4 and should have no trouble with this. I have the action attached to the hmp and the compiler appears to be choking on a syntax error. But the code I am using is the code from your demo (or in this case Ventilators), copied into my working directory unmodified.

Any suggestions anyone?


b. rgds. T "That which does not kill us, makes us stranger. Are you sure you don't you mean stronger? Yes. Quite sure." ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ A6 Commercial Ver 6.5
Re: terrain multitexturing shader [Re: Turotulco] #17387
05/01/04 03:16
05/01/04 03:16
Joined: Dec 2003
Posts: 139
Norway
Turotulco Offline
Member
Turotulco  Offline
Member

Joined: Dec 2003
Posts: 139
Norway
Ah. Nevermind. The problem seems to be my version of A6, 6.11 is not gonna do it. I need 6.20. Unfortunately, my upgrade to A6 did not include a new client# and password, and I am dealing with slow turnaround on messages to the sales department. ;-)

Oh look! Another weekend. <VBG>

After I can manage my upgrade I am really looking forward to playing with this. Very neat stuff.


b. rgds. T "That which does not kill us, makes us stranger. Are you sure you don't you mean stronger? Yes. Quite sure." ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ A6 Commercial Ver 6.5
Re: terrain multitexturing shader [Re: Turotulco] #17388
05/01/04 03:48
05/01/04 03:48
Joined: Oct 2003
Posts: 1,258
Virginia, USA
qwerty823 Offline
Senior Developer
qwerty823  Offline
Senior Developer

Joined: Oct 2003
Posts: 1,258
Virginia, USA
Check and see if your password.txt file changed. When I upgraded from comm to pro, I thought I didnt get a new one was well, but low and behold, my passowrd.txt file was updated with the new one.


Never argue with an idiot. They drag you down to their level then beat you with experience
Re: terrain multitexturing shader [Re: qwerty823] #17389
05/01/04 13:25
05/01/04 13:25
Joined: Dec 2003
Posts: 139
Norway
Turotulco Offline
Member
Turotulco  Offline
Member

Joined: Dec 2003
Posts: 139
Norway
Qwerty! You're the Man!

Thanks many times over. Downloading as we speak.


b. rgds. T "That which does not kill us, makes us stranger. Are you sure you don't you mean stronger? Yes. Quite sure." ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ A6 Commercial Ver 6.5
Re: terrain multitexturing shader [Re: Steempipe] #17390
05/01/04 18:52
05/01/04 18:52
Joined: Dec 2003
Posts: 139
Norway
Turotulco Offline
Member
Turotulco  Offline
Member

Joined: Dec 2003
Posts: 139
Norway
OK. I'm up to 6.22 on the engine and now everyting compiles and runs. The script seems to be working because the tga map <four.tga> is getting applied to my terrain and the textures tiling can be affected by the skills in the action.

I'm basically having two problems at this point, mainly due to my ignorance. The first is LOD. When I examine the demo steempipe provides in MED I see three skins. Yet when I extract them, each skin turns into 4 bmps. One 256x256 gray, and three others at 128, 64 and 32, each a smaller LOD. 12 bmps for 3 skins. Can someone point me towards an explanation of creating this in MED? I'm suspecting that will answer my second question which is...

Alpha Channel. I'm using PSP7 and it doesn't seem to give me a lot of control over alpha channels. IOW, I can't seem to discover any way of manipulating the a channel or the b channel.

Thanks for all the help in getting this far, this is looking like one heck of a lot of fun.


b. rgds. T "That which does not kill us, makes us stranger. Are you sure you don't you mean stronger? Yes. Quite sure." ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ A6 Commercial Ver 6.5
Re: terrain multitexturing shader [Re: Turotulco] #17391
05/01/04 19:27
05/01/04 19:27
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
When I made the HMP in MED and imported the skins I added MipMaps to each of the (3) skins. That is why when you extract/export the skins you are getting a total of 12 spit out.

I am not familiar with how PSP manipulates the layers. Hopefully you can find a tutorial someplace.

Re: terrain multitexturing shader [Re: Steempipe] #17392
05/01/04 20:51
05/01/04 20:51
Joined: Dec 2003
Posts: 139
Norway
Turotulco Offline
Member
Turotulco  Offline
Member

Joined: Dec 2003
Posts: 139
Norway
Thanks! Yes, now my own terrain is set up pretty much like your example, skinwise, and it's a much smoother display now. I've used mipmaps and secondary skins to add texture to the terrains before. I didn't realize that simply adding mipmaps would create the LOD textures for a skin in MED. That's very nice.

The PSP is still giving me a little trouble, though I found I can splt the RGB channels into three parts and paint on each one, then merge them back together. But I only seem to be affecting the blue channel. I'm monkeying around with setting the palette transparency now and I think that should give me the alpha channel.

This is very cool.


b. rgds. T "That which does not kill us, makes us stranger. Are you sure you don't you mean stronger? Yes. Quite sure." ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ A6 Commercial Ver 6.5
Re: terrain multitexturing shader [Re: Turotulco] #17393
05/01/04 23:05
05/01/04 23:05
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
Hi

I've downloaded this little zip file, but when you come to the edge of the terrain, the crack-like texture seems to stop real suddenly, instead of blending over nice, anyone knows why??


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: terrain multitexturing shader [Re: PHeMoX] #17394
05/01/04 23:37
05/01/04 23:37
Joined: Dec 2003
Posts: 139
Norway
Turotulco Offline
Member
Turotulco  Offline
Member

Joined: Dec 2003
Posts: 139
Norway
I saw that too in the Demo. If you edit the four.tga you'll see it is the blend map for the cracked earth. In the places you noticed a sharp transition on the terrain, you'll see that the edges are very sharp on the blend map. I just did a Gausian blur in PSP, saved it, and the harsh edges went away.


b. rgds. T "That which does not kill us, makes us stranger. Are you sure you don't you mean stronger? Yes. Quite sure." ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ A6 Commercial Ver 6.5
Page 10 of 11 1 2 8 9 10 11

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