forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

3D Reflection Demo.

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
LionX



Joined: 27 Dec 2004
Posts: 61

PostPosted: Tue May 26, 2009 7:35 am    Post subject: 3D Reflection Demo. Reply with quote

with libgs and libvux there is now excuse why people are aren't doing much on ps2.

I created this sample to show how reflection is done on the cars in Gran Turismo 1,2,... this example use Libgs and Libvux included in the ps2sdk. it should compile with no problem, you might only need to update your ps2sdk files. note: this is a 15,000 poly mesh rendering twice mostly useing the main cpu. performance can be increased by changing funtion that start with 'Vux....();' to 'Vu0...();' to use VU0 in macro mode to do 3d calculations.

NOW GO CREATE ME A N64 EMULATOR DAMIT !

bin & source
http://ps2dev.org/ps2/Code/Demonstrations/3DReflection


Back to top
View user's profile Send private message
Lukasz



Joined: 19 Jan 2004
Posts: 248
Location: Denmark

PostPosted: Mon Jun 01, 2009 5:12 pm    Post subject: Reply with quote

Nice job, screenshot looks great :-)

I will run it on my PS2 later today.

Keep up the good work!
_________________
Lukasz.dk
Back to top
View user's profile Send private message Visit poster's website
Ozqi



Joined: 23 Jan 2010
Posts: 4
Location: Sweden

PostPosted: Sat Jan 23, 2010 9:44 am    Post subject: Reply with quote

Thanks for the great demo!

One question about changing Vux...() to Vu0...():

I could only find Vu0ResetMatrix(), Vu0TransMatrixXYZ() and Vu0ScaleMatrixXYZ() in my libvux.h (fresh from svn trunk) to use as replacements and after doing so I could not notice any performance increase.

Am I missing something or just expecting too much?

Thanks again for the great demo, really appreciated! Looks awesome!
Back to top
View user's profile Send private message
LionX



Joined: 27 Dec 2004
Posts: 61

PostPosted: Thu Jan 28, 2010 9:13 pm    Post subject: Reply with quote

thanks

thats because there is a whole lot more vu0 funtions needed to see a increase in speed.

i been busy lately but i will try to work on adding more functions soon to take advantage of the ps2's 3D power
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group