Old 15th October 2002, 23:12   #1
Junior Member
Join Date: Jul 2002
Posts: 32
3D Distortion

Hey guys, I'm having a problem with a 3D superscope I've been working on. I've got two SSs synchronized to look like a grid. However, when the camera moves close to the plane of the grid (so that it looks very horizon-ish), the lines of the grid become very distorted.
Attached are the superscopes in a zip file. Just wait a little while for the camera to get there.
If anyone could help, it'd be greatly appriciated!
Attached Files
File Type: zip distorted.zip (543 Bytes, 135 views)
KeatonMill is offline   Reply With Quote
Old 16th October 2002, 04:54   #2
Major Dude
Join Date: Feb 2002
Location: home
Posts: 1,318
Looks like it's caused by your points going behind the camera. Even if your z vale is negative AVS still draws the points.

Stoke me a clipper. I'll be back for Christmas.

- Arnold Rimmer
Red Dwarf
Jaheckelsafar is offline   Reply With Quote
Old 16th October 2002, 08:35   #3
Forum King
jheriko's Avatar
Join Date: Aug 2002
Location: a twist in the fabric of space
Posts: 2,150
Send a message via ICQ to jheriko
The only easy way to fix this is to move the camera further away from the plane. The alternative is to split each line up into several pieces and then clip the bits which are distorted by checking if the next point is behind the clipping plane and then making the color black if it is. There is a fair amount of code involved in doing that so I'd recommend against it unless you really want to see your plane in close up in that fashion. It would be best to move the camera just far enough back that the circle described by the corners of the plane almost touches it when the rotation is at its lowest.

-- Jheriko

'Everything around us can be represented and understood through numbers'
jheriko is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump