|
From: SourceForge.net <no...@so...> - 2006-01-02 14:08:31
|
Bugs item #1395320, was opened at 2006-01-02 14:08 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101703&aid=1395320&group_id=1703 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nick Collier (srcnick) Assigned to: Nobody/Anonymous (nobody) Summary: scaling and multiple displays Initial Comment: Hi Brian, Since no one seems to have an answer to your question (regarding that it is not the first time you ask this question), I share my experience on this, even if I don't really have a solution to your problem. I have the same problem as you have, using multiple displays at the same time. The problem seems not to be related with the particular kind of grids you use, since i'm using Object2DGrids and MultiObject2DGrids. I think it is a problem with the diaplays. It seems like the problem occurs when converting mouseclick coordinates to actual grid coordinates. After some testing, I came to the conclusion that the scaling factors are the same for all displays, meaning that when you have multiple displays with different sizes, the conversion uses the scaling factor of one daisplay even when converting coordinates for others, instead of using the appropriate scaling factors for each display. My "solution" to this is to make all displays the same size by dragging the frames. Since the sizes keep the same after restarting RePast when you don't add or remove displays in the code, it's not as tedious as one might be afraid. But it's still not very elegant... So I would appreciate a more profound answer to this question by someone with a deeper understanding of the displaying mechanisms. Hope this was somehow helpful. Jonas Jonas Nart na...@st... -----Original Message----- From: rep...@li... on behalf of Brian Tivnan Sent: Fri 12/23/2005 22:14 To: rep...@li... Cc: bkt...@ea... Subject: [Repast-interest] Problem with Probeable Agents Hello all! For some time I have been struggling with an apparent scaling problem between my grid and my display surface. I "believe" I have verified with print statements that my agents are accurately reflected on the display surface but when I try to probe some of the agents, either the wrong agent is displayed (easily detected since the agent states do not match the displayed states) or nothing is displayed (which usually happens in the lower right section of the display surface). Somehow, it seems like the underlying grid and display surface are out of scale. Incidentally, I have returned to the defaults for cell depth, health, and width and am using just a single Object2DTorus instead of a MultiObject2DTorus but I still cannot correct the problem. Any suggestions would be greatly appreciated! Thanks, Brian ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101703&aid=1395320&group_id=1703 |