Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,619 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: water/caustics distortion fx with material mat [Re: Excessus] #181748
02/04/08 15:45
02/04/08 15:45
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
na wegen mir^^-hab ja geschrieben das ich noch nicht über weitere Varianten nachgedacht hab...ent_setskin is natürlich wunderbar einfach! Eins von meinen Problemen ist, das ich immer erstmal Alles schwieriger mache als es
eigentlich ist xD. Ja, so ist das nä->H<-mlich bei mir, Slin^^°

Re: water/caustics distortion fx with material mat [Re: Hummel] #181749
02/04/08 16:56
02/04/08 16:56
Joined: Aug 2005
Posts: 1,012
germany, dresden
ulf Offline OP
Serious User
ulf  Offline OP
Serious User

Joined: Aug 2005
Posts: 1,012
germany, dresden
yes, thank you all for the suggestions! its working quite good right now with an animation sequence of only 6 128x128 bitmaps set with ent_setskin. i did not notice any problems with rendering speed as i expected with this method.

this way i can still move the texture around using the matrix and use slins shader on the terrain!

however you do notice the switching a little bit due to only 6 textures in my test, i think it needs at least 16+, so you won't notice the switching anymore.

thanks again everyone!

Re: water/caustics distortion fx with material mat [Re: ulf] #181750
02/04/08 18:03
02/04/08 18:03
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
ok wenn das geklärt wäre hätte ich aber noch ne kleine Frage am Rande:
Weiß jemand warum ent_setskin nen Bitmappointer verwendet und bmap_load nen String um auf die entsprechende Bitmap zuzugreifen? Und warum ent_setskin schnell und bmap_load langsam ist?

Is jetzt natürlich en bissel off-topic, aber ich hoffe mal das stört niemanden.

Re: water/caustics distortion fx with material mat [Re: Hummel] #181751
02/04/08 18:15
02/04/08 18:15
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline
User
RedPhoenix  Offline
User
R

Joined: Jan 2007
Posts: 651
Germany
Naja entsetskin setzt einfach nur eine schon von der Engine bekannte Bitmap als skin für dein Object ein, also letztlich nur eine Zuweisung, ein GELADENES Object (die Bitmap die per Pointer verknüpft ist) wird an einen "Skinslot" verknüpft, während bei bmap_load eine der Engine unbekannte Datei neu in den Speicher geladen und mit einem Pointer versehen wird, damit man drauf zugreifen kann. Dies dauert logischerweise wesentlich länger, die Bitmap muss ja in den Speicher geschrieben werden, bei entsetskin teilst du nur einer Entity mit, wo im Speicher sie ihre Skintextur finden kann.
So ungefähr jedenfalls, ich bin kein Profi im Wissen darum, wie Arbeitsspeicherprozesse funktionieren.

Re: water/caustics distortion fx with material mat [Re: RedPhoenix] #181752
02/04/08 20:32
02/04/08 20:32
Joined: Mar 2006
Posts: 2,252
Hummel Offline
Expert
Hummel  Offline
Expert

Joined: Mar 2006
Posts: 2,252
ich danke dir^^

Page 2 of 2 1 2

Moderated by  Blink, Hummel, Superku 

Gamestudio download | 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