2DWorlds Forums
If you zoom too far into a brick, it gets all distortred. - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Bug Reports (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=23)
+--- Thread: If you zoom too far into a brick, it gets all distortred. (/showthread.php?tid=2107)



If you zoom too far into a brick, it gets all distortred. - DSiDewd - 04-04-2011

Uploading video of the glitch in action...
Here it is.



RE: If you zoom too far into a brick, it gets all distortred. - Jacob__mybb_import1 - 04-04-2011

Why would anyone ever need to zoom in that far? Tongue

When the game draws a box, it draws the whole thing, even the offscreen parts. This is probably the source of the problem, but the only solution I can think of would require a lot of math, and it would make the game slower.


RE: If you zoom too far into a brick, it gets all distortred. - Duck - 04-04-2011

(04-04-2011, 06:05 PM)Jacob_ Wrote: Why would anyone ever need to zoom in that far? Tongue

When the game draws a box, it draws the whole thing, even the offscreen parts. This is probably the source of the problem, but the only solution I can think of would require a lot of math, and it would make the game slower.

Couldn't you just make it so that you can't zoom that far in?


RE: If you zoom too far into a brick, it gets all distortred. - Jacob__mybb_import1 - 04-04-2011

Yes, that would work.

What is the ScaleFactor of the camera when this starts to happen?


RE: If you zoom too far into a brick, it gets all distortred. - Duck - 04-04-2011

(04-04-2011, 06:12 PM)Jacob_ Wrote: Yes, that would work.

What is the ScaleFactor of the camera when this starts to happen?

Yay, I feel smart.


RE: If you zoom too far into a brick, it gets all distortred. - DSiDewd - 04-04-2011

(04-04-2011, 06:12 PM)Jacob_ Wrote: Yes, that would work.

What is the ScaleFactor of the camera when this starts to happen?

I'm not sure. How can you tell?


RE: If you zoom too far into a brick, it gets all distortred. - Jacob__mybb_import1 - 04-04-2011

(04-04-2011, 06:44 PM)DSiDewd Wrote:
(04-04-2011, 06:12 PM)Jacob_ Wrote: Yes, that would work.

What is the ScaleFactor of the camera when this starts to happen?

I'm not sure. How can you tell?

Click the camera in the navigator, then look at the property table.


RE: If you zoom too far into a brick, it gets all distortred. - JJRcop - 04-07-2011

(04-04-2011, 06:12 PM)Jacob_ Wrote: Yes, that would work.

What is the ScaleFactor of the camera when this starts to happen?

I did a simple experiment and found that approximately 721.4 ScaleFactor is about one unit on your placement grid.

I think that 721.4 is a good limit. At least for now.


RE: If you zoom too far into a brick, it gets all distortred. - Ice - 04-08-2011

I don't think you should change anything, like you said jacob, who would need to zoom in that far anyways.


RE: If you zoom too far into a brick, it gets all distortred. - Jacob__mybb_import1 - 04-08-2011

I agree with Ice.

I just tried it, and I was able to get to 68,000 before it started getting weird... that means one square on the grid displays as 68,000 pixels, which is about 67 average monitors lined up in a row.