blitzbasic

Author Topic: SETTEXTURE  (Read 236 times)

Offline WPShadow

  • Prof. Inline
  • *****
  • Posts: 1533
    • View Profile
    • http://lostrevenant.blogspot.com
SETTEXTURE
« on: 2012-Jul-20 »
Hi,

bis vor einiger Zeit hat es doch funktioniert, daß man mit SETTEXTURE 2 Texturen auf das selbe Modell "klebt" und beide angezeigt werden.

Leider funktioniert es nicht mehr. gibt es da eine Alternative oder eine Lösung dafür?

GLG

W.
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *****
  • Posts: 10277
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
SETTEXTURE
« Reply #1 on: 2012-Jul-21 »
Hm. Müsste ich mal überarbeiten und so machen, dass man da auch was steuern kann.

Offline WPShadow

  • Prof. Inline
  • *****
  • Posts: 1533
    • View Profile
    • http://lostrevenant.blogspot.com
Re: SETTEXTURE
« Reply #2 on: 2012-Jul-22 »
Da wäre es ja klasse, wenn man den Wert angeben könnte, wie stark man welche Textur sieht.

z.B. 0 bis 1. 0 zeigt 100% die 1. Textur, 1 100% die 2. --> 0.4 = 60% der 1. / 40% der 2.

Quasi wie ein Schieberegler oder so...

Sowas habe ich mit Setscreen mal versucht, aber irgendwie hat es nicht so ganz funktioniert... Leider...
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *****
  • Posts: 10277
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
SETTEXTURE
« Reply #3 on: 2012-Jul-22 »
Jo. Man müsste überlegen das auch bei X_ObjAddVertex einzubringen. Damit könnte man Übergänge von Sand auf Gras machen.

Offline WPShadow

  • Prof. Inline
  • *****
  • Posts: 1533
    • View Profile
    • http://lostrevenant.blogspot.com
Re: SETTEXTURE
« Reply #4 on: 2012-Jul-22 »
Oder z.B. Rost auf Metall usw.

Das wäre ja auch meine Idee dabei

Objekte altern lassen, indem man einfach die Texturen "tauscht"
AMD X2 4600, 2 GB Ram, ATI X1950 XTX, XP PRO SP2: GLB Premium 10.beta_dingsi, <(´.´<) Kirby Dance (>`.`)>
http://lostrevenant.blogspot.com
alea iacta est