Tag Info

New answers tagged


This is a pretty advanced topic. Generally people like to use Boolean Set Operations implemented with a BSP tree for this kind of destruction, which revolves around splitting polygons over planes. Take a look at this paper by Naylor to learn how. This will let you overlay one mesh upon another and perform a subtraction. The results of the subtraction can ...


Like this: lw 0bRRRRRGGGGGBBBBBA, 0x04400000 lw 0x0140, 0x04400000 sw 0x0140, 0x04300000 sw 0bRRRRRGGGGGBBBBBA, 0x04300000 This sets up the framebuffer using 16-bit color depth, 320x240, and interlaced video with 60Hz timing signals; writing to the screen afterwards can be done various ways.


A straightforward cylindrical mapping should suit your purposes readily, if you look into the equation of a circle then you can come up with a 3D vector for any point on the pipe surface using all the data you have already, and your heightfield variation simply becomes variation of the radius parameter of the function. If visualisation is your goal, then ...


Unless the 3D structure of the pipe is important to your application, I would strongly recommend against visualizing things in 3D. This requires turning the pipe to see all sides, and requires developing a UI for interacting with the pipe (rotate, zoom, change focus). These interfaces are difficult to learn, even for technical people. I have enough ...

Top 50 recent answers are included