Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by k_ivan. 06/10/26 14:39
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, ApprenticeInMuc, Grant), 2,182 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Shine!! #62990
01/30/06 04:51
01/30/06 04:51

A
Anonymous
Unregistered
Anonymous
Unregistered
A



Hi,
I noticed a feature that looked handy in 6.4 that's not in 6.3 and its the vec_for_uv and vec_to_uv commands, so I tried using it to create a metallic chrome look and it worked out alright in this little project. What's happening here is, if you'll notice the highlights only change when the object rotates, its because I shift the uvs on the texture according to its change in rotation to simulate a sort of reflective quality.
CLICK HERE TO DOWNLOAD THE SHINE DEMO WITH SOURCE WDL (1.5 MB)
and....here's a pic:

this is a very small project, please don't expect any large game with this 1.5 MB download. Press space bar or a mouse button to stop the objects from moving around.

Re: Shine!! [Re: ] #62991
01/30/06 21:22
01/30/06 21:22
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
It is not obvious what's specific about vec_to_uv etc. in your example, couldn't you achieve the same effect with shifting uv via material?

Re: Shine!! [Re: Pappenheimer] #62992
01/30/06 21:39
01/30/06 21:39
Joined: Jan 2005
Posts: 1,918
BagEnd, Hobbiton, The Shire, E...
B
Bilbo Offline
Senior Developer
Bilbo  Offline
Senior Developer
B

Joined: Jan 2005
Posts: 1,918
BagEnd, Hobbiton, The Shire, E...
lol as always felt like i was drunk or stoned :P looks good though


http://Lonewolfstudios.syxe.com - now in php! Bah, I'm nerd enough to enjoy the rattling ~ laethyn
Re: Shine!! [Re: Bilbo] #62993
01/30/06 22:01
01/30/06 22:01

A
Anonymous
Unregistered
Anonymous
Unregistered
A



yeah, I guess you can shift uv's if you have commercial (or pro) with shaders but I wouldn't know how to change every uv vertex with shaders.... it's probably possible though!


Moderated by  adoado, checkbutton, mk_1, Perro 

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