Foxhound Posted May 9 Share Posted May 9 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 affine_paul_warping.mp4 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.