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 

vu for processing vertex data

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



Joined: 17 Sep 2004
Posts: 23

PostPosted: Thu Nov 17, 2005 4:09 am    Post subject: vu for processing vertex data Reply with quote

I was taking a look at the vu pdf that comes with ps2 linux and I am a little bit uncertain about how it should be used. I couldn't see any way of constructing a gifTag from inside the vu. Is there an easy way to do this, or are you supposed to generate the gifTag and gif packet from the EE then send it to the vu to be modifed in some way (like doing a translation or adding lighting)?
Back to top
View user's profile Send private message Visit poster's website AIM Address
cheriff
Regular


Joined: 23 Jun 2004
Posts: 262
Location: Sydney.au

PostPosted: Thu Nov 17, 2005 8:15 am    Post subject: Reply with quote

I generate the gifTag on the ee and send it to the vu along with pre-transform and lit geometry(vertices, normals and texcoords). VU code simply makes sure that after all processing is done, the body of the packet (transformed and coloured points) lie in vu memory after the tag (or a copy of it) and kicks that to the GS.
You shouldnt need to touch/modify the tag from vu, since on the ee you know how many points/tris and all that stuff that goes into the tag.
_________________
Damn, I need a decent signature!
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