Jump to content

playstation 1 graphics effect


Foxhound

Recommended Posts

Hey there fellow houdini cult members!

as the title says i am trying to "emulate" ps1 graphics, i figured out (at least i think i did) the affine texture warping part.

//get a matrix with the camera's transforms
string cam = "/obj/cam1";
matrix camMatrix = optransform(cam);

//extract out the camera position as a vector
vector cdir = {0.0,0.0,0.0}*camMatrix;
cdir = cdir;
vector raydir = normalize(v@P-cdir);


//Manipulate the UV coordinates for Affine Texture Mapping
float affineScale = length(raydir);//Scaling factor based on the viewing direction to the camera
v@uv *= affineScale;//Scale the UV coordinates

though i am struggling to nail it, it kinda works but the effect is not as visible as i expected. also i feel like i am missing quite some steps to really get that ps1 look and feel.



If you are down to help me figure this out i'd be very thankful and future houdini ps1 enthusiast might have a post to look at!

have a good one!

Denis

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...