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 

Bump Mapping with GU

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



Joined: 01 Oct 2009
Posts: 96

PostPosted: Thu Dec 10, 2009 1:43 am    Post subject: Bump Mapping with GU Reply with quote

Hi there,

is there a way of having bump mapping on an object rendered with a texture using GU ? I've seen that on Windows DX and OpenGL are capable of, but was unable to find a way on PSP. Have any one of you solved this issue ?

Regards,
anmabagima
Back to top
View user's profile Send private message
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Thu Dec 10, 2009 6:37 am    Post subject: Re: Bump Mapping with GU Reply with quote

anmabagima wrote:
Hi there,

is there a way of having bump mapping on an object rendered with a texture using GU ? I've seen that on Windows DX and OpenGL are capable of, but was unable to find a way on PSP. Have any one of you solved this issue ?

Regards,
anmabagima

The psp gu does not support hardware bumpmapping of any kind. Your only option would be fake-bumpmapping with paletted textures or full software bumpmapping.
_________________
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Back to top
View user's profile Send private message Visit poster's website
anmabagima



Joined: 01 Oct 2009
Posts: 96

PostPosted: Thu Dec 10, 2009 6:53 am    Post subject: Reply with quote

Hi,

thanks. That is not what I've hoped to hear. Did you have expiriences with "fake" bump mapping ? Is there a best practice available ?

Thanks.
Back to top
View user's profile Send private message
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Thu Dec 10, 2009 7:42 am    Post subject: Reply with quote

No best practice, but here is a good reading on how to achieve bump mapping or similar per-pixel-effects via paletted texture mapping:
http://vcg.isti.cnr.it/activities/geometryegraphics/bumpmapping.html
_________________
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Back to top
View user's profile Send private message Visit poster's website
anmabagima



Joined: 01 Oct 2009
Posts: 96

PostPosted: Thu Dec 10, 2009 10:59 pm    Post subject: Reply with quote

Hi,

thanks for the link. I will check that out.

Regards
Back to top
View user's profile Send private message
a_noob



Joined: 17 Sep 2006
Posts: 97
Location: _start: jr 0xDEADBEEF

PostPosted: Fri Dec 11, 2009 2:47 am    Post subject: Reply with quote

Cheers raph! I think I might just give that a go, could never hurt as another feature to my engine ;) Along with my fullscreen 4xAA and fullscreen and or selective glow/bloom. If both are ran together I get about 60fps if they are seperate I can get about 260fps, gfx are fun to play with kids!
_________________
Code:
.øOº'ºOø.
'ºOo.oOº'
Back to top
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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