Gamestudio Links
Zorro Links
Newest Posts
Blind Zorro Window
by AndrewAMD. 09/11/26 15:30
Parent/child object
by 3run. 09/11/26 06:21
ZorroGPT
by TipmyPip. 09/09/26 14:35
[MED] Import from FBX (2010) missing!!!
by USER0328. 09/03/26 18:03
Purchase A8 full licence version
by ukgamer. 08/30/26 14:27
Retrieve optimize() variables order (edited)
by NorbertSz. 08/25/26 13:24
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (Martin_HH), 2,832 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
speedx, liop, Bauer097, riggi89, shuhari
19233 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