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
2 registered members (alibaba, vicknick), 1,492 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
scratch my back i'll scratch everybodys #27016
05/08/04 16:16
05/08/04 16:16
Joined: Apr 2004
Posts: 65
E
elwood Offline OP
Junior Member
elwood  Offline OP
Junior Member
E

Joined: Apr 2004
Posts: 65
i am having trouble with materials and i will offer this really cool tree model to everyone if someone can help me write a script for it...it is a little over 1500 polies.. not good for a whole forest but it really looks good and the foilage looks really good from all angles..

the tree is in 3 parts..trunk...limbs...foilage...
i need a material script for the limbs and foilage that disables backface culling and fixes the sorting problems in tgas like this link discribes..
http://conitecserver.com/wiki/index.php/ImprovedOverlay

i also need this to be done without shaders becasue my video card does not support them...





Re: scratch my back i'll scratch everybodys [Re: elwood] #27017
05/08/04 19:29
05/08/04 19:29
Joined: Apr 2004
Posts: 65
E
elwood Offline OP
Junior Member
elwood  Offline OP
Junior Member
E

Joined: Apr 2004
Posts: 65
i am so sorry... i didnt see the user request board..

please dont yell at me.. i know how anal people can be at message boards when someone posts in the wrong topic...

could a mod please move my post??

Re: scratch my back i'll scratch everybodys [Re: elwood] #27018
05/09/04 15:16
05/09/04 15:16
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
you just have to assign that material to your models. what exactly is the problem?

Re: scratch my back i'll scratch everybodys [Re: ventilator] #27019
05/09/04 22:08
05/09/04 22:08
Joined: Apr 2004
Posts: 65
E
elwood Offline OP
Junior Member
elwood  Offline OP
Junior Member
E

Joined: Apr 2004
Posts: 65
hey vent, i found your post last night on the foliage script you wrote ... the one similar to far cry, and i got it to work really well.. this was just a really silly newbie problem.. i didint know know if i assigned the material in an action or what.. the starter thing threw me off.. but all works well now.. i had a small problem to start with, if the the model your using has several instances of the same texture overlapping... ie: leaves, branches, there is a wierd problem with the backface culling not being transparent in the alpha parts.. only for that mesh though.. other objects appear in the trasparent part of the alpha fine.. just not ones that are in the same mesh... a simple fix was just to make one copy of the piece and move all the piece together in wed instead of in your 3d progam...hope that makes sense cause reading back on it it dosent really make any but needless to say i solved the problem thanks to the Vent-man's awesome scripting super powers... and i will still give this tree to anybody who wants it.... just send me a pm... i dont have webspace so if somebody can up it for me that would be great.....


oh yeah, almost forgot... Vent, i am having problems with the unlit tag and your script... i am using unlit for most of my entities and painting or buring shadows in 3dmax.. when i use the unlit=no or check the unlit flag i get very strange results.. all the parts have alpha transparency but some parts loose thier texture and become completly black???? i dont know why this is happening anyideas???

Re: scratch my back i'll scratch everybodys [Re: elwood] #27020
05/09/04 22:16
05/09/04 22:16
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
if you want an unlit object you could try to substitute

colorArg1[0]=texture;
colorOp[0]=modulate2x;
colorArg2[0]=diffuse;

with

colorArg1[0]=texture;
colorOp[0]=selectarg1;

Re: scratch my back i'll scratch everybodys [Re: ventilator] #27021
05/09/04 23:10
05/09/04 23:10
Joined: Apr 2004
Posts: 65
E
elwood Offline OP
Junior Member
elwood  Offline OP
Junior Member
E

Joined: Apr 2004
Posts: 65
works like a charm... just one question.. what are those values... what do they mean.. i cant find them in the manual.. any place where i can learn more about materials??

Re: scratch my back i'll scratch everybodys [Re: elwood] #27022
05/09/04 23:22
05/09/04 23:22
Joined: Oct 2000
Posts: 1,543
Germany
A
Alexander Esslinger Offline
Senior Developer
Alexander Esslinger  Offline
Senior Developer
A

Joined: Oct 2000
Posts: 1,543
Germany
Also add "Lighting = False;" to your effect. For learning more about the render-states, see the DirectX SDK manual.

Re: scratch my back i'll scratch everybodys [Re: Alexander Esslinger] #27023
05/10/04 12:05
05/10/04 12:05
Joined: Feb 2004
Posts: 174
Somwhere looking for plants
D
Destop Offline
Member
Destop  Offline
Member
D

Joined: Feb 2004
Posts: 174
Somwhere looking for plants
hello, what programm did you use to make that very cool lokking tree? thanls you!


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