Code Monkey home page Code Monkey logo

antz's Introduction

Feel free to request support at: OpenANTz.com

Dual apps are provided for the MSW platform:

  • antz.exe core app (with) open source code.
  • ANTz+Xr.exe app (only) extended support for AR, VR and Mixed Reality.

Details: Wiki - ANTz+Xr

Usage: Wiki - User Commands

Download latest app proto build at OpenANTz.com

*As of 2023-02-09 the proto ver has no MySQL (otherwise it's better).

Download release ver (older)

Sample datasets and useful links at: https://openantz.com/links.html

3rd party licenses and helpful resources are in the apps 'doc' folder.


ANTz Copyright 2023 Shane Saxon. Licensed under Apache-2.0.

ANTz+Xr™ Copyright 2023 Shane Saxon. Licensed under CC BY-ND 4.0.

All trademarks are property of their respective owners.

antz's People

Contributors

lucasviz avatar saxondigital avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

antz's Issues

Can't Save Files using hot keys SHIFT+1, 2 or 3

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-07
Created: 2012-03-19
Creator: Shane Saxon
Private: No

after using the 'File Dialog Box' the current working directory(CWD) is not valid, this causes the Save File hot keys (1,2,3) to fail.

Workaround - you can Save using the time-stamped file with the 'K' key. The file will be saved to whatever directory you last opened a CSV from using the dialog box.

Channel numbers exceed actual channel count

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-03
Created: 2012-03-26
Creator: Shane Saxon
Private: No

The Channel numbers should iterate through valid numbers based on the loaded ANTzChMap... file. This would include skipping over blank regions

ie: could have only 4 channels, 2,3,8 and 42, should iterate through the valid list and skip over missing channels,'>' should rollover from 42 back to 2 or vice versa '<' go from 2 to 42.

need to update npChannel() function in npctrl.c
Discussion

Joh Johannsen
Joh Johannsen
2012-03-31

similar question as before, what do we want "channel number" to mean? For example, how would we get channels 2, 3, 8, 42? Where do these numbers come from? Are these just coming from ANTzChMap?

So the example ANTzCh0001.csv has tracks 1-29, the ANTzChMap0001.csv refers to channels 1 & 2. Does this mean channel 1 & 2 both refer to tracks 1-29 in ANTzCh0001.csv?

Docs using LF line ending is the .txt files instead of CRLF Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-10
Created: 2012-04-10
Creator: Shane Saxon
Private: No

Some of the .txt docs such as the readme.txt have been using Unix style 'LF' line endings instead of the DOS style 'CRLF'.

This causes a problem when viewing within apps such as Notepad where all the text appears on one line. All text (.txt) files should use 'CRLF' which works for all platforms.

Sphere Mapping Longitude coordinates offset 180 degrees

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-15
Created: 2012-04-15
Creator: Shane Saxon
Private: No

Sphere Mapping Longitude coordinates offset 180 degrees.

A node located at 0,0 coordinates will be a 180 degrees offset from the proper position and appear in the middle of the Pacific, (0,0 should be in the Atlantic off the coast of Africa.)

freeglut glutGetModifiers() called outside an input callback Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-10-12
Created: 2012-04-05
Creator: Shane Saxon
Private: No

Pressing the modifier keys (ALT, SHIFT, CONTROL) results in a glut error printed to the system console:

'freeglut glutGetModifiers() called outside an input callback'

workaround: Ignore, does not have any known ill effects.

Crash on App Startup - ANTz_2012_03_19

Status: closed
Owner: nobody
Labels: None
Updated: 2012-03-24
Created: 2012-03-23
Creator: Shane Saxon
Private: No

JJ,

oh... that makes sense ;)

going to put this on sourceforge Tickets...

thanks for the help... this actually points to a conceptual conflict in
the architecture...

the npPostMessage () serves the same purpose as printf()
all printf() statements will be updated to use npPostMessag()
added benefit is that it can print to the GUI console and a log file...
log file not yet implemented (but soon)
kNPmessageType... determines where displayed
in general nearly every msg goes to the OS system console and log
subset of messages to the user GUI console

the data Map' is initialized first then 'IO' then 'Control'
however, when cams are setup, they call a 'ctrl' command which calls
the IO method to post a message... (this should not be allowed)

a few problems here:

  1. Map init should not call any ctrl commands
    (ctrl is after Map and IO and is allows to call anything...)
  2. npPostMessage needs to be initialized before everything
    (which is what you did!)

i think i will make messages a member of the data->map
though they are an IO function... will need to carefully look at the code...

also perhaps add a safety catch to 'ctrl' that rejects any calls before both
data map and IO is fully initialized.

cheers,

Shane

On Mar 23, 2012, at 8:18 AM, JJ wrote:

that is there, and the place i put the init call is just to get things running again, but the npPostMessage is being called

but you can probably see it yourself by adding the print below (for me, this prints a large negative number... which is why it crashes on startup),

the call to the uninitialized message comes here in npctrl.c, that npPostMessage is being called before the iomessage is initialized

case kNPgraphCamera :
    ...lots of code...
    sprintf(msg, "%scamera id: %d", msgPart, node->id);
    npPostMessage (msg, kNPmessageTypeCtrl, dataRef);
    break;

void npPostMessage (char message, int type, void dataRef)
{
pData data = (pData) dataRef;
//add handling for type filtering, perhaps create a msg struct with type, debug zz

data->io.message.queIndex++;
printf("npPostMessage, queueIndex is %d\n", data->io.message.queIndex);
if (data->io.message.queIndex >= kNPmessageQueMax)
{

On Thu, Mar 22, 2012 at 10:19 PM, <shane wrote:
i thought i fixed this by adding npInitMessage() to npInitDataIO()

does this not show up?

if npInitDataIO() calling npInitMessage() stills results in the memory violation
then please let me know and i will hunt things down more carefully!

thanks again,

Shane

On Mar 22, 2012, at 9:55 PM, JJ wrote:

unrelated to 2010, ran across it earlier, change in an area I really don't know much about

but in any case, the change truly is necessary, and will randomly strike different people, its just uninitialized memory... there is something that is depending on that npInitMessage being called, if its not called, and that queIndex happens to be negative you get a crash, positive randomness is handled without a problem... here's the relevant section in npdata.c, the two lines marked "JJ"

void npInitDataIO (int argc, char argv, void dataRef);
void npInitDataCtrl (void dataRef);
void npInitMessage (void* dataRef); // JJ

//------------------------------------------------------------------------------
void npInitData (int argc, char* argv)
{
// allocate memory for the global 'data' structure
pData data = (pData) malloc (sizeof(Data));
if (data == NULL)
{
printf ("err 4213 - malloc failed cannot run app \n");
return NULL;
}

printf ("Starting...\n");

// initialize data
npInitMessage(data); //JJ
npInitDataMap (data);

On Thu, Mar 22, 2012 at 8:56 PM, wrote:
JJ,

allright... i think i should consider testing on VS2010
while officially we are on 2008... a lot of developers have moved to 2010 by now

i appreciate the help

cheers,

Shane

On Mar 22, 2012, at 8:50 PM, JJ wrote:

tried release clean/build, get immediate crash into assembly language, no freeglut error anymore

the one i have that works is release... will let you know what i find

On Thu, Mar 22, 2012 at 8:16 PM, wrote:
JJ,

thats strange, really note sure...

currently the freeglut.dll is in the same folder as the app...
(if you are in debug mode, try release and/or copy the .dll's from release to debug.)

the library is in the project folder and should be same version as the DLL (unless i mixed things up...)

since i don't see the problem, i wonder if it is somehow a VS2010 thing?

let me know..

cheers,

Shane

On Mar 22, 2012, at 7:26 PM, JJ wrote:

new version downloaded zip, clean, build, no problem

run it, it says i need to get or re-install freeglut.dll

When i use previous version, clean build, run, there is no mention of freeglut.dll missing, and everything runs...

Any idea what that means?

Is there some manual step to get it to know about freeglut.dll? I don't remember doing anything with that before, I do have freeglut.dll in the zip and my directories, but for some reason its not recognized at run time

Discussion

Shane Saxon
Shane Saxon
2012-03-23
    summary: ACrash on startup --> Crash on App Startup - ANTz_2012_03_19

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-03-24
    status: accepted --> closed

Crashes on Exit if File Dialog currently open Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-15
Created: 2012-04-06
Creator: Shane Saxon
Private: No

If the app is closed while the File Dialog box is open, then the app crashes on exit.

tested with W7 64bit.

Workaround:

  • Close the File Dialog before closing the application.

Camera is frozen and cannot be moved by mouse or keyboard Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-13
Created: 2012-04-11
Creator: Shane Saxon
Private: No

The camera can freeze and is unable to be moved by mouse or keyboard. Changing between camera, grid and pin mode does not unlock.

Have only seen this bug once and unable to repeat. If anyone can report the steps that cause this problem it would be helpful.

Channels are all the same Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-03
Created: 2012-03-31
Creator: Shane Saxon
Private: No

When assigning a channel_id to a node->chInputID, all node->attrib to track pairs assigned regardless of which channel_id those pairs belong to. This causes all channels (other then 0) to be the same.
Discussion

Joh Johannsen
Joh Johannsen
2012-03-31

when we have channel 1, 2, 3, ... etc. what exactly does that number 1,2,3 correspond to? I think it means "channel 1" is the first set of track data loaded, "channel 2" is the second set of track data loaded.
Is this correct?

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-03-31

the node->chInputID = channel_id in the ANTzChMap000x.csv

so when a node subscribes to a channel the node's chInputID is used to determine
which 'node->attrib to track' assignments to make

so for example (using existing ChMap file...)

node->chInputID = 1 results in assigning:
translate_x to track: 1
translate_y to track: 2
translate_z to track: 3

node->chInputID = 2 results in assigning:
scale_x to track: 11
scale_y to track: 11
scale_z to track: 11
color_r to track: 5
color_g to track: 6
color_b to track: 7

does that answer your question?

Reply
Link
Edit
Delete

Spam

Attach

Joh Johannsen
Joh Johannsen
2012-03-31

answers both questions

channel number originates in ANTzChMap000x.csv, and ANTzCh000x.csv has all
the tracks but is unrelated to channel numbers

I'll go with that, let me know if I'm not getting it

On Sat, Mar 31, 2012 at 4:18 PM, Shane Saxon [email protected]:

    the node->chInputID = channel_id in the ANTzChMap000x.csv

    so when a node subscribes to a channel the node's chInputID is used to
    determine
    which 'node->attrib to track' assignments to make

    so for example (using existing ChMap file...)

    node->chInputID = 1 results in assigning:
    translate_x to track: 1
    translate_y to track: 2
    translate_z to track: 3

    node->chInputID = 2 results in assigning:
    scale_x to track: 11
    scale_y to track: 11
    scale_z to track: 11
    color_r to track: 5
    color_g to track: 6
    color_b to track: 7
    does that answer your question?
        tickets:12 Channels are all the same*

    Status: open Created: Sat Mar 31, 2012 10:46 PM UTC by Shane Saxon Last
    Updated: Sat Mar 31, 2012 10:59 PM UTC Owner: Joh Johannsen

    When assigning a channel_id to a node->chInputID, all node->attrib to
    track pairs assigned regardless of which channel_id those pairs belong to.
    This causes all channels (other then 0) to be the same.

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/openantz/tickets/12/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/prefs/


Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-01

Yep!
- channel number originates in ANTzChMap000x.csv
- ANTzCh000x.csv has all the tracks but is unrelated to channel numbers.

ANTzChMap... defines the channel numbers and there corresponding sets of 'node->attrib to track' pairs.

Also, currently working on GUI methods that allow for adding/updating/changing existing channel mapping pairs and creating new channels. Of course we will need to be able to Save the ANTzChMap... for this to be useful.

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-03

Channels NOT synced to ANTz000x.csv State File

Status: closed
Owner: nobody
Labels: None
Updated: 2012-04-01
Created: 2012-03-26
Creator: Shane Saxon
Private: No

When loading a State File the Channels do not get synced to the ANTzChMap... file or vice versa. This means that we cannot load Channel node assignments from the State File.

Currently the only way to get a Channel to work is to press '<' or '>' with node(s) selected.

Topo/selection causes elongated cylinder Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-30
Created: 2012-04-23
Creator: Jeff Sale
Private: No

Version 2012-04-22:

Wow, nice improvements so far, but I haven't really given it alot of time. I have been playing with the demo files. The first thing I tried was to elongate and narrow a cylinder to make it a 'rod'. I did this with the cylinder in demo 2 with the earth map texture. I then did some other things, opened demo 1, deleted some objects from demo 2, created some new objects, played with textures, and then I selected one of the objects in demo 1, the root pin, and it suddenly changed into a long thin cylinder. I selected a few other objects and observed the same thing, although selecting objects at branch level 1 or greater resulted in default size and shape, not elongated. I saved a file (attached) though I'm not sure what help that will be. I cannot recreate the selection bug. I've tried a bunch of things.

However, I am observing another weird thing which may or may not be related. After I quit and restarted antz to see if I could duplicate the bug (and failed), I tried messing around with topo types, and when I cycle through them with the J key the root pin changes to an elongated cylinder. This is repeatable with my version of the latest antz. I can start with a new world, hit N, then J, and I get an elongated cylinder. Then it occurred to me that maybe this is not a bug and I'm just not understanding the purpose of the elongated cylinder.
1 Attachments
ANTz120423064737.CSV
Discussion

Shane Saxon
Shane Saxon
2012-04-25

the Rod Topo is designed to enable spoked graphs where the length of the spokes may be changed
without effecting the size of the attached objects.

A Rod works just like a Pin except for 3 things:
Scale does NOT effect child objects.
Default Length/Height is 10, (a pin is 5.)
Width is set by Ratio not Scale.

Cylinder Topo objects are quite different from the Rod Topo. Essentially they behave mostly like a
Sphere Topo. There are two main differences:
A child object that crosses the pole is wrapped to the opposite pole.
Child objects are attached only to the sides of the cylinder, (not the ends.)

In regards to the reported bug (Ticket #50), i looked at the attached CSV and it show the root topo
being assigned to that of a Rod. I also looked carefully at the code for anything/everything that assigns a
topo type. Far as i can tell the only thing that will change a Topo type during runtime is pressing the
'J' key or clicking on an object with mouse 'Topo Tool'. The Rod topo immediately follows the Pin topo.
So it is possible that you inadverently changed to mouse 'Topo Tool' in which case clicking on a root
pin would change it to a Rod.... however this should also follow for any other object... so i am not sure
and will leave the ticket open.

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-30
    status: open --> closed
    assigned_to: Shane Saxon

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-30

The Rod topo type is supposed to behave this way. (It is believed) that the geometry changed because the active mouse tool was either the 'Geometry' tool or the 'Topo' tool. Either of which upon mouse-click changes the geometry.

Sphere Mapping reverts to old mapping based on camera view angle Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-18
Created: 2012-04-18
Creator: Shane Saxon
Private: No

A rather bizarre bug in which the camera angle effects the type of mapping on the sphere. At some angles the texture map will have proper spherical mapping coordinates, at other camera angles the mapping will revert to the previous linear (non-spherical) mapping.

This hints at a more serious problem...
Discussion

Shane Saxon
Shane Saxon
2012-04-18

solved by adding code to npGLTexture() sphere texture method:
glDisable( GL_TEXTURE_GEN_S );
glDisable( GL_TEXTURE_GEN_T );

nothing serious....

Forcing Anti-Aliasing ON causes picking error at object edges

Status: open
Owner: Shane Saxon
Labels: None
Updated: 2012-04-25
Created: 2012-04-23
Creator: Shane Saxon
Private: No

If you set Anti-Aliasing ON (and override the software) in the video card settings it can cause an erroneous object to be selected when clicking on the edge of an object.

This is due to the fact that the picking algorithm depends on mapping color ID at draw time. Anti-Aliasing blurs edges which changes this color, typically to a lower value which will generally correspond to another object in the scene.

Workaround: Turn Anti-Aliasing OFF, or instead pick the center of objects.

will be fixed....

Under consideration is adding code to control anti-aliasing from software, and/or an algorithm that picks a region and chooses the most likely value based on discarding values out of range, maximum value and repetition of the same value.
Discussion

Shane Saxon
Shane Saxon
2012-04-25
    summary: Forcing Anti-Aliasing ON can cause picking error on object edges --> Forcing Anti-Aliasing ON causes picking error at object edges

translate_z for non-torus topo with torus parent is off by 2x Pi Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-18
Created: 2012-04-18
Creator: Shane Saxon
Private: No

An object that is NOT of torus topo type with a parent that is a torus topo type has the wrong translate_z distance from the parent torus. The object will appear further away by a factor of 2x Pi (6.28X).
Discussion

Shane Saxon
Shane Saxon
2012-04-18
    summary: translate_z has wrong distance scale for non-torus topo with torus parent --> translate_z for non-torus topo with torus parent is off by 8X
    status: open --> closed

Text Tags shown for nodes directly behind camera

Status: closed
Owner: nobody
Labels: None
Updated: 2012-03-24
Created: 2012-03-20
Creator: Shane Saxon
Private: No

Text Tags are displayed for nodes that are behind the camera. Seems to be related to the method in which screen coordinates are calculated... Need to update method and probably good to not draw anything whose pixel coordinates exceed the screen as this may speed things up and at least would take care of the empty box bug!

Channels - scale and ratio mapped to the wrong tracks Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-08
Created: 2012-04-08
Creator: Shane Saxon
Private: No

using test file: ANTzChMap0001_zz_CRLF_crashes.csv

this file no longer crashes since CRLF is now handled.

However it is still useful in that it demonstrates a bug with ratio and scale being mis-mapped...

ch=1 scale_x/y/z is mapped to track=2 but appears to map to tracks 1,2,3
ch=3 ratio is mapped to track=1 but appears to map to track=8

Delete Node displays wrong node ID - memory violation Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-03-31
Created: 2012-03-31
Creator: Shane Saxon
Private: No

When deleting nodes the wrong ID is displayed.

This is because the node memory is freed before posting the message that displays that the node is deleted. This message post accesses the deleted memory space.

Linux - Grid Lines are not drawn

Status: open
Owner: Lucas Erickson
Labels: None
Updated: 2012-04-18
Created: 2012-04-17
Creator: Shane Saxon
Private: No

As a workaround for the X11 server crash causing a log-out, the Grid Lines code has been commented out.

Instead of using glBegin(GL_LINES) to draw the grid lines, will try using (traditional) Vertex Arrays, (not VAO).

'L' key - File Dialog can't be seen in Fullscreen mode

Status: closed
Owner: nobody
Labels: None
Updated: 2012-03-24
Created: 2012-03-20
Creator: Shane Saxon
Private: No

When in Fullscreen mode, cannot see the File Dialog for opening CSV files.

Workaround - Press 'ESC' to exit Fullscreen... when done press 'ESC' again to return to Fullscreen.


Discussion

Shane Saxon
Shane Saxon
2012-03-24
    status: accepted --> closed

permanent workaround:

If in Fullscreen mode the app will Exit Fullscreen then display the File Dialog box and after the user closes the dialog the app will re-enter Fullscreen mode.

Hide and Info Tool also grabs and manipulates objects Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-12
Created: 2012-04-11
Creator: Shane Saxon
Private: No

When using Hide and Info Tool you can also grab and manipulate objects while in either Grid or Pin Mode.

Should only be able to toggle text tags or hide/unhide objects.

Camera heading jumps when L-button pressed during fly mode

Status: open
Owner: Shane Saxon
Labels: None
Updated: 2012-04-20
Created: 2012-04-06
Creator: Shane Saxon
Private: No

When in cam fly mode (holding R-button,) if the Left-button is pressed then the camera snaps to a new orientation heading.

Appears to be related/relative to the cam rotational velocity at the time of pressing the Left-button.

Workaround:

  • release the R-Button before pressing the L-Button and the camera will maintain heading during the mode transition.
    Discussion

    Shane Saxon
    Shane Saxon
    2012-04-20

    Behavior has been changed (slight improvement). Now if you press the L-button while still holding the R-button then the forward velocity is zeroed. Releasing the the L-button will re-zero the forward velocity as well. Left right turning is unaffected. If you release the R-button while still holding the L-button then the camera orientation will jump to a new heading.

Text Tags show box without text

Status: closed
Owner: nobody
Labels: None
Updated: 2012-03-24
Created: 2012-03-20
Creator: Shane Saxon
Private: No

text tags display the outline box without any text when the associated node leaves the screen on the left side.


Shane Saxon
2012-03-24

status: accepted --> closed

this bug occurred when objects were off-screen (on the left side) but the box would still be drawn.

A 'blank title' in the ANTzTAG000x.csv can also cause an empty tag box (one char wide)... this is not considered a bug, but rather a user error.

Channels loading files twice causes a gap in playback Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-09
Created: 2012-04-08
Creator: Shane Saxon
Private: No

If you press 'P' more then once to reload the channels file set it then causes a gap in the playback roughly equal to the length of the file... during gap in playback all assigned channels track data appears as zero.
Discussion

Shane Saxon
Shane Saxon
2012-04-08

When re-loading the same channel files, all existing data for tracks and channel mapping should be replaced.

Reply
Link
Edit
Delete

Spam

Attach

Joh Johannsen
Joh Johannsen
2012-04-08

http://temporalzone.com/code/jj/antz_msw_2012_04_08_2PM_zz_jj.zip

small change to npch.c for this one, but put entire zip there

On Sun, Apr 8, 2012 at 1:46 PM, Shane Saxon [email protected]:

        tickets:26 Channels loading files twice causes a gap in playback*

    Status: open Created: Sun Apr 08, 2012 08:46 PM UTC by Shane Saxon Last
    Updated: Sun Apr 08, 2012 08:46 PM UTC Owner: Joh Johannsen

    If you press 'P' more then once to reload the channels file set it then
    causes a gap in the playback roughly equal to the length of the file...
    during gap in playback all assigned channels track data appears as zero.

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/openantz/tickets/26/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/prefs/

Can't create tickets

Status: closed
Owner: nobody
Labels: None
Updated: 2012-03-26
Created: 2012-03-26
Creator: Anonymous
Private: No

can't create a ticket

Linux logs out if no pin-nodes in the scene Move Edit

Status: closed
Owner: Lucas Erickson
Labels: None
Updated: 2012-04-17
Created: 2012-04-10
Creator: Shane Saxon
Private: No

If no nodes are in the scene and you move the camera, Linux (Cent-OS) will log-out. Also true if you delete the last pin.
Discussion

Shane Saxon
Shane Saxon
2012-04-10
    assigned_to: Lucas Erickson

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-17
    status: open --> closed

Workaround:
Commented out the Grid lines code in npDragGrid() that uses glBegin(GL_LINES) which prevents X11 server from crashing which results in the log-out. The Grid quad texture is still drawn, just no the overlay lines. It is not known why this code causes X11 to crash. However, other users have reported the same problem with completely different software and circumstances.

This should be brought to the attention of the Linux community as it is already deemed a 'Critical Bug' and is usually difficult to repeat. However, in the case of our code it has been 100% repeatable, which could help solve the wider problem. Using the antz_linux_2012_04_11.tar.gz one must only launch the app and start doing mouse-drag movements to cause the crash. Another procedure is to create some pins ('N' key) and the delete all of them ('Del') and that also triggers the crash.

See Ticket #43 for further details on solving the Grid Lines draw issue.

Test Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-16
Created: 2012-04-16
Creator: Anonymous
Private: Yes

test
Discussion

Shane Saxon
Shane Saxon
2012-04-16
    status: open --> closed
    assigned_to: Shane Saxon

Transparency shows black where grid background should be Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-16
Created: 2012-04-16
Creator: Shane Saxon
Private: No

A transparent object shows a black background where the grid texture should be.
Discussion

Shane Saxon
Shane Saxon
2012-04-16
    status: open --> closed

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-16

Compromise where the Root Grid will show up behind transparent objects but not sub-grids. Has to do with draw order, which difficult to calculate for objects relative to grid planes. Current draw order (gives fairly good transparency for pins,) is determined by object center relative to the camera. This method is not sufficient for a large plane such as a grid... a more complex algorithm could be implemented but would impact performance.

Camera moving in Examiner XZ mode with mouse Left-Drag Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-22
Created: 2012-04-14
Creator: Shane Saxon
Private: No

The camera can get locked into Examiner XZ mode, where the camera orbits left-right and zooms in-out even when using the Left-Drag. Normally Left-Drag should orbit around the object (left-right) and top-bottom, known as Examiner XY mode.

Workaround: A Right-Click with the mouse will return the camera to a normal state where the L-Drag orbits the current object in

Channels crash while subscribing nodes when loading file set Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-05-01
Created: 2012-04-15
Creator: Shane Saxon
Private: No

bug with channels (or at least triggered by loading channel set.)

Steps:

  1. run the bat file: grid1x1x1_fractalglobe_colorpulse__bad.bat
  2. press 'P' to load channel set
  3. crash!

Two of the .bat files load channels successfully and the other doesn't. all three use the same channels and channel map files. The one with "bad" in the name has 20 branch level 2 objects (the pins) and hangs when loading the channels, and the one with "good" in it only has 16 branch level 2 objects but successfully loads and animates with channels.

Also tried running from VS2008 and on crash get message:

The thread 'Win32 Thread' (0x940) has exited with code 0 (0x0).
Unhandled exception at 0x00c1ec77 in antz.exe: 0xC0000005: Access violation reading location 0xf90c88b5.

it breaks to a statement in ' npgldraw.c'
function
void DrawPinChild (pNPnode node, void* dataRef):
line
if (parent->topo == kNPtopoCube)

not sure if at all related to the problem though...
however the parent node pointer is checked for being NULL (just prior)
so it would suggest it is pointing to something it's not supposed to.
1 Attachments
globepulses.zip
Discussion

Shane Saxon
Shane Saxon
2012-05-01
    status: open --> closed

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-05-01

There is a hard-coded limit to the maximum number of node-attribute mapping pairs.

Exceeding the previous limit caused a crash, this has now been fixed. In addition, the limit has been increased to 500,000 and if the limit is exceeded the additional attribute mapping pairs are now ignored.

Channel ANTzCh000x.csv file crashes with CRLF Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-03
Created: 2012-04-01
Creator: Shane Saxon
Private: No

If the line return uses a 'CRLF' (DOS style) then it crashes the app.

CSV file reading methods need to support all 3 line return standards:
'CRLF'(MSW), 'CR'(OSX) and 'LF'(Linux)

for example see npSeekToNextLine()
Discussion

Shane Saxon
Shane Saxon
2012-04-03
    status: open --> closed

tested working with CRLF and CR formatted files.

Last edit: Shane Saxon 2012-04-03 

Camera Mode drops out into Pin Mode if an object clicked Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-11
Created: 2012-04-11
Creator: Shane Saxon
Private: No

Camera Mode drops out into Pin Mode if an object clicked on.

This defeats the primary purpose of Camera Mode which is mainly to prevent accidentally modifying objects while trying to navigate.

Selection-related bug Move Edit

Status: open
Owner: Shane Saxon
Labels: None
Updated: 2012-04-17
Created: 2012-04-16
Creator: Jeff Sale
Private: No

With version 2012_04_13 I have observed on occasion (can't seem to duplicate it intentionally) when all objects are selected they do not scale, translate, or rotate with either the mouse or function keys. I have been having some fun when channels are playing by selecting all and R-click-drag or L-click-drag with the globe demo. Anyone who's spent any time with antz, even before the latest channels version, knows how fun it is to do this with alot of objects in the space. I have never observed this problem in any previous versions.

I am also observing the loss of the feature in which an object is immediately centered when selected. They may be related since they involve selection.

I have been trying to figure out what I'm doing to get into this state but have been unable to pinpoint anything yet. I will keep an eye on this one.
Discussion

Shane Saxon
Shane Saxon
2012-04-16

Appreciate the heads up.... keeping the active selection working correctly seems to be the most difficult aspect of the code. Let me know if you find any similar behavior with the current release. There have been some more changes made to the selection code. But, not likely to have fixed the problem you describe.
    assigned_to: Shane Saxon

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-16

3 possibilities:
- a) In 'Camera Mode' which locks out changing pin attributes.
- b) The currently active object is not part of the selection set, in which case only the 'unselected' active object (with red wireframe) will be changed.
- c) A Bug!

In case 'b)' and 'c)' any further details would be appreciated. If it is a bug then specific steps are definitely helpful... if not a bug and is instead 'user err' then perhaps the intended ANTz behavior needs to change to make things easier to understand.

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-17

Jeff,
by any chance did you delete any objects prior to this problem.

See: Ticket #44

mouse mode locked in

Status: closed
Owner: Shane Saxon
Labels:
Updated: 2012-04-04
Created: 2012-03-15
Creator: Shane Saxon

occasionally while picking objects with the mouse and navigating the mouse mode gets locked in to a specific object, or no object... cannot select new objects or change mode.

Workaround - Pressing multiple mode keys such as 'Tab', 'C' or 'G' often unlock the picking problem.


Shane Saxon
2012-03-24

bug is believed to be fixed, 'pending' status until further testing (by users) confirms problem is solved.


Shane Saxon
2012-04-01

Issue has been improved...

However, it is still possible to get locked into Camera Mode and can result in unusual behavior such as camera drift after releasing all buttons.

If anyone knows a repeatable set of steps to re-produce this bug then please post the steps...
would be very helpful :)

Node State File ANTz000x.csv header is improperly formatted Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-09
Created: 2012-04-08
Creator: Shane Saxon
Private: No

Node State File ANTz000x.csv header is improperly formatted.

The field names in the header do not match the columns.

The field column data is correct, just the header field names do not match the columns. Currently files can still be written and read back in without any known issues as the file reading process is relatively agnostic to the header contents. However, future versions may be pickier about the header row contents... So this could cause a problem in the future where these files may have trouble being read into the app.

Camera Mode locks in when supposed to be in Pin Mode Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-10
Created: 2012-04-10
Creator: Shane Saxon
Private: No

The antz_2012_04_09 version has an issue that causes it to 'Lock-In' Camera Mode without having selected the mode (normally should have to press 'C' key for Camera Mode.)

Problem occurs while in Pin Mode where certain mouse key combos result in not being returned to Pin Mode after manipulating the camera (which is allowed from within Pin Mode.)

Channels - ANTzChMap000x.csv breaks with quoted field names Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-08
Created: 2012-04-07
Creator: Shane Saxon
Private: No

If the ANTzChMap000x.csv has quoted text strings then it does not load properly...

Should handle both quoted and non-quoted text strings.

Non-quoted text strings are permitted by typical CSV conventions (there is no CSV standard.) This only applies when the text has no spaces, line returns, or other blank space and the text does not contain any comma's or certain other characters, etc....

In general we support reading CSV files with either non-quoted or quoted strings. OpenOffice and Excel will automatically quote any text, though it is not necessary with the field names we use.

'Info Tool' and 'Hide Tool' act strange when objects selected Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-06
Created: 2012-04-05
Creator: Shane Saxon
Private: No

There is a problem with turning ON or OFF the Hide/Info tools when multiple objects are selected. Several objects can have there text tag state toggled and you may or may not properly enter the desired mode (depending on even or odd number of selected items.)

workaround:

  • unselect ALL by pressing '~'(Tilda) key and then press ALT+H or ALT+I to change the desired tool mode.

Delete corrupts the node data map tree structure Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-18
Created: 2012-04-17
Creator: Shane Saxon
Private: No

A serious bug with the Delete command that results in the data tree being corrupted. Symptoms include not being able to select objects and odd camera behavior. Sometimes auto-switching to Camera Mode.
Discussion

Shane Saxon
Shane Saxon
2012-04-18

Turns out the recursive delete method npNodeRemove() was using the parameter node->childCount to count the for loop while calling itself and decrementing the same value.

Also fixed a bug where the data->map.nodeID[] array was not being set to NULL for deleted ID's.

part/all of Screen Freezes - appears locked up

Status: open
Owner: Shane Saxon
Labels: None
Updated: 2012-04-13
Created: 2012-03-19
Creator: Shane Saxon
Private: No

Parts or All of the screen stops updating, makes the program appear locked up.
This bug is related to the MS Windows version of freeglut...
Currently in process of resolving with freeglut community.

Workaround:

  • If in a window, moving the window or re-sizing will un-freeze the window.
  • If in FullScreen press 'ESC' twice to exit an re-enter fullscreen OR you can try holding the mouse button down (somewhere in the middle of the screen) and then bump the cursor against the edge of the screen.

Selecting root pin duplicates toroid Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-20
Created: 2012-04-19
Creator: Jeff Sale
Private: No

With version antz_msw_2012-04-19, when I create a new object (N) and select the root pin a new branch level 1 toroid is created, stacked above the initial toroid.
Discussion

Shane Saxon
Shane Saxon
2012-04-19

Hmmm... well the new default startup 'Tool' type has been changed to the 'Create' tool which automatically generates new objects upon L-click. The old behavior is 'Combo' tool. You can change tool types with the Mouse Wheel or by (R or L) clicking on the 'tool: ....' indicator in the upper left part of the screen.

Perhaps this is confusing.... but maybe only to our seasoned users... will consider changing default back to 'Combo'.

Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-19
    status: pending --> closed

Decided to change the startup default back to the 'Combo' tool.

Makes more sense for the common case where a dataset is loaded upon launch.

ANTzChMap000x.csv is left in an open state Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-07
Created: 2012-04-05
Creator: Shane Saxon
Private: No

ANTzChMap000x.csv is left in open state after reading.

after reading in the ChMap the file should be closed.

the channel track files (ANTzCh000x.csv) may be left in an open state for continuously reading large files in segments... this should be done with read only privileges so that an outside process can read from the same file.

Camera only translates with keys after R-button mouse Fly Mode Move Edit

Status: closed
Owner: Shane Saxon
Labels: None
Updated: 2012-04-20
Created: 2012-04-15
Creator: Shane Saxon
Private: No

You can only move the camera with the keys W,A,S,D and Q,E (up/down) after using the mouse camera 'Fly Mode'.

Should be able to translate the camera with the keyboard anytime it is selected.

Workaround: R-Click (or R-Drag) with mouse to enter 'Fly Mode' then the keyboard translate keys will work

Channels Map needs to add support for 'int' data types Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-09
Created: 2012-04-08
Creator: Shane Saxon
Private: No

Support needs to be added for 'int' data types... to ANTzChMap000x.csv

especially: tag_mode, colorIndex, hide, geometry, topology, topo, and facet.

Channels - color pointers not deleting from list Move Edit

Status: closed
Owner: Joh Johannsen
Labels: None
Updated: 2012-04-08
Created: 2012-04-07
Creator: Shane Saxon
Private: No

Steps:
'P' load channel file set
'N' create a new pin
'Enter' to select primary torus of pin
'>' assign channel 1 to torus
... works as expected...

Then:
'Delete' (press twice to delete torus and pin)
'N' to create a new pin...

err result: the torus of the new pin will change colors with the ch data, without having assigned it a channel...

Note that the new (2nd) torus does not oscillate up and down only the color is animated... this suggests that translate_x/y/z attribute pointers are deleted from the list but not color_r/g/b pointers...

Of course this behavior would only result if the newly created Tori are occupying the same memory space... which on my system appears to be the case...
Discussion

Joh Johannsen
Joh Johannsen
2012-04-07

Missed this easy fix will go through some things tomorrow AM

JJ

On Apr 7, 2012, at 3:49 PM, "Shane Saxon" [email protected] wrote:

    tickets:21 Channels - color pointers not deleting from list

    Status: open Created: Sat Apr 07, 2012 10:49 PM UTC by Shane Saxon Last Updated: Sat Apr 07, 2012 10:49 PM UTC Owner: Joh Johannsen

    Steps:
    'P' load channel file set
    'N' create a new pin
    'Enter' to select primary torus of pin
    '>' assign channel 1 to torus
    ... works as expected...

    Then:
    'Delete' (press twice to delete torus and pin)
    'N' to create a new pin...

    err result: the torus of the new pin will change colors with the ch data, without having assigned it a channel...

    Note that the new (2nd) torus does not oscillate up and down only the color is animated... this suggests that translate_x/y/z attribute pointers are deleted from the list but not color_r/g/b pointers...

    Of course this behavior would only result if the newly created Tori are occupying the same memory space... which on my system appears to be the case...

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openantz/tickets/21/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/prefs/


Reply
Link
Edit
Delete

Spam

Attach

Shane Saxon
Shane Saxon
2012-04-08
    status: open --> closed

Latest version won't deselect all Move Edit

Status: closed
Owner: Shane Saxon
Labels: select all (1)
Updated: 2012-04-20
Created: 2012-04-19
Creator: Jeff Sale
Private: No

With version antz_msw_2012-04-19, when I select all with the 4 key, I can't deselect all with 4 again. This happens with any number of objects, even just one. If I launch antz, hit N, then 4, the only way to deselect the selected object is to create a new object and select it. I am observing another bug when I select a root pin: a new toroid is created, stacked above the initial toroid. I will add this as a separate ticket.
Discussion

Shane Saxon
Shane Saxon
2012-04-19

Yep, Will fix. Apparently de-Select All with the 4 key only works in 'Combo Tool' mode. Previously this was the only mode...

Workaround: Instead you can Press '~' (Tilda) key to de-Select All... that still works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.